Package eu.clarin.weblicht.wlfxb.tc.api
Interface DiscourseConnectivesLayer
-
- All Superinterfaces:
TextCorpusLayer
- All Known Implementing Classes:
DiscourseConnectivesLayerStored
public interface DiscourseConnectivesLayer extends TextCorpusLayer
The DiscourseConnectivesLayer layer annotates discourse connectives. For each discourse connective its type can be specified. In such a case, the tagset used for discourse connectives types should be specified on the layer level.- Author:
- Yana Panchenko
-
-
Method Summary
Modifier and Type Method Description DiscourseConnectiveaddConnective(List<Token> tokens)DiscourseConnectiveaddConnective(List<Token> tokens, String semanticType)DiscourseConnectivegetConnective(int index)DiscourseConnectivegetConnective(Token token)Token[]getTokens(DiscourseConnective connective)StringgetTypesTagset()-
Methods inherited from interface eu.clarin.weblicht.wlfxb.tc.api.TextCorpusLayer
isEmpty, size
-
-
-
-
Method Detail
-
getTypesTagset
String getTypesTagset()
-
getConnective
DiscourseConnective getConnective(int index)
-
getConnective
DiscourseConnective getConnective(Token token)
-
getTokens
Token[] getTokens(DiscourseConnective connective)
-
addConnective
DiscourseConnective addConnective(List<Token> tokens)
-
addConnective
DiscourseConnective addConnective(List<Token> tokens, String semanticType)
-
-