I'm having problems with testvoc. There are of two kinds. The main one is
that testvoc generates all forms of the lemmas present in the monodix, but
not only the ones existing in the bilingual dictionary. This is
catastrophic when testing from Catalan, which has tens of thousands of
lemmas which can't be added to the bidix (and often this is not really
needed). For instance for "taula", in apertium-cat-ita:

^taula# braser<n><f><pl>/@taula# braser<n><f><pl>$ ^.<sent>/.<sent>$
^taula# braser<n><f><sg>/@taula# braser<n><f><sg>$ ^.<sent>/.<sent>$
^taula# de la Llei<n><f><pl>/@taula# de la Llei<n><f><pl>$ ^.<sent>/.<sent>$
^taula# de la Llei<n><f><sg>/@taula# de la Llei<n><f><sg>$ ^.<sent>/.<sent>$
^taula# de multiplicar<n><f><pl>/@taula# de multiplicar<n><f><pl>$
^.<sent>/.<sent>$
^taula# de multiplicar<n><f><sg>/@taula# de multiplicar<n><f><sg>$
^.<sent>/.<sent>$
^taula# de salvació<n><f><pl>/@taula# de salvació<n><f><pl>$
^.<sent>/.<sent>$
^taula# de salvació<n><f><sg>/@taula# de salvació<n><f><sg>$
^.<sent>/.<sent>$
^taula# d'harmonia<n><f><pl>/@taula# d'harmonia<n><f><pl>$ ^.<sent>/.<sent>$
^taula# d'harmonia<n><f><sg>/@taula# d'harmonia<n><f><sg>$ ^.<sent>/.<sent>$
^taula<n><f><pl>/tavolo<n><m><pl>/tavola<n><f><pl>/tabella<n><f><pl>$
^.<sent>/.<sent>$
^taula<n><f><sg>/tavolo<n><m><sg>/tavola<n><f><sg>/tabella<n><f><sg>$
^.<sent>/.<sent>$
^taula numèrica<n><f><sg>/@taula numèrica<n><f><sg>$ ^.<sent>/.<sent>$
^taula numèrica<n><f><pl>/@taula numèrica<n><f><pl>$ ^.<sent>/.<sent>$
^taula periòdica<n><f><sg>/@taula periòdica<n><f><sg>$ ^.<sent>/.<sent>$
^taula periòdica<n><f><pl>/@taula periòdica<n><f><pl>$ ^.<sent>/.<sent>$

The second problem, is that the script does not include a call to the
lexical selection, so not always the "real" translations are tested, but
one forbidden by the lexical selection.

I'm solving the second issue (this seems to be trivial), but I'm not sure
how to deal with the first one. Are there any suggestions?

Best,
Hèctor
_______________________________________________
Apertium-stuff mailing list
Apertium-stuff@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to