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

Reply via email to