Skip to content

The enchant package no longer supports French #1

Description

@DerXter

Line 19 of utils/helper.py calls the enchant.Dict('fr') instruction. However, after installing the enchant-2 library via apt-get under Ubuntu, on which pip's pyenchant depends, the latter returns False when executing the enchant.dict_exists("fr") instruction and does not list French (tag "fr") when executing the enchant.list_languages() instruction.

Consequently, testing the corrector via the python command autocorrector.py path/to/file returns an enchant.errors.DictNotFoundError: Dictionary for language 'fr' could not be found error.

Note: It would also be helpful to specify the structure of the file to be tested. Is it one sentence per line, one word per line!? etc.

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