Per Tunedal kirjoitti 5. sep. 2012 kello 09:42:

> I've tested nynorsk-bokmål and it works:
> 
> echo "De offisielle språkene i NRK er norsk og samisk. NRK skal bidra
> til å styrke og utvikle disse språkene. Minst 25 prosent av
> verbalinnslagene i radio og fjernsyn skal være på nynorsk." | apertium
> -d /home/per/Repository/apertium-nn-nb nn-nb
> 
> De offisielle *språkene i NRK er norsk og samisk. NRK skal bidra til å
> styrke og utvikle disse *språkene. Minst 25 prosenter av
> *verbalinnslagene i radio og fjernsyn skal være på nynorsk.
> 
> A bit odd that "språkene" is an unknown word ...

That is because you have nb as input to a translation from nn to nb. Try 
instead:

echo "De offisielle språkene i NRK er norsk og samisk. NRK skal bidra til å 
styrke og utvikle disse språkene." | apertium -d . nb-nn
Dei offisielle språka i NRK er norsk og samisk. NRK skal bidra til å styrkja og 
utvikla desse språka.

Trond.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Apertium-stuff mailing list
Apertium-stuff@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to