Skip to content

Wrong result for spell #5

@PanderMusubi

Description

@PanderMusubi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions