eu.clarin.weblicht.wlfxb.tc.xb
Class NamedEntitiesLayerStored
java.lang.Object
eu.clarin.weblicht.wlfxb.tc.xb.TextCorpusLayerStoredAbstract
eu.clarin.weblicht.wlfxb.tc.xb.NamedEntitiesLayerStored
- All Implemented Interfaces:
- NamedEntitiesLayer, TextCorpusLayer
public class NamedEntitiesLayerStored
- extends TextCorpusLayerStoredAbstract
- implements NamedEntitiesLayer
- Author:
- Yana Panchenko
XML_NAME
public static final String XML_NAME
- See Also:
- Constant Field Values
NamedEntitiesLayerStored
protected NamedEntitiesLayerStored()
NamedEntitiesLayerStored
protected NamedEntitiesLayerStored(String type)
NamedEntitiesLayerStored
protected NamedEntitiesLayerStored(TextCorpusLayersConnector connector)
setLayersConnector
protected void setLayersConnector(TextCorpusLayersConnector connector)
- Description copied from class:
TextCorpusLayerStoredAbstract
- Should not be used directly by users. Should be extended by all
implementations of TextCorpusLayers, as they might depend on other layers
and therefore be able to get referenced/referencing information.
- Specified by:
setLayersConnector in class TextCorpusLayerStoredAbstract
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface TextCorpusLayer
size
public int size()
- Specified by:
size in interface TextCorpusLayer
getType
public String getType()
- Specified by:
getType in interface NamedEntitiesLayer
getFoundTypes
public Set<String> getFoundTypes()
- Specified by:
getFoundTypes in interface NamedEntitiesLayer
getEntity
public NamedEntity getEntity(int index)
- Specified by:
getEntity in interface NamedEntitiesLayer
getEntity
public NamedEntity getEntity(Token token)
- Specified by:
getEntity in interface NamedEntitiesLayer
getEntities
public List<NamedEntity> getEntities(Token token)
- Specified by:
getEntities in interface NamedEntitiesLayer
getTokens
public Token[] getTokens(NamedEntity entity)
- Specified by:
getTokens in interface NamedEntitiesLayer
addEntity
public NamedEntity addEntity(String entityType,
Token tagToken)
- Specified by:
addEntity in interface NamedEntitiesLayer
addEntity
public NamedEntity addEntity(String entityType,
List<Token> entityTokens)
- Specified by:
addEntity in interface NamedEntitiesLayer
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013-2014 Department of Linguistics, Tübingen University. All Rights Reserved.