El dj 22 de 11 de 2012 a les 09:10 +0100, en/na Per Tunedal va escriure:
> Hi,
> Apertium doesn't like the Danish habit to include the sign "/" in
> abbreviations:
> 
> A/B a/b A/S etc
> 
> A/S gives me:  #A$
> 
> Is "/" a forbidden character? Should I use an escape character or what?

It is a reserved character:

http://wiki.apertium.org/wiki/Apertium_stream_format

> What about the character "/" in ordinary texts? 
> "Fattar du inte? Han tyckte om/gillade/älskade korv. Välj det du tycker
> passar bäst!"
> 
> Besides, the "?" character isn't any good either, when used like this:
> 
> echo "Hans nya bolag skulle heta Baljan AB. Fast han hade länge tvekat
> om bolagsformen, om han skulle välja AB eller enskild firma. Fattar du
> inte? Han tyckte om/gillade/älskade korv. Välj det du tycker passar
> bäst!" | apertium -d /home/per/Repository/apertium-sv-da sv-da
> 
> Doesn't work.
> 
> echo "Hans nya bolag skulle heta Baljan AB. Fast han hade länge tvekat
> om bolagsformen, om han skulle välja AB eller enskild firma. Fattar du
> inte. Han tyckte om/gillade/älskade korv. Välj det du tycker passar
> bäst!" | apertium -d /home/per/Repository/apertium-sv-da sv-da
> 
> Doesn't work either.

That's because of bash interpreting the '!' as "run the previous
command. You need to escape it in the terminal.

F.


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to