public class UsingAnAdornedText
extends java.lang.Object
Usage:
java -Xmx256m edu.northwestern.at.morphadorner.example.UsingAnAdornedText adornedtext.xml id1 id2 id3 id4
where
Modifier and Type | Field and Description |
---|---|
protected static java.io.PrintStream |
printStream
UTF-8 print stream.
|
protected static java.util.List<java.lang.String> |
wordIDs
The word IDs.
|
protected static AdornedXMLReader |
xmlReader
Adorned XML reader.
|
Constructor and Description |
---|
UsingAnAdornedText() |
Modifier and Type | Method and Description |
---|---|
static void |
doit(java.lang.String[] args)
Read adorned file and perform extraction operations.
|
static void |
generateXML(java.lang.String firstWordID,
java.lang.String secondWordID)
Generate XML from one word ID to another.
|
static void |
main(java.lang.String[] args)
Main program.
|
protected static AdornedXMLReader xmlReader
protected static java.util.List<java.lang.String> wordIDs
protected static java.io.PrintStream printStream
public static void main(java.lang.String[] args)
public static void doit(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public static void generateXML(java.lang.String firstWordID, java.lang.String secondWordID)
firstWordID
- First word ID.secondWordID
- Second word ID.