Craig Oates
6 years ago
2 changed files with 11 additions and 2 deletions
@ -1,7 +1,12 @@
|
||||
module internal DataProcessing |
||||
|
||||
open System.Text.RegularExpressions |
||||
open DataCleaning |
||||
|
||||
let MatchText pattern text = Regex.IsMatch(text, pattern) |
||||
|
||||
let JoinWords words = String.concat " " words |
||||
let ConcatToString words = String.concat " " words |
||||
|
||||
let SortIntoWordPairs pairSize text = |
||||
SplitText @"\s+" text // Splits text where there is a space. |
||||
|> Seq.windowed pairSize |
Loading…
Reference in new issue