Package eu.clarin.weblicht.wlfxb.tc.api
Interface TopologicalFieldsLayer
-
- All Superinterfaces:
TextCorpusLayer
- All Known Implementing Classes:
TopologicalFieldsLayerStored
public interface TopologicalFieldsLayer extends TextCorpusLayer
The TopologicalFieldLayer layer annotates tokens with topological field tags. Each tag element references a token, or sequence of tokens, and provides the tag string value. Tag values usually belong to some predefined standard tagset. The layer specifies the name of the tagset via the tagset attribute.- Author:
- Neele Witte
-
-
Method Summary
Modifier and Type Method Description TopologicalField
addTag(String tagString, Token tagToken)
TopologicalField
addTag(String tagString, List<Token> tagTokens)
TopologicalField
getTag(int index)
TopologicalField
getTag(Token token)
String
getTagset()
Token[]
getTokens(TopologicalField tag)
-
Methods inherited from interface eu.clarin.weblicht.wlfxb.tc.api.TextCorpusLayer
isEmpty, size
-
-
-
-
Method Detail
-
getTagset
String getTagset()
-
getTag
TopologicalField getTag(int index)
-
getTag
TopologicalField getTag(Token token)
-
getTokens
Token[] getTokens(TopologicalField tag)
-
addTag
TopologicalField addTag(String tagString, Token tagToken)
-
addTag
TopologicalField addTag(String tagString, List<Token> tagTokens)
-
-