I am training and testing data using Mallet's GenericAcrfTui. So I am using the Graphical Models in Mallet (GRMM) to do CRF training. I have created features for both my training set and my test set and was hoping to run GenericAcrfTui from the command line. When I run it, I get back the F-score and accuracy measures for each of my labels, but I do not get back the actual labeling for each row. I do something like this:
java -cp $GRMM/class:$GRMM/lib/mallet-deps.jar:$GRMM/lib/grmm-deps.jar \
edu.umass.cs.mallet.grmm.learning.GenericAcrfTui \
--training $GRMM/data/grmm/conll2000.train1k.txt \
--testing $GRMM/data/grmm/conll2000.test1k.txt \
--model-file tmpls.txt > stdout.txt 2> stderr.txt
which is the example given in the Mallet example. There does not appear to be a switch though for getting the labels. How does one do it?