public static JarClassifierBuilder<?> fromTrainingDirectory(File dir) throws IOException {
  InputStream stream=new BufferedInputStream(new FileInputStream(getManifestFile(dir)));
  Manifest manifest=new Manifest(stream);
  stream.close();
  return fromManifest(manifest);
}

public static JarClassifierBuilder < ? > fromTrainingDirectory ( File dir ) throws IOException { InputStream stream = new BufferedInputStream ( new FileInputStream ( getManifestFile ( dir ) ) ) ; Manifest manifest = new Manifest ( stream ) ; stream . close ( ) ; return fromManifest ( manifest ) ; }
loads a classifier builder from manifest in the training directory .
