public String fullForm(final String str,final String lowString){
  String ret=lowString;
  PrefixEntry found=prefixMap.get(str);
  if (found != null) {
    ret=found.prefixSingular + ret;
  }
 else {
    for (    PrefixEntry entry : prefixEndList) {
      if (str.endsWith(entry.keyword)) {
        ret=Grammar.addPrefixIfNotAlreadyThere(ret,entry.prefixSingular,entry.prefixPlural);
        break;
      }
    }
  }
  return ret;
}

public String fullForm ( final String str , final String lowString ) { String ret = lowString ; PrefixEntry found = prefixMap . get ( str ) ; if ( found != null ) { ret = found . prefixSingular + ret ; } else { for ( PrefixEntry entry : prefixEndList ) { if ( str . endsWith ( entry . keyword ) ) { ret = Grammar . addPrefixIfNotAlreadyThere ( ret , entry . prefixSingular , entry . prefixPlural ) ; break ; } } } return ret ; }
prefix one of the registered nouns with an expression like " piece of " .
