|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.northwestern.at.wordhoard.tools.BuildPos
public class BuildPos
Builds the parts of speech.
Usage:
BuildkPos in dbname username password
in = Path to the parts of speech definition XML input file.
dbname = Database name.
username = MySQL username.
password = MySQL password.
Method Summary | |
---|---|
static void |
checkIds(java.util.ArrayList list)
Checks numeric Greek ids. |
static int |
getDig(org.w3c.dom.Element el,
java.lang.String attr,
java.lang.String[] vals)
Gets a Greek id digit. |
static void |
main(java.lang.String[] args)
The main program. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static int getDig(org.w3c.dom.Element el, java.lang.String attr, java.lang.String[] vals) throws java.lang.Exception
el
- "pos" element.attr
- Attribute name.vals
- Array of attribute values in order 1, 2, 3, ...
java.lang.Exception
public static void checkIds(java.util.ArrayList list) throws java.lang.Exception
This method checks all the Greek parts of speech to make sure there are no errors in the numeric encoding of the category values in the tags.
list
- Greek parts of speech list.
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 |