El 2018-06-11 03:09, Sevilay Bayatli escribió:
Hi all,

I am trying to generate the -postchunk output this:

^-<guio>$ ^XXI<num><ord>$ ^asır<n><loc>$
^biz<prn><pers><p1><pl><gen>$ ^Anayasa<n><px1pl><acc>$ ^farklı
şekilde<adv>$ ^oku<v><tv><ger><nom>$ ^zaruret<n><nom>$
^i<cop><aor><p3><sg>$^.<sent>$^.<sent>$

by using the command :

 cat /home/sevilay/transfer.txt |lt-proc -d kaz-tur.autogen.bin

but give me this error:  - XXI asırda bizim Anayasamızı farklı
şekilde okuma zaruret #i\<cop\>\<aor\>\<p3\>\<sg\>..

Anyone can help through which steps of the pipeline should run it that
defined in modes file and obtain the right result?

btw I am working on apertium-kaz-tur

Looks like you're missing the second postchunk:

(from modes/kaz-tur.mode)

apertium-transfer -n '/home/fran/source/apertium/incubator/apertium-kaz-tur/apertium-kaz-tur.kaz-tur.t4x' '/home/fran/source/apertium/incubator/apertium-kaz-tur/kaz-tur.t4x.bin' | lt-proc $1 '/home/fran/source/apertium/incubator/apertium-kaz-tur/kaz-tur.autogen.bin' | lt-proc -p '/home/fran/source/apertium/incubator/apertium-kaz-tur/kaz-tur.autopgen.bin'

Try:

cat /home/sevilay/transfer.txt | apertium-transfer -n '/home/fran/source/apertium/incubator/apertium-kaz-tur/apertium-kaz-tur.kaz-tur.t4x' '/home/fran/source/apertium/incubator/apertium-kaz-tur/kaz-tur.t4x.bin' | lt-proc $1 '/home/fran/source/apertium/incubator/apertium-kaz-tur/kaz-tur.autogen.bin' | lt-proc -p '/home/fran/source/apertium/incubator/apertium-kaz-tur/kaz-tur.autopgen.bin'

(Replace your paths with those in your modes file.)

F.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to