phunspell:纯Python拼写检查器,将spylls包装在Hunspell的端口上

时间:2021-03-05 06:09:12
【文件属性】:
文件名称:phunspell:纯Python拼写检查器,将spylls包装在Hunspell的端口上
文件大小:44.17MB
文件格式:ZIP
更新时间:2021-03-05 06:09:12
Python 潘斯Perl 一个使用的纯Python拼写检查器会在的端口上运行。 注意:如果仅支持语言:英语,俄语或瑞典语,则直接使用 :( pip install spylls ) 该库包含支持的所有语言的。 是在到期时注明信用的便笺,是一个了不起的项目,应得到所有的荣誉。 有一个条目,很好阅读。 (当然还有本身) 用法 import phunspell pspell = phunspell.Phunspell('en_US') print(pspell.lookup("phunspell")) # False print(pspell.lookup("about")) # True mispelled = pspell.lookup_list("Bill's TV is borken".split(" ")) print(mispelled) # ["borken"] for suggesti

网友评论