|
|
|
@ -157,7 +157,7 @@ printfn "Text: %A" dss_sentences
|
|
|
|
|
let dss_sentences2 = "This is a sentence. And, so is this. This shouldn't be here! How about this? No!" |
|
|
|
|
let dss_clean = |
|
|
|
|
dss_sentences2 |
|
|
|
|
|> RemoveArtifactSentences 2 // Change the no. of sentences to test. |
|
|
|
|
|> RemoveArtefactSentences 6 // Change the no. of sentences to test. |
|
|
|
|
printfn "CLEANED TEXT: %s" dss_clean |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -193,9 +193,10 @@ ps_result6 |> Async.RunSynchronously
|
|
|
|
|
(* This function is made public so users can clean the text manually. |
|
|
|
|
For the most part, this function should not be called.*) |
|
|
|
|
let ps_cleanText = |
|
|
|
|
ps_result6 // Change this value for one of the above (ps_result1-6) |
|
|
|
|
|> Async.RunSynchronously |
|
|
|
|
|> Pancake.CleanResultAsync 5 // This value must not go above the one declared above (ps_resultX) |
|
|
|
|
// ps_result6 // Change this value for one of the above (ps_result1-6) |
|
|
|
|
//|> Async.RunSynchronously |
|
|
|
|
"This is a sentence. And, so is this. This shouldn't be here! How about this? No!" |
|
|
|
|
|> Pancake.CleanResultAsync 6 // This value must not go above the one declared above (ps_resultX) |
|
|
|
|
|> Async.RunSynchronously |
|
|
|
|
printfn "CLEANED TEXT RESULT: %s" ps_cleanText |
|
|
|
|
|
|
|
|
|