|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.northwestern.at.wordhoard.tools.BuildWorks
public class BuildWorks
Builds works.
Usage:
BuildWorks in db username password [spellings] [debug]
in = Path to a work definition XML input file, or a path to a directory of such files. If a directory path is specified, all files in the file system tree rooted at the directory whose names end in ".xml" are processed.
dbname = Database name.
username = MySQL username.
password = MySQL password.
spellings = Optional path to a standard spellings definition XML input file, or a path to a directory of such files. If a directory path is specified, all files in the file system tree rooted at the directory whose names end in ".xml" are processed.
debug = Debugging option. If present, the WordHoard client is run and the newly built work is opened. In addition, tagged words are not saved in the database, to make the program run much faster. This option is useful when working on text formatting issues. If a directory is being processed, this option is ignored.
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
The main program. |
static void |
setCorpusCounters()
Sets the corpus counters. |
static void |
setPartCounters(WorkPart part,
int numLines,
int numWords)
Sets the line and word counters for a work part. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void setPartCounters(WorkPart part, int numLines, int numWords) throws java.lang.Exception
part
- Work part.numLines
- Number of lines in work part proper (not including
descendants).numWords
- Number of words in work part proper (not including
descendants).
java.lang.Exception
public static void setCorpusCounters() throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] args)
args
- Command line arguments.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |