private boolean matchLemmaList ( AnalyzedTokenReadings aToken , List < String > list ) { boolean matches = false ; for ( AnalyzedToken analyzedToken : aToken ) { if ( list . contains ( analyzedToken . getLemma ( ) ) ) { matches = true ; break ; } } return matches ; }
Match lemma with String list