Craig Oates
44e9077298
update NuGet pacakges and package info.
4 years ago
Craig Oates
773c973038
Refactor RequestAllTemplateFiles and quick-guide.pdf.
6 years ago
Craig Oates
ce8325dd83
Update project to F# 4.5.
...
Replace "generate" with "make" in ConsoleCommands.
6 years ago
Craig Oates
a303b28fe9
Added XML comments to TextInFileIsValid function.
6 years ago
Craig Oates
b2db59f970
Added TextIsValid logic to RequestTextFromFile function.
6 years ago
Craig Oates
cde386068d
Moved TextContainsValidEndToken to DataProcessing.
...
End of session check-in.
6 years ago
Craig Oates
9db59aadbf
Added TextContainsValidEndToken function.
...
Addes code to script.fsx to play with these bits.
6 years ago
Craig Oates
066efa67f6
Updated the XML comments for CleanResultAsync.
6 years ago
Craig Oates
9991fb9b1b
Edited some comments.
6 years ago
Craig Oates
c9327cbef0
Added try-with block to CleanResult in ProducServices.
...
Updated the script files for live testing the new code.
Minor editing in comments.
6 years ago
Craig Oates
a6b8b46e24
Added XML comments to the rest of the functions in ProductServices.fs
6 years ago
Craig Oates
848373ded2
Stubbed out XML comments for "clean" functions.
6 years ago
Craig Oates
64a62f8e28
End of session check-in.
6 years ago
Craig Oates
e36dc5bc8e
Added the "clean" functions to the script and wrote comments, highlighting the differences.
6 years ago
Craig Oates
22f32c0859
End of session check-in.
6 years ago
Craig Oates
079f717bed
Wrote CleanResult ends with end-token property test.
...
Odd bit of code cleaning (comments, unneeded brackets Etc.)
6 years ago
Craig Oates
719dd6b5fd
Wrote CleanResult ends with "correct end-token" unit test.
...
Renamed CleanResult to include "async" naming convention.
Refactored the "cleaning" functions. The text now trims the end of the setences instead of using the "length - 1" trick we all know and love.
Updated the DefaultTestSentences collection in TestCentre.
6 years ago
Craig Oates
a2ad9b28e2
Fixed OBOB in found in "cleaning" unit tests.
6 years ago
Craig Oates
c0ea51171e
Left end of seesion notes.
6 years ago
Craig Oates
b4088ae45f
Wrote extended comment for ReplaceArtifactSentences function.
6 years ago
Craig Oates
bd1269f7a6
Added end of session comments.
6 years ago
Craig Oates
32a8647e11
Added RequestCleanTextFromFile functionality.
...
Added command-method for the above function, also.
6 years ago
Craig Oates
0bb49dd713
GenerateCleanText command-method completed (minus the help attributes).
6 years ago
Craig Oates
b11a29729e
Refactored DataServices file.
...
Began adding the public function for RemoveArtifactSentences.
6 years ago
Craig Oates
9286e40e12
Added code in the script file for testing the RemoveArtifactSentences function.
...
Refactored the above function.
6 years ago
Craig Oates
3a51ee9dc3
Created RemoveArtifactSentences function.
6 years ago
Craig Oates
81396e6b89
Fixed typo.
6 years ago
Craig Oates
6b9a4672cf
Added extra exception to ProductServices.
...
Wrote a comment explainingwhat the "full stop" bug and why it happens. Let a note to create a "clean-up" function to aid the "full stop" bug.
6 years ago
Craig Oates
45901cc71f
Refactored exception checks in DataProcessing module.
...
Updated code in script (based on refactoring).
6 years ago
Craig Oates
571fc692ed
Edited the XML comments.
6 years ago
Craig Oates
4c006e9b6c
Added xml commets to pancake module.
...
Changed exception handling in file validation checks.
6 years ago
Craig Oates
59d1dbc319
Refactored tests.
...
Fixed the end of sentence bug.
Cleaned up some of the .txt files.
6 years ago
Craig Oates
b2377b1241
Added file path exception checks to script.
...
Fixed file path exception bugs.
6 years ago
Craig Oates
0389419b40
Added sentence exception test in script.
6 years ago
Craig Oates
a529e1e5c5
Added exception test to script file.
6 years ago
Craig Oates
a85deda44e
Got working exception tests for RequestText funtion.
...
Still rough and needs to be finished but it is now working. ("lazy" is a big help here.)
6 years ago
Craig Oates
de267a9432
Added new validation checks to RequestTextFromFile.
...
Updated the FilePathIsValid to operate in the same way as the gibberishLevelIsValid and SentenceIsVallid structure.
Removed any remaining rough test code associated with the last several commits.
6 years ago
Craig Oates
adec55d08e
Moved the refactored rough test code into RequestText.
...
Moved the rough test validation code to DataProcessing.
6 years ago
Craig Oates
9a1496b0c5
Began removing the if statements to pattern matching in lib.
...
Wrote a quick test command-method without a try-catch block to see how it would react. Pondering the removal of all the try-catch blocks in the console program.
6 years ago
Craig Oates
6695574cd7
End of session notes.
6 years ago
Craig Oates
dbb720d4c0
Added validation checks to RequestTextFromFile.
...
The validation checks in the console program still remain. Also, added a function to validate the file path the when the client passes it into the lib.
6 years ago
Craig Oates
3e8e830d6f
Added validation checks to RequestText (in lib.).
...
The checks in the console program still remain.
6 years ago
Craig Oates
89925ec95f
Added tests for RequestAllTemplateFiles.
...
Updated the script file and ConsoleCommands-- removed unused code.
6 years ago
Craig Oates
4d9bc9c984
Removed the RequestTextFromTemplate function.
...
Having thought about it, the client should just use the RequestTextFromFile function. They already have the full file path for the template with the RequestAllTemplateFiles function.
6 years ago
Craig Oates
5abff11494
End of session comment.
6 years ago
Craig Oates
d7bf9db792
Added GenerateTextFromTemplate command-method.
6 years ago
Craig Oates
6f509c28b6
Refactored the RequestAllTextFiles function.
6 years ago
Craig Oates
9f82b6c6f6
Added abilty to generate text by specifying a particular template file.
...
Script file udated to test out by hand.
6 years ago
Craig Oates
64f0ee1de1
Added RequestAllTestFiles function.
...
Tested in just the script file at the moment,
6 years ago
Craig Oates
3d1c324068
Updated the property tests to generate new input on each new check.
...
Some would call that a bug fix...
Added new tests which check the content of the results.
6 years ago