|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni_tuebingen.sfb.lichtenstein.main.MonaSearch
public final class MonaSearch
This class takes care of launching the program.
Field Summary | |
---|---|
static String |
COPYRIGHT
Copyright information for the program. |
static String |
PROGRAM_NAME
The name of the program. |
static boolean |
quiet
Switch wether no output is wanted on the command line. |
static boolean |
verbose
Switch wether verbose output is wanted on the command line. |
static String |
VERSION
The version of the program. |
Constructor Summary | |
---|---|
MonaSearch()
|
Method Summary | |
---|---|
static void |
convertTreebank(File treebankFile)
Convert the given tree bank. |
static File |
getBaseFileDir()
Get the directory where temporary files are stored for this execution. |
static File |
getCorporaDirectory()
Get the directory where precompiled corpora are stored. |
static String |
getLogFile()
Get the log file. |
static File |
getMonaFileDirectory()
Get the directory where where mona files and automata are stored. |
static void |
main(String[] args)
Run MonaSearch. |
static void |
setBaseFileDir(File baseFileDir)
|
static void |
setLogFile(String logFile)
Set the log file. |
static String |
stripExtension(String corps)
Get the base name of the tree bank, removing file extensions. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PROGRAM_NAME
public static final String VERSION
public static final String COPYRIGHT
public static boolean verbose
public static boolean quiet
Constructor Detail |
---|
public MonaSearch()
Method Detail |
---|
public static File getBaseFileDir()
public static void setBaseFileDir(File baseFileDir)
baseFileDir
- the baseFileDir to setpublic static String getLogFile()
public static void setLogFile(String logFile)
logFile
- the logFile to setpublic static File getCorporaDirectory()
public static File getMonaFileDirectory()
public static void main(String[] args) throws ParseException
args
- The arguments given on the command line.ParseException
- [CAN]
If the input formula could not be parsed successfully.public static void convertTreebank(File treebankFile) throws IOException, FormatException
treebankFile
- The tree bank file to convert.
IOException
- [CAN]
Either the given file is corrupted, could not be read or the binary object file could not be written.
FormatException
- [CAN]
If the format could not be detected, or this is not a NEGRA tree bank.public static String stripExtension(String corps)
corps
- The tree bank name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |