#23 homonym bug with NEEDAFFIX flag and suggestions

closed
None
5
2007-06-21
2007-04-07
Bjoern Jacke
No

It seems like there is another small homonym bug in 1.1.5: when in the dicrionary there are two equal root words, the first one with a PSEUDOROOT flag and the second one with other flags (but without PSEUDOROOT) then the root word is never suggested but it is accepted. For example:

TRY esianrtolcdugmphbyfvkwESIANRTOLCDUGMPHBYFVKW
NEEDAFFIX h
SFX S Y 1
SFX S 0 s .

SFX e Y 1
SFX 0 e .

2
Mull/he
Mull/S

results in:

> echo Mull Mulle Mulls Mall Malle Malls | hunspell -d testdict
Hunspell 1.1.5
*
+ Mull
+ Mull
# Mall 17
& Malle 1 22: Mulle
& Malls 1 28: Mulls

btw: when the pseudoroot dictionary entry comes at the end in the dictionary also the root word is being suggested.

Discussion

    • assigned_to: nobody --> nemethl
     
  • Logged In: YES
    user_id=726595
    Originator: NO

    Thanks! It seems, I will fix it in the near future. I'm glad to hear you works on German dictionary. :)

    Laci

     
    • status: open --> closed
     
  • Logged In: YES
    user_id=726595
    Originator: NO

    Fixed in Hunspell 1.2. Thanks once again, Laci