PythonProjects/thesaurinator at master · devmanro/PythonProjects · GitHub
Skip to content

Latest commit

 

History

History
 
 

Folders and files

A simple code that reads a sentence and replaces all words with a random synonym.

Requires NLTK and Wordnet (part of NLTK) and Python3.

To run:

IN: echo "the dog ran quickly to the small lake" | python3 thesaurinator.py

OUT: 'the Canis_familiaris carry cursorily to the diminished lake\n'