When I try and train the tagger for sh-mk I get the following error:

$ apertium-tagger -t 8 sh-tagger-data/sh.dic sh-tagger-data/sh.crp
apertium-sh-mk.sh.tsx sh-mk.prob
Calculating ambiguity classes...

2166 states and 2338 ambiguity classes
Kupiec's initialization of transition and emission probabilities...
Segmentation fault

Anyone got any idea how to fix it ? Also, is there any way to update the
def-mults without retraining the tagger ? I just want to fix the problem
of:

$ echo "govoriću" | lt-proc sh-mk.automorf.bin  
^govoriću/govoriti<vblex><imperf><tv><inf>+htjeti<vbmod><clt><futI><p1><sg>/govoriti<vblex><imperf><iv><inf>+htjeti<vbmod><clt><futI><p1><sg>$

$ echo "govoriću" | lt-proc sh-mk.automorf.bin   | apertium-tagger -g
sh-mk.prob
^govoriti<vblex><imperf><tv><inf>+

Fran

Felipe: All the stuff is in jamaica:/home/fran/svnroot/apertium-sh-mk,
you can reproduce the problem just by running the command at the top.


------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to