haikufinder
haikufinder copied to clipboard
Python module to locate haikus in unstructured English text
Closes out https://github.com/jdf/haikufinder/issues/4 -- Documentation doesn't say how to actually get NLTK working, or how to actually install this. Fixes a typo in the readme, also suggests the github repo...
It's missing the nltk data we need: pip install nltk python import nltk nltk.download('punkt') exit()
A mix of tabs and spaces throws off Python 3.5. Started around line 76.
See here: http://github.com/jdf/haikufinder/blob/master/haikufinder/__init__.py#L146 Shouldn't the script check if the word is in custom dictionary before splitting, and maybe do the same with numbers such as 100?