@Override public boolean isPunctuationTag(String str){
  return str.equals("PU");
}

@ Override public boolean isPunctuationTag ( String str ) { return str . equals ( "PU" ) ; }
accepts a string that is a punctuation tag name , and rejects everything else .
