This is essentially how spellrelax works in modern language modules. To see how it's implemented, you can have a look at the spellrelax file and Makefile.am for recent language modules, e.g.: https://github.com/apertium/apertium-yua
-- Jonathan On Fri, May 19, 2023, 08:55 Zanga Chimombo <z.chimo...@gmail.com> wrote: > Thanks for this. I am not sure where to put (which file) the XFST > rule(s) and the syntax. Are there any examples online that you could > point me to please? > > On Sun, May 14, 2023 at 9:00 PM Kevin Brubeck Unhammer > <unham...@fsfe.org> wrote: > > > > > > > I am looking at this again. Removing the extra tag at the transfer > > > stage seems to be too late down the pipeline (I need the adjective to > > > match the noun which is done by CG). Actually, surely removing the > > > extra tag could be done at the same CG stage? > > > > If you use an xfst rule, that happens on the analyser FST, ie. before CG > > and long before transfer. > > > > > > > > _______________________________________________ > > Apertium-stuff mailing list > > Apertium-stuff@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/apertium-stuff > > > _______________________________________________ > Apertium-stuff mailing list > Apertium-stuff@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/apertium-stuff >
_______________________________________________ Apertium-stuff mailing list Apertium-stuff@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/apertium-stuff