Default mode of Hunspell can use double suffixes and only a single prefix.
Using COMPLEXPREFIXES reverses this mode (single suffix, double prefixes):
PFX A Y 1
PFX A 0 aka .
PFX B Y 1
PFX B 0 sa/YA .
$ cat double.word | hunspell -d double
2008/12/18 F Wolff <friedel@...>
> 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:
> NEEDAFFIX Y
> PFX A Y 1
> PFX A 0 aka .
> PFX B Y 1
> PFX B 0 sa/YA .
> I'm expecting these words to pass:
> but wordforms only gives akalele and akasalele is not recognised. Any
> idea what I'm doing wrong?
> Thank you
> Recently on my blog:
Get latest updates about Open Source Projects, Conferences and News.