Package edu.northwestern.at.morphadorner.tools.countaffixes

Counts affixes (suffixes and prefixes) of adorned words by processing MorphAdorner XML output.

See: Description

Package edu.northwestern.at.morphadorner.tools.countaffixes Description

Counts affixes (suffixes and prefixes) of adorned words by processing MorphAdorner XML output.

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.