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
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
848373ded2
Stubbed out XML comments for "clean" functions.
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
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
59d1dbc319
Refactored tests.
...
Fixed the end of sentence bug.
Cleaned up some of the .txt files.
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
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
Craig Oates
b939af66e2
Cleaned up WetPancake library code.
...
Test Centre was not touched in this pass.
6 years ago
Craig Oates
baa1fa2cb3
Refactored text generation.
...
All tests are pssing and produces better results at runtime.
6 years ago
Craig Oates
aeed1fd1f4
Added check to catch the seq. length exception.
...
All tests are passed before completing this commit.
6 years ago
Craig Oates
1a9b2020bb
End of session check-in. Heading into studio to continue work on main machine.
6 years ago
Craig Oates
b970cc5cfe
Left a comment explaining where I am up to and potential lead to fix bug.
6 years ago
Craig Oates
ac8f127bb5
Began working on random failure bug.
6 years ago
Craig Oates
d03a7dc7c1
Added extra checks and safe guards for the Generate Random Text function.
6 years ago
Craig Oates
8009bd98c7
Removed unused open statements.
6 years ago
Craig Oates
10f602caef
End of session check-in.
...
Fixed the stick random file bug.
In the middle of the random item = 0 bug.
6 years ago
Craig Oates
717fa0c8d8
Updated the comment explaining the need for the thread-sleep line.
6 years ago
Craig Oates
4df614daf8
Found "A" solution to the repetitive sentences.
...
The program sorta runs too quick for random number to generate a different value. (The computer doesn't change "state" quickly enough so "same inputs" are use practically.)
I don't know if this is the best way to go about it but it works...
Also, the code is a mess as always.
6 years ago
Craig Oates
c7c265072c
Working working.
...
Can start the console program and request random text.
6 years ago
Craig Oates
1eed4dae7b
Generate markov text setup.
...
Just need to genereate the actual text now. Haha.
6 years ago
Craig Oates
9dffb44fd5
End of day check in.
...
Genereating a markov sentence.
6 years ago
Craig Oates
7790485fe6
Renamed function: sort into groups. Meaning clearer.
6 years ago
Craig Oates
1b82abd5fc
Added a fold function to the map generation process.
...
This reduces the nested maps, lists and whetever else I was working with up to this point.
6 years ago
Craig Oates
353057f1c9
Began adding the markov functionality.
6 years ago
Craig Oates
0d0ef37da2
Wrote test scripts which generates data upto data structuring section.
...
This is a "clean" version with the intention of moving over to the main fs files.
6 years ago
Craig Oates
0d97eb1b7d
Gutted code from project.
...
Structure in place and ready to start again.
6 years ago
Craig Oates
2de940e60a
Added data services
6 years ago