- Utilized trainer found here https://github.com/rrenaud/Gibberish-Detector/blob/master/gib_detect_train.py
- Didn't think I needed to reinvent the wheel with this one.
- Created the main server file which runs the applications:
- The routes file creates a set for common words based on a dictionary. This was more of a fail safe for any really uncommon words.
- Made slight modifications to the trainer, double vowels were being marked as incorrect, I also increased the threshold of the words.
- Unit tests that actually test the words that they are training against, and the words that should be considered bad.
- There's a slight margin of error, so I've recorded the margin of error, instead of raising the threshold for actual words.
Moving trainer files