private boolean searchEndMatch(final String itemName){
  for (  Map.Entry<String,Sentence> e : parsedNames.entrySet()) {
    Sentence parsed=e.getValue();
    if (itemName.endsWith(parsed.getOriginalText()) || itemName.endsWith(parsed.getNormalized())) {
      name=e.getKey();
      return true;
    }
  }
  return false;
}

private boolean searchEndMatch ( final String itemName ) { for ( Map . Entry < String , Sentence > e : parsedNames . entrySet ( ) ) { Sentence parsed = e . getValue ( ) ; if ( itemName . endsWith ( parsed . getOriginalText ( ) ) || itemName . endsWith ( parsed . getNormalized ( ) ) ) { name = e . getKey ( ) ; return true ; } } return false ; }
check for end matches while searching for item names .
