public class WLData extends Object
TextCorpus
annotations represent annotations on written connected text,
Lexicon annotations represent
linguistic information on a list of words,
ExternalData annotations represent
annotations that are related to the annotations inside TCF but themselves
are stored outside of TCF.
Class WLData can be marshaled into XML representation of TCF. See
also WLDObjector.| Modifier and Type | Field and Description |
|---|---|
static String |
XML_DEFAULT_VERSION |
static String |
XML_NAME |
static String |
XML_NAMESPACE |
static String |
XML_VERSION_04 |
static String |
XML_VERSION_5 |
| Constructor and Description |
|---|
WLData(ExternalDataStored extData)
Creates WLData with the given external data annotations.
|
WLData(ExternalDataStored extData,
TextCorpusStored textCorpus)
Creates WLData with the given external data and text corpus
annotations.
|
WLData(LexiconStored lexicon)
Creates WLData with the given lexicon annotations.
|
WLData(MetaData metaData,
ExternalDataStored extData)
Creates WLData with the given meta data and external data
annotations.
|
WLData(MetaData metaData,
ExternalDataStored extData,
TextCorpusStored textCorpus)
Creates WLData with the given meta data, external data and text
corpus annotations.
|
WLData(MetaData metaData,
LexiconStored lexicon)
Creates WLData with the given meta data and lexicon annotations.
|
WLData(MetaData metaData,
TextCorpusStored textCorpus)
Creates WLData with the given meta data and text corpus
annotations.
|
WLData(TextCorpusStored textCorpus)
Creates WLData with the given text corpus annotations.
|
| Modifier and Type | Method and Description |
|---|---|
ExternalDataStored |
getExternalData()
Gets external data annotations of the WLData.
|
LexiconStored |
getLexicon()
Gets lexicon annotations of the WLData.
|
MetaData |
getMetaData()
Gets meta data of the WLData.
|
TextCorpusStored |
getTextCorpus()
Gets text corpus annotations of the WLData.
|
String |
getVersion()
Gets version of the WLData.
|
void |
setVersion(String version)
Sets version of the WLData.
|
public static final String XML_NAME
public static final String XML_NAMESPACE
public static final String XML_VERSION_5
public static final String XML_VERSION_04
public static final String XML_DEFAULT_VERSION
public WLData(MetaData metaData, ExternalDataStored extData)
metaData - meta dataextData - external datapublic WLData(MetaData metaData, TextCorpusStored textCorpus)
metaData - meta datatextCorpus - text corpuspublic WLData(MetaData metaData, ExternalDataStored extData, TextCorpusStored textCorpus)
metaData - meta dataextData - external datatextCorpus - text corpuspublic WLData(TextCorpusStored textCorpus)
textCorpus - text corpuspublic WLData(ExternalDataStored extData)
extData - external datapublic WLData(ExternalDataStored extData, TextCorpusStored textCorpus)
extData - external datatextCorpus - text corpuspublic WLData(MetaData metaData, LexiconStored lexicon)
metaData - meta datalexicon - lexiconpublic WLData(LexiconStored lexicon)
lexicon - lexiconpublic String getVersion()
public MetaData getMetaData()
public ExternalDataStored getExternalData()
public TextCorpusStored getTextCorpus()
public LexiconStored getLexicon()
public void setVersion(String version)
version - the version stringCopyright © 2013-2019 Department of Linguistics, Tübingen University. All Rights Reserved.