When Hunspell returns - or nothing, the result for spell() is False but shoudl be True.
>>> from hunspell2 import HunSpell
... hun = HunSpell('/usr/share/hunspell/nl.dic')
... print(hun.spell('achtentwintig'))
... print(hun.suggest('achtentwintig'))
...
False
[]
$ echo achtentwintig |hunspell -d nl
Hunspell 1.7.2
-
$ echo 0000-0045 |hunspell -d es_ES
Hunspell 1.7.2
This is related to #1
When Hunspell returns
-or nothing, the result forspell()isFalsebut shoudl beTrue.This is related to #1