gracias,

Logré instalar  foma, hfst y apertium-lex-tools
también probé con apertium-kat-tat
#echo "башлары" | apertium -d . tat-kaz
бастары
ya sale la traducción.

seguidamente intenté probar apertium-quz-spa
#make   //aquí aun tengo un error
----------------------
root@ubuntuserver:/gramar/apertium-quz-spa# make
apertium-lrx-comp apertium-quz-spa.quz-spa.lrx quz-spa.lrx.bin
make: apertium-lrx-comp: No se encontró el programa
make: *** [quz-spa.lrx.bin] Error 127
root@ubuntuserver:/gramar/apertium-quz-spa#
----------------------
probando con la frase para traducir:
root@ubuntuserver:/gramar/apertium-quz-spa# echo "Jaimewanmi Maríawan
muyapi kashanku." | apertium -d . quz-spa
hfst-proc: error while loading shared libraries: libhfst.so.26: cannot open
shared object file: No such file or directory
lrx-proc: process a bilingual stream with a lexical rule transducer
USAGE: lrx-proc -t | -d | -m  fst_file input_file output_file]
  -m:         run the rules using weights as lambdas
  -t:         trace the rules which have been applied
  -d:         print out information about how the rules are run
root@ubuntuserver:/gramar/apertium-quz-spa#

otras pruebas:
-----------------------------------------
*root@ubuntuserver:/gramar/apertium-quz-spa# echo "kashanku" | apertium -d
. quz-spa-biltrans*
^kashay<vblex><iv><pri><p3><pl><po3sp>/estar<vblex><iv><pri><p3><pl><po3sp>$^.<sent>/.<sent>$
*root@ubuntuserver:/gramar/apertium-quz-spa# echo "kashanku" | apertium -d
. quz-spa-chunker*
lrx-proc: process a bilingual stream with a lexical rule transducer
USAGE: lrx-proc -t | -d | -m  fst_file input_file output_file
  -m:         run the rules using weights as lambdas
  -t:         trace the rules which have been applied
  -d:         print out information about how the rules are run
*root@ubuntuserver:/gramar/apertium-quz-spa# echo "kashanku" | apertium -d
. quz-spa-debug*
lrx-proc: process a bilingual stream with a lexical rule transducer
USAGE: lrx-proc -t | -d | -m  fst_file input_file output_file
  -m:         run the rules using weights as lambdas
  -t:         trace the rules which have been applied
  -d:         print out information about how the rules are run
*root@ubuntuserver:/gramar/apertium-quz-spa# echo "kashanku" | apertium -d
. quz-spa-disam*
^kashanku/kashay<vblex><iv><pri><p3><pl><po3sp>/kay<vbcop><cont><pri><p3><pl><po3sp>/kay<vbex><cont><pri><p3><pl><po3sp>$^./.<sent>$
*root@ubuntuserver:/gramar/apertium-quz-spa# echo "kashanku" | apertium -d
. quz-spa-disam-trace*
Converting Apertium to VISL...
Warning: No soft or hard delimiters defined in grammar. Hard limit of 500
cohorts may break windows in unintended places.
"<kashanku>"
        "kashay" vblex iv pri p3 pl po3sp
        "kay" vbcop cont pri p3 pl po3sp
        "kay" vbex cont pri p3 pl po3sp
"<.>"
        "." sent



*root@ubuntuserver:/gramar/apertium-quz-spa# echo "kashanku" | apertium -d
. quz-spa-gener*
Could not open transducer file /gramar/apertium-quz-spa/quz-spa.autogen.hfst
*root@ubuntuserver:/gramar/apertium-quz-spa# echo "kashanku" | apertium -d
. quz-spa-interchunk*
lrx-proc: process a bilingual stream with a lexical rule transducer
USAGE: lrx-proc -t | -d | -m  fst_file input_file output_file
  -m:         run the rules using weights as lambdas
  -t:         trace the rules which have been applied
  -d:         print out information about how the rules are run
*root@ubuntuserver:/gramar/apertium-quz-spa# echo "kashanku" | apertium -d
. quz-spa-lexc*
Could not open transducer file
/gramar/apertium-quz-spa/.deps/quz-spa.lexc.hfst
*root@ubuntuserver:/gramar/apertium-quz-spa# echo "kashanku" | apertium -d
. quz-spa-lex*
lrx-proc: process a bilingual stream with a lexical rule transducer
USAGE: lrx-proc -t | -d | -m  fst_file input_file output_file
  -m:         run the rules using weights as lambdas
  -t:         trace the rules which have been applied
  -d:         print out information about how the rules are run
*root@ubuntuserver:/gramar/apertium-quz-spa# echo "kashanku" | apertium -d
. quz-spa-morph*
^kashanku/kashay<vblex><iv><pri><p3><pl><po3sp>/kay<vbcop><cont><pri><p3><pl><po3sp>/kay<vbex><cont><pri><p3><pl><po3sp>$^./.<sent>$
root@ubuntuserver:/gramar/apertium-quz-spa# echo "kashanku" | apertium -d .
quz-spa-postchunk
lrx-proc: process a bilingual stream with a lexical rule transducer
USAGE: lrx-proc -t | -d | -m  fst_file input_file output_file
  -m:         run the rules using weights as lambdas
  -t:         trace the rules which have been applied
  -d:         print out information about how the rules are run
*root@ubuntuserver:/gramar/apertium-quz-spa# echo "kashanku" | apertium -d
. quz-spa-twol*
hfst-compose-intersect: Could not open
'/gramar/apertium-quz-spa/.deps/quz-spa.twol.hfst'. : No such file or
directory
<stdin> is not a valid transducer file
root@ubuntuserver:/gramar/apertium-quz-spa#

-------------------------------------------------------




2013/3/29 Francis Tyers <[email protected]>

> Instala zlib:
>
> apt-get install zlib1g-dev
>
> Fran
>
> El dv 29 de 03 de 2013 a les 12:35 -0500, en/na Hugo David Calderon
> Vilca va escriure:
> > Después de varios días sin tener éxito en poner funcionamiento el
> > traductor en CENTOS con el objetivo de probar  apertium-quz-spa, he
> > decido cambiar a Ubuntu server, mira:
> > 1) he instalado correctamente  lttolbox
> > 2) instaldo correctamente apertiubm
> > 3) instaldo varios pares de lengua como apertium-es-fr y funcioa bien,
> > traduce
> > 4) instaldo correctamente vislcg3
> > 5) instaldo correctamente OpenFST
> >
> >
> > 6) PROBLEMA al instalar FOMA
> > 7) PROBLEMA al instalar HFST
> > 8) PROBLEMA al instalar APERTIUM-LEX-TOOLS
> >
> >
> >
> >
> > ERROR al instalar FOMA:
> > ----------------------------------
> > root@ubuntuserver:/gramar/foma# make
> > gcc -O3 -Wall -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c
> > int_stack.c -o int_stack.o
> > In file included from foma.h:18:0,
> >                  from int_stack.c:20:
> > fomalib.h:24:18: error fatal: zlib.h: No existe el archivo o el
> > directorio
> > compilación terminada.
> > make: *** [int_stack.o] Error 1
> > root@ubuntuserver:/gramar/foma#
> > -----------------------------------
> >
> >
> >
> >
> >
> > ERROR al instalar HFST:
> > ****************************
> > # autoreconf -i     //pasó correctamente
> > # ./configure --with-foma --enable-lexc   //pasó con warning al final
> > # make     //tiene error  siguiente:
> > o -c int_stack.c  -fPIC -DPIC -o .libs/int_stack.o
> >
> > In file included from foma.h:18:0,
> >                  from int_stack.c:20:
> > fomalib.h:26:18: fatal error: zlib.h: No such file or directory
> > compilation terminated.
> > make[3]: *** [int_stack.lo] Error 1
> > make[3]: se sale del directorio «/gramar/hfst3/back-ends/foma»
> > make[2]: *** [all-recursive] Error 1
> > make[2]: se sale del directorio «/gramar/hfst3/back-ends»
> > make[1]: *** [all-recursive] Error 1
> > make[1]: se sale del directorio «/gramar/hfst3»
> > make: *** [all] Error 2
> > root@ubuntuserver:/gramar/hfst3#
> > ****************************
> >
> >
> > ERROR al instalar APERTIUM-LEX-TOOLS
> > ++++++++++++++++
> > root@ubuntuserver:/apertium/apertium-lex-tools# ./autogen.sh  //pasó
> > correctamente
> >
> > root@ubuntuserver:/apertium/apertium-lex-tools# make    //tiene
> > errores
> > make  all-am
> > make[1]: se ingresa al directorio «/apertium/apertium-lex-tools»
> > g++ -Wall -g -ggdb -DDEBUG  -g -O2 -lxml2  -L/usr/local/lib
> > -lapertium3 -llttoolbox3 -lxml2 -lpcre   -lxml2   -lz  -o lrx-comp
> > lrx_compiler.o lrx_comp.o  -lxml2  -L/usr/local/lib -lapertium3
> > -llttoolbox3 -lxml2 -lpcre   -lxml2   -lz
> > /usr/bin/ld: no se puede encontrar -lz
> > /usr/bin/ld: no se puede encontrar -lz
> > collect2: error: ld devolvió el estado de salida 1
> > make[1]: *** [lrx-comp] Error 1
> > make[1]: se sale del directorio «/apertium/apertium-lex-tools»
> > make: *** [all] Error 2
> > root@ubuntuserver:/apertium/apertium-lex-tools#
> >
> >
> > ++++++++++++++++
> >
> >
> >
> >
> > --
> > Hugo David Calderon
> > (Movil)(Viber): 983638388
> > RPM: *0096390
> > Skype: hdcalderon1
> >
> >
>
>
>
>


-- 
Hugo David Calderon
(Movil)(Viber): 983638388
RPM: *0096390
Skype: hdcalderon1
------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to