protected static String standardizeKeyword(String keyword){
  if (keyword == null)   return null;
  keyword=keyword.trim();
  if (keyword.length() == 0)   return null;
  keyword=keyword.toUpperCase();
  StringBuffer sb=new StringBuffer();
  char[] chars=keyword.toCharArray();
  for (int i=0; i < chars.length; i++) {
    char c=chars[i];
    sb.append(standardizeCharacter(c));
  }
  return sb.toString();
}

protected static String standardizeKeyword ( String keyword ) { if ( keyword == null ) return null ; keyword = keyword . trim ( ) ; if ( keyword . length ( ) == 0 ) return null ; keyword = keyword . toUpperCase ( ) ; StringBuffer sb = new StringBuffer ( ) ; char [ ] chars = keyword . toCharArray ( ) ; for ( int i = 0 ; i < chars . length ; i ++ ) { char c = chars [ i ] ; sb . append ( standardizeCharacter ( c ) ) ; } return sb . toString ( ) ; }
clean up & standardize keyword
