Hi.
I've installed pyenchant on Mac OS X with pip3. It works with the default dictionaries that came along with it.
I have placed new hunspell dictionaries, per instructions, in my site-packages:
/Backend/local/lib/python3.3/site-packages/enchant/share/enchant/myspell/
These dictionaries, however, are not recognized.
enchant.list_dicts()
still gives me only:
[('en', <Enchant: Aspell Provider>), ('en_CA', <Enchant: Aspell Provider>), ('en_GB', <Enchant: Aspell Provider>), ('en_US', <Enchant: Aspell Provider>)]
I have tried to use:
enchant.set_param("enchant.myspell.dictionary.path","/Backend/local/lib/python3.3/site-packages/enchant/share/enchant/myspell/") but to no avail.
I have also tried to do:
b = enchant.Broker()
b.set_ordering("*","myspell,aspell")
to make sure that myspell (i.e. my hunspell dicts) are loaded before aspell but that didn't do the trick.
I am probably missing something totally obvious -- so any tips would be greatly appreciated.
All best,
Toma