Python Spell Correct -


i trying write python script spell correction languages - english[gb], german, spanish, italian, french.

as first step, installed pyenchant in machine[64bit, python 2.7] , when tried import enchant package, got following error message.

*importerror: 'enchant' c library not found. please install via os package manager, or use pre-built binary wheel pypi.* 

when googled error message, got know 64-bit version of enchant package not available yet.

can me using enchant package or other package/technique spell correction above mentioned five languages.

pyenchant can spelling check in 5 languages under python 32 bit - if have use 64 bit python need build enchant , pyenchant 64 bit , resolve issues yourself.

note 32 bit python works fine, usages, on 64 bit machines , in general more libraries supported.

for installing on python 2.7 (32 bit) should need is:

pip install -u pyenchant 

if having problems after next step uninstall , reinstall:

pip uninstall pyenchant pip install -u pyenchant 

but can use cheese shop downloads, if having problems recommend, simplicity, using windows installer link version 1.6.6 windows installer.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -