On 2 January 2012 21:03, Bartias <[email protected]> wrote:
> Hello
>
> I have a problem with a certain part of the tutorial. I have managed to get 
> everything properly up to the point when I the system is supposed to add 
> inflections. What I do get is
>
> bartek@bartek-Inspiron-1720 echo "domy" | lt-proc pl-en.automorf.bin | gawk 
> 'BEGIN{RS="$"; FS="/";}{nf=split($1,COMPONENTS,"^"); for(i = 1; i<nf; i++) 
> printf COMPONENTS[i]; if($2 != "") printf("^%s$",$2);}' | apertium-transfer 
> apertium-pl-en.pl-en.tlx pl-en.tlx.bin pl-en.autobil.bin | lt-proc -g 
> pl-en.autogen.bin
> #house
>
> It is supposed to be houses, but it doesn't work.
>
> What is more, I have been trying to perform a back translation, but I don't 
> know whether I need another set of rules, or what? I have tried something 
> like that:
>
> $ echo "houses" | lt-proc en-pl.automorf.bin | gawk 'BEGIN{RS="$"; 
> FS="/";}{nf=split($1,COMPONENTS,"^"); for(i = 1; i<nf; i++)ENTS[i]; if($2 != 
> "") printf("^%s$",$2);}' | apertium-transfer apertium-pl-en.en-pl.tlx 
> en-pl.tlx.bin en-pl.autobil.bin
> ^@house<n><pl>
>

Sorry, missed the 'following the HOWTO' part.

> The result is still in English, although I expected ^@dom<n><pl>
>

This means that no translation for house was found in the bilingual
dictionary. It may be that the word is missing, or it may be that you
compiled the dictionary in the wrong direction: if you have
<e><p><l>house</l><r>dom</r></p></e>, then you need to use 'lt-comp lr
<dix file> <output>', otherwise, you need to use 'lt-comp rl <dix
file> <output>'.



-- 
<Sefam> Are any of the mentors around?
<jimregan> yes, they're the ones trolling you

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to