Goran Rakic schreef:
Hi László, all,

Is it possible to delete any character (or any list of characters,
possibly given by regexp) in the Hunspell SFX rule? For example:

SFX A   Y       2
SFX A   1       e       .       is:Ns is:Cg
SFX A   1       i       .       is:Ns is:Cd
Change this into

SFX A   Y       2
SFX A   a       e       .       is:Ns is:Cg
SFX A   i       i       .       is:Ns is:Cd

And the char will be dropped.
paprika -> paprike is:Ns is:Cg

Or do I have to rewrite this into one SFX entry for every possible
ending character?


On the same topic, is it possible to copy a character? In the rule above
this could give an option to remove any character and than add it back
to the output followed by some suffix.


Is it also possible to rewrite morphology tag? For example having po:N
in the dictionary entry and po:A in the affix rule? Currently the second
tag gets appended to the end.


Thanks,
Goran Rakic



---------------------------------------------------------------------
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

Reply via email to