I was following all steps for bootstrapping of existing language pair here http://wiki.apertium.org/wiki/How_to_bootstrap_a_new_pair and after following steps when i'm giving command in ubunto terminal
echo house | apertium -d . eng-spa
it replies me correct answer
casa
but when gave command
echo casa | apertium -d . spa-eng
it gave me
terminate called after throwing an instance of 'DeserialisationException'
what(): can't deserialise 1 byte integer type: can't deserialise byte
Aborted (core dumped)
How can i overcome this issue?
How to boot-strap a language pair in apertium?
72 views Asked by H S Umer farooq At
1
The typical way of debugging these things is to look at the file
modes/spa-eng.modeand run the pipeline one step at a time until you get the crash.If the file contained
lt-proc spa-eng.automorf.bin | apertium-tagger -g spa-eng.prob | …and so on, I would first trythen
etc. until I found the crash.
There might be a
$2as an argument to one of the programs in that file – if so, replace that with-g.