eu.clarin.weblicht.wlfxb.tc.api
Interface MorphologyLayer
- All Superinterfaces:
- TextCorpusLayer
- All Known Implementing Classes:
- MorphologyLayerStored
public interface MorphologyLayer
- extends TextCorpusLayer
The MorphologyLayer layer specifies the morphological features of
tokens. Each morphology annotation (analysis) contains a list of morphological
features with either a feature name - feature value pair, or a feature name -
feature sub-features pair. Additionally, the morphology layer specifies
whether it contains optional segmentation annotations. Segmentation
annotations specify morphological features of segments of a given token.
- Author:
- Yana Panchenko
|
Method Summary |
MorphologyAnalysis |
addAnalysis(List<Token> analysedTokens,
List<Feature> morphologyFeatures)
|
MorphologyAnalysis |
addAnalysis(List<Token> analysedTokens,
List<Feature> morphologyFeatures,
List<MorphologySegment> segments)
|
MorphologyAnalysis |
addAnalysis(Token analysedToken,
List<Feature> morphologyFeatures)
|
MorphologyAnalysis |
addAnalysis(Token analysedToken,
List<Feature> morphologyFeatures,
List<MorphologySegment> segments)
|
Feature |
createFeature(String name,
List<Feature> subfeatures)
|
Feature |
createFeature(String name,
String value)
|
MorphologySegment |
createSegment(String type,
String category,
String function,
Integer start,
Integer end,
List<MorphologySegment> subsegments)
|
MorphologySegment |
createSegment(String type,
String category,
String function,
Integer start,
Integer end,
String value)
|
MorphologyAnalysis |
getAnalysis(int index)
|
MorphologyAnalysis |
getAnalysis(Token token)
|
Token[] |
getTokens(MorphologyAnalysis analysis)
|
boolean |
hasCharoffsets()
|
boolean |
hasSegmentation()
|
hasSegmentation
boolean hasSegmentation()
hasCharoffsets
boolean hasCharoffsets()
getAnalysis
MorphologyAnalysis getAnalysis(int index)
getAnalysis
MorphologyAnalysis getAnalysis(Token token)
getTokens
Token[] getTokens(MorphologyAnalysis analysis)
addAnalysis
MorphologyAnalysis addAnalysis(Token analysedToken,
List<Feature> morphologyFeatures)
addAnalysis
MorphologyAnalysis addAnalysis(Token analysedToken,
List<Feature> morphologyFeatures,
List<MorphologySegment> segments)
addAnalysis
MorphologyAnalysis addAnalysis(List<Token> analysedTokens,
List<Feature> morphologyFeatures)
addAnalysis
MorphologyAnalysis addAnalysis(List<Token> analysedTokens,
List<Feature> morphologyFeatures,
List<MorphologySegment> segments)
createFeature
Feature createFeature(String name,
String value)
createFeature
Feature createFeature(String name,
List<Feature> subfeatures)
createSegment
MorphologySegment createSegment(String type,
String category,
String function,
Integer start,
Integer end,
String value)
createSegment
MorphologySegment createSegment(String type,
String category,
String function,
Integer start,
Integer end,
List<MorphologySegment> subsegments)
Copyright © 2013 Department of Linguistics, Tübingen University. All Rights Reserved.