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>
The result is still in English, although I expected ^@dom<n><pl>
What am I doing wrong?
Regards:)
BJ
------------------------------------------------------------------------------
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