eu.clarin.weblicht.wlfxb.xb
Class WLData

java.lang.Object
  extended by eu.clarin.weblicht.wlfxb.xb.WLData

public class WLData
extends Object

Class WLData represents TCF annotations. Corresponds to TCF specification. WLData annotations can be: 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.

Author:
Yana Panchenko

Field Summary
static String XML_NAME
           
static String XML_NAMESPACE
           
static String XML_VERSION
           
 
Constructor Summary
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.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XML_NAME

public static final String XML_NAME
See Also:
Constant Field Values

XML_NAMESPACE

public static final String XML_NAMESPACE
See Also:
Constant Field Values

XML_VERSION

public static final String XML_VERSION
See Also:
Constant Field Values
Constructor Detail

WLData

public WLData(MetaData metaData,
              ExternalDataStored extData)
Creates WLData with the given meta data and external data annotations.

Parameters:
metaData - meta data
extData - external data

WLData

public WLData(MetaData metaData,
              TextCorpusStored textCorpus)
Creates WLData with the given meta data and text corpus annotations.

Parameters:
metaData - meta data
textCorpus - text corpus

WLData

public WLData(MetaData metaData,
              ExternalDataStored extData,
              TextCorpusStored textCorpus)
Creates WLData with the given meta data, external data and text corpus annotations.

Parameters:
metaData - meta data
extData - external data
textCorpus - text corpus

WLData

public WLData(TextCorpusStored textCorpus)
Creates WLData with the given text corpus annotations.

Parameters:
textCorpus - text corpus

WLData

public WLData(ExternalDataStored extData)
Creates WLData with the given external data annotations.

Parameters:
extData - external data

WLData

public WLData(ExternalDataStored extData,
              TextCorpusStored textCorpus)
Creates WLData with the given external data and text corpus annotations.

Parameters:
extData - external data
textCorpus - text corpus

WLData

public WLData(MetaData metaData,
              LexiconStored lexicon)
Creates WLData with the given meta data and lexicon annotations.

Parameters:
metaData - meta data
lexicon - lexicon

WLData

public WLData(LexiconStored lexicon)
Creates WLData with the given lexicon annotations.

Parameters:
lexicon - lexicon
Method Detail

getVersion

public String getVersion()
Gets version of the WLData.

Returns:
the version.

getMetaData

public MetaData getMetaData()
Gets meta data of the WLData.

Returns:
the meta data.

getExternalData

public ExternalDataStored getExternalData()
Gets external data annotations of the WLData.

Returns:
the external data annotations.

getTextCorpus

public TextCorpusStored getTextCorpus()
Gets text corpus annotations of the WLData.

Returns:
the text corpus annotations.

getLexicon

public LexiconStored getLexicon()
Gets lexicon annotations of the WLData.

Returns:
the lexicon annotations.


Copyright © 2013 Department of Linguistics, Tübingen University. All Rights Reserved.