eu.clarin.weblicht.wlfxb.ed.xb
Class ExternalDataStored
java.lang.Object
eu.clarin.weblicht.wlfxb.ed.xb.ExternalDataStored
- All Implemented Interfaces:
- ExternalData
public class ExternalDataStored
- extends Object
- implements ExternalData
- Author:
- Yana Panchenko
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
ExternalDataStored
public ExternalDataStored()
getLayers
public List<ExternalDataLayer> getLayers()
- Specified by:
getLayers in interface ExternalData
createSpeechSignalLayer
public SpeechSignalLayer createSpeechSignalLayer(String mimeType)
- Specified by:
createSpeechSignalLayer in interface ExternalData
createSpeechSignalLayer
public SpeechSignalLayer createSpeechSignalLayer(String mimeType,
int numberOfChannels)
- Specified by:
createSpeechSignalLayer in interface ExternalData
createTokenSegmentationLayer
public TokenSegmentationLayer createTokenSegmentationLayer(String mimeType)
- Specified by:
createTokenSegmentationLayer in interface ExternalData
createPhoneticSegmentationLayer
public PhoneticSegmentationLayer createPhoneticSegmentationLayer(String mimeType)
- Specified by:
createPhoneticSegmentationLayer in interface ExternalData
createCanonicalSegmentationLayer
public CanonicalSegmentationLayer createCanonicalSegmentationLayer(String mimeType)
- Specified by:
createCanonicalSegmentationLayer in interface ExternalData
createNamedEntityModelLayer
public NamedEntityModelLayer createNamedEntityModelLayer(String mimeType,
String neType,
String modelType)
- Specified by:
createNamedEntityModelLayer in interface ExternalData
setSpeechSignalLayer
protected void setSpeechSignalLayer(SpeechSignalLayerStored layer)
getSpeechSignalLayer
public SpeechSignalLayerStored getSpeechSignalLayer()
- Specified by:
getSpeechSignalLayer in interface ExternalData
setTokenSegmentationLayer
protected void setTokenSegmentationLayer(TokenSegmentationLayerStored layer)
getTokenSegmentationLayer
public TokenSegmentationLayerStored getTokenSegmentationLayer()
- Specified by:
getTokenSegmentationLayer in interface ExternalData
setPhoneticSegmentationLayer
protected void setPhoneticSegmentationLayer(PhoneticSegmentationLayerStored layer)
getPhoneticSegmentationLayer
public PhoneticSegmentationLayerStored getPhoneticSegmentationLayer()
- Specified by:
getPhoneticSegmentationLayer in interface ExternalData
setCanonicalSegmentationLayer
protected void setCanonicalSegmentationLayer(CanonicalSegmentationLayerStored layer)
getCanonicalSegmentationLayer
public CanonicalSegmentationLayerStored getCanonicalSegmentationLayer()
- Specified by:
getCanonicalSegmentationLayer in interface ExternalData
setNamedEntityModelLayer
protected void setNamedEntityModelLayer(NamedEntityModelLayerStored layer)
getNamedEntityModelLayer
public NamedEntityModelLayerStored getNamedEntityModelLayer()
- Specified by:
getNamedEntityModelLayer in interface ExternalData
toString
public String toString()
- Overrides:
toString in class Object
compose
public static ExternalDataStored compose(ExternalDataLayerStored... layers)
- Composes the layers into one document. Normally, you should not use this
method, unless you want to manually compose document from the layer
pieces.
- Parameters:
layers -
- Returns:
- external data composed of the provided layers
Copyright © 2013-2014 Department of Linguistics, Tübingen University. All Rights Reserved.