public boolean hasLemma ( String lemma ) { boolean found = false ; for ( AnalyzedToken reading : anTokReadings ) { if ( reading . getLemma ( ) != null ) { found = lemma . equals ( reading . getLemma ( ) ) ; if ( found ) { break ; } } } return found ; }
Checks if one of the token s readings has a particular lemma .