#147 Unmunch with flag num not working

open
nobody
None
5
2010-05-27
2010-05-27
Laknath
No

Unmunch with flag num isn't working for long numbers separated with commas.

Ex: 1242,1231,4232,4343

Trying this outputs almost all affix combinations with a given dictionary word.

Problem seems to be in expand_rootword() and that following code checks only one character. So the programme successfully matches even character 4 with the flag 4232 because it contains 4.

if (strchr(ap,(stable[i].aep)->achar)){
suf_add(ts, wl, stable[i].aep, stable[i].num);
}

I'm attaching the dic and aff pair I tried.

Discussion

  • Laknath
    Laknath
    2010-05-27

    Sinhala language dic and aff files

     
    Attachments