Menu

#59 Unknown error matching regexp (code -28) / conversion error

closed
nobody
None
2015-09-30
2014-12-23
Guillermo
No

En LUbuntu 14.04 he instalado: apertium y apertium-eo-es

Al intentar traducir un fichero crea un fichero de 0 bytes:
apertium -f txt es-eo admines.txt admineo2.txt
Salida: Error: Unknown error matching regexp (code -28)

Si uso www.apertium.org, "Traducir un documento", la salida del fichero es:
Error: Directory ' /home/apertium/tarballs-build/share/apertium/modes' does not exist.
USAGE: apertium [-d datadir] [-f format] [-u] <direction> [in [out]]
-d datadir directory of linguistic data
-f format one of: txt (default), html, rtf, odt, docx, wxml, xlsx, pptx,
xpresstag, html-noent, latex, latex-raw
-a display ambiguity
-u don't display marks '*' for unknown words
-m memory.tmx use a translation memory to recycle translations
-o direction translation direction using the translation memory,
by default 'direction' is used instead
-l lists the available translation directions and exits
direction typically, LANG1-LANG2, but see modes.xml in language data
in input file (stdin by default)
out output file (stdout by default)</direction>

Discussion

  • Tino Didriksen

    Tino Didriksen - 2014-12-23

    The default 14.04 packages are way too old.

    Instead, install Apertium from our nightly build repo:
    http://apertium.projectjj.com/apt/howto.txt

     
  • Guillermo

    Guillermo - 2014-12-24

    Ok, perfecto, perfect, perfekta... en inglés (english, angla lingvo).
    Error with spanish-esperanto.

     
  • Guillermo

    Guillermo - 2014-12-24

    Repositories:
    Pero funcionaba la versión apertium-nightly.list, no encuentra ficheros en la versión apertium-release.list
    Sed funkciis la version apertium-nightly.list, Ĝi ne trovas dosierojn en la versio apertium-release.list
    But it worked the version apertium-nightly.list, does not find files in the version apertium-release.list

     

    Last edit: Guillermo 2014-12-24
  • Guillermo

    Guillermo - 2014-12-24

    Error in translation spanish-esperanto:
    apertium -f txt es-eo spa.txt espe.txt
    Error: conversion error

    Versio: apertium (3.3.0~r58127-0ubuntu1~trusty1)

     

    Last edit: Guillermo 2014-12-24
  • Kevin Brubeck Unhammer

    • summary: Error al traducir un fichero --> Unknown error matching regexp (code -28) / conversion error
    • status: open --> closed
     
  • Kevin Brubeck Unhammer

    Guillermo
    2014-12-24
    
    Error in translation spanish-esperanto:
    apertium -f txt es-eo spa.txt espe.txt
    Error: conversion error
    

    If this happens, please "make clean && make" the language pair (and ensure you don't have old versions of apertium on your system).

     

Log in to post a comment.

MongoDB Logo MongoDB