Hi, Per.
When the modes.xml file is compiled, a set of shell scripts are 
generated in directory modes/ , one for each mode. Checking these out 
may give you some inspiration on how to run commands manually.

HTH

Mikel


El 18/02/15 a les 09:42, Per Tunedal ha escrit:
> Hi,
> I would like to explore the pipeline Apertium uses for translation. I
> can see the steps in the modes.xml file, but I cannot figure out how to
> write the commands to run them manually. How do I get the output of
> lt-proc as it looks when it is forwarded to the tagger?
>
>    <mode name="swe-dan-bytecode" install="yes">
>      <pipeline>
>        <program name="lt-proc">
>          <file name="swe-dan.automorf.bin"/>
>        </program>
>        <program name="apertium-tagger -g $2">
>          <file name="swe-dan.prob"/>
>        </program>
>
> The following doesn't work:
>
> echo "Vi behöver en annan boll" | lt-proc swe-dan.automorf.bin | less
>
> What should I enter instead?
>
> Yours,
> Per Tunedal
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> _______________________________________________
> Apertium-stuff mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/apertium-stuff


-- 
  Mikel L. Forcada (http://www.dlsi.ua.es/~mlf/)
Departament de Llenguatges i Sistemes InformĂ tics
Universitat d'Alacant
E-03071 Alacant, Spain
Phone: +34 96 590 9776
Fax: +34 96 590 9326


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to