compound-word-splitter的Python项目详细描述
将pyenchant(拼写检查器)无法识别的单词拆分成最大可能的复合词。
安装
pip install compound-word-splitter
用法
importsplittersplitter.split('artfactory')
返回
['art','factory']
如果无法将单词拆分为pyenchant识别为单词的复合词,拆分器将返回空字符串。
欢迎加入QQ群-->: 979659372
推荐PyPI第三方库