public final void evaluate ( ) { final LemmatizerEvaluator evaluator = new LemmatizerEvaluator ( this . lemmatizer ) ; try { evaluator . evaluate ( this . testSamples ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } System . out . println ( evaluator . getWordAccuracy ( ) ) ; }
Evaluate and print word accuracy .