Craig Oates
6 years ago
1 changed files with 9 additions and 1 deletions
@ -1,4 +1,12 @@
|
||||
module internal MapProcessing |
||||
|
||||
// You are up to here craig |
||||
// starting to build a markov map using the functions in text and file procssing... |
||||
// starting to build a markov map using the functions in text and file procssing... |
||||
|
||||
(* |
||||
Notes for possible way forward |
||||
let random = defaultArg random (Random().Next) |
||||
let isStartOfSentence = defaultArg isStartOfSentence (Regex(@"^[A-Z]").IsMatch) |
||||
let isEndOfSentence = defaultArg isEndOfSentence (Regex(@"\.").IsMatch) |
||||
let startWords, otherWords = map |> Map.partition (fun k _ -> isStartOfSentence k) |
||||
*) |
Loading…
Reference in new issue