public interface AdornedWordOutputter
Modifier and Type | Method and Description |
---|---|
void |
close()
Close outputter.
|
void |
createOutputFile(java.lang.String fileName,
java.lang.String encoding,
char sepChar)
Create output file.
|
java.lang.String |
getOutputFileEncoding()
Get output file encoding.
|
java.lang.String |
getOutputFileName()
Get output file name.
|
void |
outputWordAndAdornments(java.util.List<java.lang.String> wordAndAdornments)
Outputs a word and its adornments (part of speech, lemmata, etc).
|
void |
outputWordAndAdornments(java.lang.String[] wordAndAdornments)
Outputs a word and its adornments (part of speech, lemmata, etc).
|
void |
setWordAttributeNames(java.util.List<java.lang.String> wordAttributeNames)
Set word attribute names.
|
void outputWordAndAdornments(java.lang.String[] wordAndAdornments) throws java.io.IOException
wordAndAdornments
- Word and its adornments as
an array of string.java.io.IOException
- If an output error occurs.void outputWordAndAdornments(java.util.List<java.lang.String> wordAndAdornments) throws java.io.IOException
wordAndAdornments
- Word and its adornments as a list.java.io.IOException
- If an output error occurs.void createOutputFile(java.lang.String fileName, java.lang.String encoding, char sepChar) throws java.io.IOException
fileName
- The output file name.encoding
- The encoding for the output file.sepChar
- The separator character.java.io.IOException
java.lang.String getOutputFileName()
java.lang.String getOutputFileEncoding()
void setWordAttributeNames(java.util.List<java.lang.String> wordAttributeNames)
wordAttributeNames
- Word attribute names.void close()