El dj 15 de 12 de 2011 a les 10:42 +0100, en/na Kevin Brubeck Unhammer va escriure: > "Jimmy O'Regan" <jore...@gmail.com> > writes: > > > On 14 December 2011 20:19, Pim Otte <otte....@gmail.com> wrote: > >> I'm not sure how i should get the output of the analyser. > >> > >> but running the makefile itself results in an empty af-tagger-data/af.dic > >> > >> running this line: after creating af.dic.expand gives usage on lt-proc > >> usage "lt-proc -e -w -a af-nl.automorf.bin < af.dic.expanded" > >> > > > > Well, there's your problem. Usage prints to stderr, hence empty file. > > > >> Any pointers? > > > > -a is the mode switch, it should be the first option. -w is completely > > superfluous for tagger training, get rid of it. If you want to train a > > tagger that's aware of pin-the-tail-on-the-compound mode, you'll > > probably have to do something extra, because (IIRC) it's only invoked > > when it encounters words that are not in the dictionary, which will > > never be the case on an expansion of the dictionary - so either > > manually add a bunch of compounds, or get rid of that, too. > > -e is the compound thing, -w just ensures lemmas don't get surface case > applied (I guess that's pointless too though?)
Do you think the error might be because it finds a word which has a compound analysis, but that isn't in the dictionary ? Unhammer: Have you ever tried to train the tagger for nn-nb with compound mode ? F. ------------------------------------------------------------------------------ 10 Tips for Better Server Consolidation Server virtualization is being driven by many needs. But none more important than the need to reduce IT complexity while improving strategic productivity. Learn More! http://www.accelacomm.com/jaw/sdnl/114/51507609/ _______________________________________________ Apertium-stuff mailing list Apertium-stuff@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/apertium-stuff