pos tagger with feature templates trains but evaluation is buggy