private static String normalize(final String word){
  if (word.length() > 1) {
    return word;
  }
 else   if (word.equals("{")) {
    return "-LRB-";
  }
 else   if (word.equals("}")) {
    return "-RRB-";
  }
 else   if (word.equals("(")) {
    return "-LRB-";
  }
 else   if (word.equals(")")) {
    return "-RRB-";
  }
  return word;
}

private static String normalize ( final String word ) { if ( word . length ( ) > 1 ) { return word ; } else if ( word . equals ( "{" ) ) { return "-LRB-" ; } else if ( word . equals ( "}" ) ) { return "-RRB-" ; } else if ( word . equals ( "(" ) ) { return "-LRB-" ; } else if ( word . equals ( ")" ) ) { return "-RRB-" ; } return word ; }
normalizes words - e . g . converting brackets to ccgbank format .
