Package eu.clarin.weblicht.wlfxb.tc.api
Interface WordSensesLayer
-
- All Superinterfaces:
TextCorpusLayer
- All Known Implementing Classes:
WordSensesLayerStored
public interface WordSensesLayer extends TextCorpusLayer
The annotations in WordSensesLayer are represented by lexical units from a given word senses source. The layer annotates tokens with the disambiguated sense by specifying lexicon units representing the sense of the token. The lexical units can be represented by their ids in the source data base.- Author:
- Yana Panchenko
-
-
Method Summary
Modifier and Type Method Description WordSense
addWordSense(Token token, String... lexicalUnits)
WordSense
addWordSense(Token token, String comment, String... lexicalUnits)
WordSense
addWordSense(List<Token> tokens, String... lexicalUnits)
WordSense
addWordSense(List<Token> tokens, String comment, String... lexicalUnits)
String
getSource()
Token[]
getTokens(WordSense ws)
WordSense
getWordSense(int index)
WordSense
getWordSense(Token token)
-
Methods inherited from interface eu.clarin.weblicht.wlfxb.tc.api.TextCorpusLayer
isEmpty, size
-
-