eu.clarin.weblicht.wlfxb.tc.api
Interface WordSplittingLayer

All Superinterfaces:
TextCorpusLayer
All Known Implementing Classes:
WordSplittingLayerStored

public interface WordSplittingLayer
extends TextCorpusLayer

The WordSplittingLayer annotates tokens with regard to character intervals the token can be split into. The type of the splitting is specified at the layer level. Each split references the token it annotates and character offsets of the splits (count of characters should start at 0).

Author:
Yana Panchenko

Method Summary
 WordSplit addSplit(Token token, int[] splitIndices)
           
 WordSplit getSplit(int index)
           
 WordSplit getSplit(Token token)
           
 Token getToken(WordSplit split)
           
 String getType()
           
 
Methods inherited from interface eu.clarin.weblicht.wlfxb.tc.api.TextCorpusLayer
isEmpty, size
 

Method Detail

getType

String getType()

getSplit

WordSplit getSplit(int index)

getSplit

WordSplit getSplit(Token token)

getToken

Token getToken(WordSplit split)

addSplit

WordSplit addSplit(Token token,
                   int[] splitIndices)


Copyright © 2013-2014 Department of Linguistics, Tübingen University. All Rights Reserved.