compound-word-splitter
Splits words that are not recognized by pyenchant (spell checker) into largest possible compounds.
Installation
pip install compound-word-splitter
Usage
import splitter
splitter.split('artfactory')
returns
['art', 'factory']
If the word cannot be split into compounds pyenchant recognizes as words, the splitter returns an empty string.