thank you !

2014/1/26 Bernard Chardonneau <[email protected]>

> > Date: Sun, 26 Jan 2014 21:53:28 +0100
> > From: "E. D." <[email protected]>
> > To: [email protected], [email protected]
> > Reply-To: [email protected]
> > Subject: Re: [Apertium-stuff] checking transfer rules
> >
> > Thanks ! I could go through the whole translation process by looking at
> the
> > *mode files.
> >
> > Best,
> > Estelle
> >
> >
> Me, I wrote a shell testing different files and executing commands.
> It may have to be exrended to work on every pair, but as it is it
> works with every pair interesting me including fr-es pair
>
> Here are the most important lines. The completete shell includes
> a cd command to go where binaries files are and test of a keyword
> to stop the translation at a particular step.
>
>
> if test -s $paire.automorf.bin
> then
>     echo "ana"
>     lt-proc $paire.automorf.bin | tee $tmp1
> fi
>
> if test -s $paire.prob
> then
>     echo "prob"
>     apertium-tagger -g $paire.prob < $tmp1 | tee $tmp2
>     mv $tmp2 $tmp1
> fi
>
> echo "pretransf"
> apertium-pretransfer < $tmp1 | tee $tmp2
> mv $tmp2 $tmp1
>
> if test -s $paire.t0x.bin
> then
>     echo "t0x"
>     apertium-transfer -b `basename $PWD`.$paire.t0x $paire.t0x.bin < $tmp1
> | tee $tmp2
>     mv $tmp2 $tmp1
> fi
>
> if test -s $paire.t1x.bin
> then
>     echo "t1x"
>     apertium-transfer `basename $PWD`.$paire.t1x $paire.t1x.bin
> $paire.autobil.bin < $tmp1 | tee $tmp2
>     mv $tmp2 $tmp1
> fi
>
> nantaux=1
> ftest=$paire.antaux${nantaux}_t2x
>
> while test -s $ftest.bin
> do
>     echo "antaux2"
>     apertium-interchunk `basename $PWD`.$ftest ${ftest}.bin < $tmp1 | tee
> $tmp2
>     mv $tmp2 $tmp1
>     nantaux=`expr $nantaux + 1`
>     ftest=$paire.antaux${nantaux}_t2x
> done
>
> if test -s $paire.t2x.bin
> then
>     echo "t2x"
>     apertium-interchunk `basename $PWD`.$paire.t2x $paire.t2x.bin < $tmp1
> | tee $tmp2
>     mv $tmp2 $tmp1
> fi
>
> if test -s $paire.t3x.bin
> then
>     echo "t3x"
>     apertium-postchunk `basename $PWD`.$paire.t3x $paire.t3x.bin < $tmp1 |
> tee $tmp2
>     mv $tmp2 $tmp1
> fi
>
> if test -s $paire.autogen.bin
> then
>     echo "gen"
>     lt-proc -g $paire.autogen.bin < $tmp1 | tee $tmp2
>     mv $tmp2 $tmp1
> fi
>
> if test -s $paire.autopgen.bin
> then
>     echo "pgen"
>     lt-proc -p $paire.autopgen.bin < $tmp1
>     rm $tmp1
> fi
>
>
>
> --------------------------------
> Bernard Chardonneau (France)
> Phone : [33] 1 64 90 87 04 or [33] 9 72 36 32 90
> GSM phone : [33] 6 49 95 13 95
>
> 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
>
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> _______________________________________________
> Apertium-stuff mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/apertium-stuff
>
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to