Command Line - A simple command line system that provides the same options as the old Nist MT Metric tool kit. -r,-t and -o options.
Example:
For Lite version substitute badger_lite.jar for badger.jar
It was noted in the previous NIST evaluation that there was some memory thrashing so please set the maximum memory usage for this system to 8gig.
Using whole directories
java -mx8g -cp badger.jar badger.Metric -r NISTMetricsMATR10Dev
-t NISTMetricsMATR10Dev -o output
Using a single file and reference
java -mx8g -cp badger.jar badger.Metric -r NISTMetricsMATR10Dev
-t NISTMetricsMATR10Dev -o output
Using multiple references (reference files are delimited by the colon (:) symbol)
java -mx8g -cp badger.jar badger.Metric
-r NISTMetricsMATR10Dev/mt06/references/reference01.xml:NISTMetricsMATR10Dev/mt06/references/reference02.xml:NISTMetricsMATR10Dev/mt06/references/reference03.xml
-t NISTMetricsMATR10Dev -o output
Output will be under the directory output/SmithWatermanGotohWindowedAffine
You may enter files or directories for reference and system files.
In the case of a directory the system will automatically scan below the directory name and extract any .sgm or .xml files
and auto correlate any data found. As long as a reference segment is found BADGER 2.0 will score it.
For Windows please make sure you do not have an existing output file open while running a metric evaluation as Windows enforces file locking.