eu.clarin.weblicht.wlfxb.tc.xb
Class WordSplittingLayerStored

java.lang.Object
  extended by eu.clarin.weblicht.wlfxb.tc.xb.TextCorpusLayerStoredAbstract
      extended by eu.clarin.weblicht.wlfxb.tc.xb.WordSplittingLayerStored
All Implemented Interfaces:
TextCorpusLayer, WordSplittingLayer

public class WordSplittingLayerStored
extends TextCorpusLayerStoredAbstract
implements WordSplittingLayer

Author:
Yana Panchenko

Field Summary
static String XML_NAME
           
 
Constructor Summary
protected WordSplittingLayerStored()
           
protected WordSplittingLayerStored(String type)
           
protected WordSplittingLayerStored(TextCorpusLayersConnector connector)
           
 
Method Summary
 WordSplit addSplit(Token token, int[] splitIndices)
           
 WordSplit getSplit(int index)
           
 WordSplit getSplit(Token token)
           
 Token getToken(WordSplit split)
           
 String getType()
           
 boolean isEmpty()
           
protected  void setLayersConnector(TextCorpusLayersConnector connector)
          Should not be used directly by users.
 int size()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

XML_NAME

public static final String XML_NAME
See Also:
Constant Field Values
Constructor Detail

WordSplittingLayerStored

protected WordSplittingLayerStored()

WordSplittingLayerStored

protected WordSplittingLayerStored(String type)

WordSplittingLayerStored

protected WordSplittingLayerStored(TextCorpusLayersConnector connector)
Method Detail

setLayersConnector

protected void setLayersConnector(TextCorpusLayersConnector connector)
Description copied from class: TextCorpusLayerStoredAbstract
Should not be used directly by users. Should be extended by all implementations of TextCorpusLayers, as they might depend on other layers and therefore be able to get referenced/referencing information.

Specified by:
setLayersConnector in class TextCorpusLayerStoredAbstract

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface TextCorpusLayer

size

public int size()
Specified by:
size in interface TextCorpusLayer

getType

public String getType()
Specified by:
getType in interface WordSplittingLayer

getSplit

public WordSplit getSplit(int index)
Specified by:
getSplit in interface WordSplittingLayer

getSplit

public WordSplit getSplit(Token token)
Specified by:
getSplit in interface WordSplittingLayer

getToken

public Token getToken(WordSplit split)
Specified by:
getToken in interface WordSplittingLayer

addSplit

public WordSplit addSplit(Token token,
                          int[] splitIndices)
Specified by:
addSplit in interface WordSplittingLayer

toString

public String toString()
Overrides:
toString in class Object


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