Hello, 2009/3/24 ge <eleonor...@gmx.net>: > Hallo László, > > Thanks for the detailed explanations. I suggest to put these 4 emails to the > faq of hunspell tools, since other users also might need these explanations. > Also proper instructions how to build a 'gen' dictionary would be useful.
I thank you for the proposal. The "gen" dictionaries of the Magyar Ispell distribution are generated by a simple "make". For the English morphological dictionary generation I have attached a script here: http://www.openoffice.org/issues/show_bug.cgi?id=19563 A very short introduction of the stemming and morphological dictionary development for OOo 3.1: Most of the stemming issues will work with the recent Hunspell dictionaries. For irregular dictionary items, you can use the "st:" field to specify the stem (use tabulator instead of space for back compatibility): ----- dic file ------ best st:good For morphological generation, you have to add the morphological categories of the affixes and dictionary items by "ds:", "is:", "ts:" (derivative suffix, inflectional suffix, terminal suffix) fields, or allomorphs by the "al:" items, like in the attached patches. An example for the "al" items: 3 best st:good is:comp2 better st:good is:comp1 good al:better al:best ts:0 Note about "ts:0": morphological generation needs explicit suffix fields on the dictionary items. See also the manual and test dictionaries of the Hunspell distribution. Regards, László > > Thanks, eleonora > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@lingucomponent.openoffice.org > For additional commands, e-mail: dev-h...@lingucomponent.openoffice.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lingucomponent.openoffice.org For additional commands, e-mail: dev-h...@lingucomponent.openoffice.org