public class CountAffixes
extends java.lang.Object
Usage:
java edu.northwestern.at.morphadorner.tools.countaffixes.CountAffixes input.xml prefixes.tab suffixes.tab
input.xml -- input XML file produced as output by MorphAdorner.
prefixes.tab -- output tab-separated prefixes file described below.
suffixes.tab -- output tab-separated suffixes file described below.
Both the prefixes.tab and suffixes.tab output files contain two tab-separated columns. The first column is a prefix or suffix string, respectively, and the second column contains the count of the number of times that prefix or suffix occurred in the unique words in the input.xml file.
Constructor and Description |
---|
CountAffixes(java.lang.String[] args)
Supervises count of affixes for word specified by XML "
|
Modifier and Type | Method and Description |
---|---|
static void |
displayUsage()
Display brief program usage.
|
static void |
main(java.lang.String[] args)
Main program.
|