private static Set<Integer> load(String filename){
  LineNumberReader reader=IOTools.getReaderFromFile(filename);
  Set<Integer> set=Collections.synchronizedSet(new HashSet<Integer>(20000));
  try {
    for (String line; (line=reader.readLine()) != null; ) {
      set.add(Integer.parseInt(line.trim()));
    }
    reader.close();
  }
 catch (  IOException e) {
    throw new RuntimeException(e);
  }
  return set;
}

private static Set < Integer > load ( String filename ) { LineNumberReader reader = IOTools . getReaderFromFile ( filename ) ; Set < Integer > set = Collections . synchronizedSet ( new HashSet < Integer > ( 20000 ) ) ; try { for ( String line ; ( line = reader . readLine ( ) ) != null ; ) { set . add ( Integer . parseInt ( line . trim ( ) ) ) ; } reader . close ( ) ; } catch ( IOException e ) { throw new RuntimeException ( e ) ; } return set ; }
load the zero - indexed list of in - domain bitext lines .
