El dc 03 de 08 de 2011 a les 15:59 +0100, en/na Jimmy O'Regan va
escriure:
> On 3 August 2011 14:36, Francis Tyers <[email protected]> wrote:
> > El dc 03 de 08 de 2011 a les 14:38 +0100, en/na Jimmy O'Regan va
> > escriure:
> >> On 3 August 2011 14:26, Francis Tyers <[email protected]> wrote:
> >> > 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
> >>
> >> apertium-tagger-apply-new-rules
> >
> > Doesn't work.
> >
> 
> Are you actually /updating/ an existing .prob file, or just trying to
> replace the coarse categories in an unrelated file with another set?
> The former should work, the latter won't. New coarse tags require
> (re)training, there's no way around that.

Actually, I just managed to train it now by commenting out all the
dictionary entries. And just leaving two coarse tags. Now we get the
desired results:

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

:)

Fran



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