question: 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 ; }
target:  Check for end matches while searching for item names.