public class LexiconStreamed extends LexiconStored
WLData class.lang, layersInOrder, XML_NAME, XML_NAMESPACE| Constructor and Description |
|---|
LexiconStreamed(InputStream inputStream,
EnumSet<LexiconLayerTag> layersToRead)
Creates a LexiconStreamed from the given TCF input stream and
specified annotation layers.
|
LexiconStreamed(InputStream inputStream,
EnumSet<LexiconLayerTag> layersToRead,
OutputStream outputStream)
Creates a LexiconStreamed from the given TCF input stream,
specified annotation layers and the output stream.
|
LexiconStreamed(InputStream inputStream,
EnumSet<LexiconLayerTag> layersToRead,
OutputStream outputStream,
boolean outputAsXmlFragment)
Creates a LexiconStreamed from the given TCF input stream,
specified annotation layers and the output stream.
|
LexiconStreamed(InputStream inputStream,
EnumSet<LexiconLayerTag> layersToRead,
OutputStream outputStream,
List<MetaDataItem> metaDataToAdd)
Creates a LexiconStreamed from the given TCF input stream,
specified annotation layers, output stream and meta data.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the input and output streams associated with this object and
releases any associated system resources.
|
afterUnmarshal, connectLayers, createCooccurrencesLayer, createEntriesLayer, createFrequenciesLayer, createPosTagsLayer, createSyllabificationsLayer, createSynonymsLayer, getCooccurrencesLayer, getEntriesLayer, getFrequenciesLayer, getLanguage, getPosTagsLayer, getSyllabificationsLayer, getSynonymsLayer, setCooccurrencesLayer, setEntriesLayer, setFrequenciesLayer, setPosTagsLayer, setSyllabificationsLayer, setSynonymsLayer, toStringpublic LexiconStreamed(InputStream inputStream, EnumSet<LexiconLayerTag> layersToRead) throws WLFormatException
inputStream - the underlying input stream with linguistic
annotations in TCF format.layersToRead - the annotation layers of Lexicon that should
be read into this LexiconStreamed.WLFormatException - if an error in input format or an I/O error
occurs.public LexiconStreamed(InputStream inputStream, EnumSet<LexiconLayerTag> layersToRead, OutputStream outputStream) throws WLFormatException
inputStream - the underlying input stream with linguistic
annotations in TCF format.layersToRead - the annotation layers of Lexicon that should
be read into this LexiconStreamed.outputStream - the underlying output stream into which the
annotations from the input stream and any new created annotations will be
written (in TCF format).WLFormatException - if an error in input format or an I/O error
occurs.public LexiconStreamed(InputStream inputStream, EnumSet<LexiconLayerTag> layersToRead, OutputStream outputStream, boolean outputAsXmlFragment) throws WLFormatException
inputStream - the underlying input stream with linguistic
annotations in TCF format.layersToRead - the annotation layers of Lexicon that should
be read into this LexiconStreamed.outputStream - the underlying output stream into which the
annotations from the input stream and any new created annotations will be
written (in TCF format).outputAsXmlFragment - true if the output should not contain xml
headers, false otherwise.WLFormatException - if an error in input format or an I/O error
occurs.public LexiconStreamed(InputStream inputStream, EnumSet<LexiconLayerTag> layersToRead, OutputStream outputStream, List<MetaDataItem> metaDataToAdd) throws WLFormatException
inputStream - the underlying input stream with linguistic
annotations in TCF format.layersToRead - the annotation layers of Lexicon that should
be read into this LexiconStreamed.outputStream - the underlying output stream into which the
annotations from the input stream and any new created annotations will be
written (in TCF format).metaDataToAdd - meta data to be added to the output TCF.WLFormatException - if an error in input format or an I/O error
occurs.public void close()
throws WLFormatException
WLFormatException - if an error in input format or an I/O error
occurs.Copyright © 2013-2014 Department of Linguistics, Tübingen University. All Rights Reserved.