org.annolab.tt4j
Class TreeTaggerModel

java.lang.Object
  extended by org.annolab.tt4j.TreeTaggerModel

public class TreeTaggerModel
extends Object

TreeTagger model data. This class currently supports only a subset of the information contained in the TreeTagger model files.

Author:
Richard Eckart de Castilho

Field Summary
static int VERSION_3_1
           
static int VERSION_3_2
           
 
Constructor Summary
TreeTaggerModel()
           
 
Method Summary
 ByteOrder getByteOrder()
           
 List<String> getLemmas()
           
 String getSource()
           
 List<String> getTags()
           
 List<String> getTokens()
           
 int getVersion()
           
 void setByteOrder(ByteOrder aByteOrder)
           
 void setLemmas(List<String> aLemmas)
           
 void setSource(String aSource)
           
 void setTags(List<String> aTags)
           
 void setTokens(List<String> aTokens)
           
 void setVersion(int aVersion)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION_3_1

public static final int VERSION_3_1
See Also:
Constant Field Values

VERSION_3_2

public static final int VERSION_3_2
See Also:
Constant Field Values
Constructor Detail

TreeTaggerModel

public TreeTaggerModel()
Method Detail

getSource

public String getSource()

setSource

public void setSource(String aSource)

getByteOrder

public ByteOrder getByteOrder()

setByteOrder

public void setByteOrder(ByteOrder aByteOrder)

getVersion

public int getVersion()

setVersion

public void setVersion(int aVersion)

getTags

public List<String> getTags()

setTags

public void setTags(List<String> aTags)

getLemmas

public List<String> getLemmas()

setLemmas

public void setLemmas(List<String> aLemmas)

getTokens

public List<String> getTokens()

setTokens

public void setTokens(List<String> aTokens)


Copyright © 2012. All Rights Reserved.