Yes, me I rather do that instead of (<vblex>|<vbmod>|<vbser>|<vbhaver>)
and I also use fgrep and egrep instead of grep -F and grep -E as it was/(is ?) in UNIX. > Date: Sun, 26 Apr 2020 10:40:39 -0700 > From: Samuel Sloniker <scoopgra...@gmail.com> > To: apertium-stuff@lists.sourceforge.net > Reply-To: apertium-stuff@lists.sourceforge.net > Subject: Re: [Apertium-stuff] List of verbs > Pièce(s) jointes(s) probable(s)> > > Shouldn't <vb(lex|mod|ser|haver)> also work? > > On Fri, Apr 24, 2020 at 7:25 AM Daniel Swanson <awesomeevildu...@gmail.com> > wrote: > > > Also, to explain the patterns > > > > [^<:>]+ is "match any string of characters that doesn't contain a tag or a > > colon" > > > > So the grep is "anything without tags or colons (i.e. a surface form) then > > a colon then another string (a lemma) then a <n> tag" > > > > The sed matches roughly the same thing except it has () around the lemma > > so it can refer to it later and .* to match whatever tags there may be. \1 > > then replaces the line with the contents of the first (), i.e. the lemma. > > -------------------------------- Bernard Chardonneau (France) Phone : [33] 9 72 36 32 90 GSM phone : [33] 7 69 46 16 31 An alternative Apertium translation website : http://apertiumtrad.tuxfamily.org Multilingual websites for my free softwares : http://libremail.free.fr and http://libremail.tuxfamily.org http://cyloop.tuxfamily.org (mainly translated with Apertium) My general website (in french only) http://bech.free.fr _______________________________________________ Apertium-stuff mailing list Apertium-stuff@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/apertium-stuff