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 DiscourseConnective
addConnective(List<Token> tokens)
DiscourseConnective
addConnective(List<Token> tokens, String semanticType)
DiscourseConnective
getConnective(int index)
DiscourseConnective
getConnective(Token token)
Token[]
getTokens(DiscourseConnective connective)
String
getTypesTagset()
-
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)
-
-