apertium icon indicating copy to clipboard operation
apertium copied to clipboard

apertium-tagger on escaped /

Open hectoralos opened this issue 4 years ago • 1 comments

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

hectoralos avatar Dec 05 '21 13:12 hectoralos

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).

mr-martian avatar Dec 05 '21 14:12 mr-martian