Hi Francis, Thank you! It works like a charm. Yours, Per Tunedal On Wed, Feb 18, 2015, at 17:25, Francis Tyers wrote: > A 2015-02-18 17:15, Per Tunedal escrigué: > > Hi Francis, > > Thank you. -g works OK: > > > > echo "Vi behöver en annan boll" | lt-proc sv-da.automorf.bin | > > > > apertium-tagger -g $2 sv-da.prob | > > apertium-pretransfer | > > lt-proc -b sv-da.autobil.bin | > > apertium-transfer -b apertium-sv-da.sv-da.t1x sv-da.t1x.bin | > > lt-proc -g $1 sv-da.autogen.bin | > > less > > > > But why isn't there any -g switch after lt-proc in the modes file? > > > > And how do I get rid of * @ etc. see below: > > > > Vi behøver en anden *karavanförare \@genast > > (END) > > > > Yours, > > Per Tunedal > > > > You shouldn't be using $1 and $2 in the command line, they refer to > command line arguments. > > The switch comes from the main apertium script. That is why it is not in > the modes file, to get rid of the diagnostics you can use: > > -n, --non-marked-gen morph. generation without unknown word marks > > (from the lt-proc --help output) > > Fran > > ------------------------------------------------------------------------------ > 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
------------------------------------------------------------------------------ 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
