apertium
apertium copied to clipboard
apertium-tagger on escaped /
The following line is causing an error in apertium-tagger:
^http:\/\/www.daquidoc.org\/fr\/mon-peac\/m-inspirer/http:\/\/www.daquidoc.org\/fr\/mon-peac\/m-inspirer<web>$
Error:
$ make
apertium-tagger -d -s 0 -u 2 oci_gasc.unigram.prob oci_gasc.tagged.txt
apertium-tagger:
Try 'apertium-tagger --help' for more information.
make: *** [Makefile:15: oci_gasc.unigram.prob] Error 1
I had forgotten to handle escaped characters in lemmas.
d71762b fixes the immediate issue on my end, but I'm leaving this issue open for the moment to remind myself that the unigram tagger needs tests and that I need to figure out why error messages are getting corrupted or aren't displaying (the second line of the output should say apertium-tagger: morpheme has no tags, which is not the most helpful message, but it's better than nothing).