Converts MorphAdorner XML output to tab-separated tabular form.
Usage:
java edu.northwestern.at.morphadorner.tools.xmltotab.XMLToTab input.xml output.tab
where input.xml is the input XML file and output.tab is the output tab-separated values file.
Usage:
java edu.northwestern.at.morphadorner.tools.xmltotab.XMLToTab input.xml output.tab
input.xml -- input XML file.
output.tab -- output tab-separated values file.
The attribute values for each "<w>" element in the input XML file are extracted and output to a tab-separated values text file. An output line contains the following information corresponding to a single word "<w>" element.
This tabular representation of an adorned XML text is useful for data checking purposes. The morphological attribute values for each word <w> element appear as columns. The 80 characters (or so) of text on either side of the word allows you to focus on particular part of speech tags and pinpoint errors from the automatic adornment process. The tab separated values may also be used to construct spreadsheets or databases of the individual word information.