Skip to content

Does not suggest accents and don't use REP statement (in french) #58

Description

@jguillon

Hi,

When I ask suggestions of a word that is missing an accent, I don't obtain the right word:

dico.suggest('completement')
// ["comportement"] // instead of "complètement"
dico.suggest('buche')
// ["bruche", "bouche", "muche", "huche", "boche"] // instead of "bûche" 

Also, even though those statement are present in my fr_FR.aff file, they are not used by the suggestion engine:

REP faisez$ faites
REP puit puits

when tried, those words output this:

dico.suggest('faisez')
// ["faisiez", "fraisez", "taisez", "frisez", "baisez"]
dico.suggest('puit')
// ["punit", "puait", "put", "putt", "duit"]

Did I miss a configuration step? Are my .aff + .dic files wrong?

Thank you for your help.

Best,
GJ.

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