de.dfki.lt.mary.dbselection
Class DatabaseSelector

java.lang.Object
  extended by de.dfki.lt.mary.dbselection.DatabaseSelector

public class DatabaseSelector
extends java.lang.Object

Main class to be run over a database for selection

Author:
Anna Hunecke

Field Summary
static FeatureDefinition featDef
           
 
Constructor Summary
DatabaseSelector()
           
 
Method Summary
static void main(java.lang.String[] args)
          Main method to be run from the directory where the data is.
static byte[][] main2(java.lang.String[] args, byte[][] vectorArray)
          Main method to be run from the directory where the data is.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

featDef

public static FeatureDefinition featDef
Constructor Detail

DatabaseSelector

public DatabaseSelector()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Main method to be run from the directory where the data is. Expects already computed unit features in directory unitfeatures

Parameters:
args - the command line args (see printUsage for details)
Throws:
java.lang.Exception

main2

public static byte[][] main2(java.lang.String[] args,
                             byte[][] vectorArray)
                      throws java.lang.Exception
Main method to be run from the directory where the data is. Expects already computed unit features in directory unitfeatures. Can be given an array of feature vectors - this is useful if the program is run several times with the same feature vectors.

Parameters:
args - the command line args (see printUsage for details)
vectorArray - the array of feature vectors
Returns:
the array of feature vectors used in the current pass
Throws:
java.lang.Exception