Hi,

Default mode of Hunspell can use double suffixes and only a single prefix.
Using COMPLEXPREFIXES reverses this mode (single suffix, double prefixes):

NEEDAFFIX Y

COMPLEXPREFIXES

PFX A Y 1
PFX A 0 aka .

PFX B Y 1
PFX B 0 sa/YA .

$ cat double.word | hunspell -d double
Hunspell 1.2.8
*

+ lele

+ lele

Regards,
László


2008/12/18 F Wolff <friedel@translate.org.za>
Hallo

I'm playing with the NEEDAFFIX flag, and I'm hitting a problem. I'll be
very happy if you can help me (please say if there is a mailing list
where you prefer that I write).

The exapmles for NEEDAFFIX operating on affixes all use suffixes. I
can't get it to work with prefixes. This is my minimal test case:

double.aff:

NEEDAFFIX Y

PFX A Y 1
PFX A 0 aka .

PFX B Y 1
PFX B 0 sa/YA .


double.dic:

1
lele/AB


I'm expecting these words to pass:
lele
akalele
akasalele

but wordforms only gives akalele and akasalele is not recognised. Any
idea what I'm doing wrong?

Thank you
Friedel


--
Recently on my blog:
http://translate.org.za/blogs/friedel/en/content/re-bringing-all-translation-management-tools-together