Menu

#266 Hunspell analyse output fails also in some other cases with compounds

v1.0 (example)
open
nobody
None
5
2015-04-26
2015-04-26
No

Consider the following situation:

Affix file:

SET ISO8859-1

SFX S Y 1
SFX S 0 s .

COMPOUNDBEGIN x
COMPOUNDEND z
COMPOUNDPERMITFLAG c

ONLYINCOMPOUND o

SFX j Y 1
SFX j 0 0/xoc .

And the following dictionary:

2
Arbeits/j tt:test1
fundament/Soz tt:test2

The Hunspell 1.3.3 analyze gives just an empty analyze - like for non-recognized words.

It should instead give a correct analyze.

Discussion

  • Lukas Sommer

    Lukas Sommer - 2015-04-26

    The above bug report was about checking the word “Arbeitsfundaments” (genitiv of Arbeitsfundament).

     
  • Lukas Sommer

    Lukas Sommer - 2015-04-26

    Hunspell correctly recognizes “Arbeitsfundaments” as correct word when operating in spell checking mode. So this bug does not affec the spell checking mode, but only the analyzing mode.

     
  • Lukas Sommer

    Lukas Sommer - 2015-04-26

    If you remove the line

    ONLYINCOMPOUND o

    from the affix file, then Hunspell analyzes correctly:

    analyze(Arbeitsfundaments) = pa:Arbeits st:Arbeits tt:test1 fl:j pa:fundaments st:fundament tt:test2 fl:S