> Hi!
>
> I develop the transfer rule file for Urdu - hindi pair
> The first command run fine
>
> $ apertium-preprocess-transfer apertium-ur-hi.ur-hi.t1x ur-hi.t1x.bin
>
> and generate a
>
> ur-hi.t1x.bin file.
>
> But the other commands are not giving any output
> echo "ÛÛ " | lt-proc ur-hi.automorf.bin
>
> echo "ÛÛ" | lt-proc ur-hi.automorf.bin | \
>
> gawk 'BEGIN{RS="$"; FS="/";}{nf=split($1,COMPONENTS,"^"); for(i = 1;
> i<nf; i++) printf COMPONENTS[i]; if($2 != "") printf("^%s$",$2);}'
>
> echo "ÛÛ" | lt-proc ur-hi.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-ur-hi.ur-hi.t1x ur-hi.t1x.bin
> ur-hi.autobil.bin
>
> as we have not any Pos tagger and using Gawk command. So, are these
> commands
> used to all the language pairs like used for sh - en? Please tell me
> what wrong I am doing while running them
> Thanks
> Sanam Ali
Here is an example that outputs something:
$ echo "ایک دائرة
المعارف، جو
ہر کوئی مرتب
کرسکتا ہے۔" |
lt-proc ur-hi.automorf.bin
^ایک/ایک<n><m><sg><nom>/ایک<n><m><sg><obl>/ایک<n><m><sg><voc>/ایک<n><m><pl><nom>$
^دائر/*دائر$ة
^المعارف/*المعارف$،
^جو/*جو$ ^ہر/*ہر$
^کوئی/*کوئی$
^مرتب/*مرتب$
^کرسکتا/*کرسکتا$
^ہے/*ہے$۔
Seems like the word you are writing is not in the dictionary:
$ echo "ہے " | lt-proc ur-hi.automorf.bin
^ہے/*ہے$
Add it and try again!
Regards,
Fran
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff