Alternatively, can CG be restricted to match the last tags in the noun
and adjective? "<cl12>" in this case...?

On Thu, May 4, 2023 at 7:11 AM Zanga Chimombo <z.chimo...@gmail.com> 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?
> ^timitengo/mtengo<n><cl3><pl><cl12>$ ^tatiwisi/wisi<adj><pl><cl12>$
>
> All I need in the example above is for the extra tag "<cl3>" to be
> removed at CG stage. It could be as simple as a rule to "remove first
> class-tag from a noun that has two class-tags", however, I am only
> seeing examples in *.rlx files where the whole "word" is removed, not
> specific tags within the "word"... Any pointers please?
>
> On Tue, Feb 28, 2023 at 5:19 PM Zanga Chimombo <z.chimo...@gmail.com> wrote:
> >
> > Thanks for the tip. Let me get my head around it.
> >
> > On Tue, Feb 28, 2023 at 5:03 PM Kevin Brubeck Unhammer
> > <unham...@fsfe.org> wrote:
> > >
> > > Hi,
> > >
> > > Cf. http://tinodidriksen.com/pisg/OFTC/logs/%23hfst/2023-02-28.log
> > > perhaps you can make an xfst rule to do the equivalent of
> > >
> > >     sed 's/<cl12>\(.*\)<cl3>/\1<cl12>/'
> > >
> > > ?
> > >
> > >
> > > _______________________________________________
> > > 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

Reply via email to