Supporting multiple affixes for Agglutinative Languages in OpenOffice's Hunspell

Edmond Kachale <[email protected]>
Newsgroups gmane.comp.openoffice.devel.localization
Message-ID <AANLkTimkOP4ui+TR1gQ2cOHLj89GT7+tGPd6LNkKpq31__6989.55982593379$1283759839$gmane$org@mail.gmail.com>
One of the languages I am working on is agglutinative in nature. The most
afflicted sentence constituent is verb, which can carry up to 20 affixes
(both prefixes and suffixes).

I wonder if anyone knows how to enable this feature in OpenOffice's
hunspell. I would like to support multiple affixes as follows:
PFX + PFX + PFX + PFX + VERB + SFX + SFX + SFX + SFX + SFX
e.g. ndi + kana + dza + ku + lemb + ets + er + a + ni + tu
=> ndikanadzakulembetseranitu (=I would have registered for you)

I have tried using COMPLEXPREFIXES flag and continuation classes (as in PFX
G 0 dza/ABCE .) but this makes it understand only two-fold affixes.

I might be missing something, but I would like to support n-fold for an
abrtriary 0 <= n <= 20.

I'm using this reference:

   - http://manpages.ubuntu.com/manpages/dapper/man4/hunspell.4.html
   - http://pwet.fr/man/linux/fichiers_speciaux/hunspell

---
Edmond
Software Developer | Baobab Health Trust (http://www.baobabhealth.org/) |
Malawi

Cell:  +265 999 465 137 | +265 881 234 717

*"Many people doubt open source software and probably don’t realize that
there is an alternative… which is just as good.." -- Kevin Scannell*
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.