public interface MorphAdornerXMLWriter
| Modifier and Type | Method and Description |
|---|---|
void |
writeXML(java.lang.String inFile,
java.lang.String outFile,
int maxID,
PartOfSpeechTags posTags,
java.util.Map<java.lang.Integer,java.lang.Integer> splitWords,
int totalWords,
int totalPageBreaks,
MorphAdorner adorner,
boolean tokenizingOnly)
Write XML output.
|
void writeXML(java.lang.String inFile,
java.lang.String outFile,
int maxID,
PartOfSpeechTags posTags,
java.util.Map<java.lang.Integer,java.lang.Integer> splitWords,
int totalWords,
int totalPageBreaks,
MorphAdorner adorner,
boolean tokenizingOnly)
throws java.io.IOException,
org.xml.sax.SAXException
inFile - The XML input file.outFile - The XML output file.maxID - The maximum ID value in the input file.posTags - The part of speech tags.splitWords - The map of (word ID, # of word parts)
for multipart words.totalWords - Total words.totalPageBreaks - Total page breaks.adorner - The adorner.tokenizingOnly - true if only performing tokenization.IOException, - SAXExceptionjava.io.IOExceptionorg.xml.sax.SAXException