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

On Wed, Feb 18, 2015, at 16:50, Francis Tyers wrote:
> 
> 
> A 2015-02-18 14:23, Per Tunedal escrigué:
> > Hi Mikel,
> > Thank you. All works except the last step:
> > lt-proc $1 /home/per/Repository/apertium-sv-da/da-sv.autogen.bin
> > 
> > I run:
> > 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 $1 sv-da.autogen.bin  |
> > less
> > 
> > and get:
> > std::exception
> > 
> > But if I run the ordinary way everything works OK:
> > echo "Vi behöver en annan boll" | apertium -u -d . da-sv
> > 
> > BTW How do I pass the -u if I run the commands manually?
> 
> Try:
> 
> lt-proc -n /home/per/Repository/apertium-sv-da/da-sv.autogen.bin
> lt-proc -g /home/per/Repository/apertium-sv-da/da-sv.autogen.bin
> lt-proc -d /home/per/Repository/apertium-sv-da/da-sv.autogen.bin
> 
> Different generation modes, the --help output will explain.
> 
> F.
> 
> ------------------------------------------------------------------------------
> 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

Reply via email to