edu.stanford.nlp.tagger.maxent
Class TTags

java.lang.Object
  |
  +--edu.stanford.nlp.tagger.maxent.TTags

public class TTags
extends Object

This class holds the POS tags, assigns them unique Id-s, knows which tags are open versus closed class, etc. Title: StanfordMaxEnt

Description: A Maximum Entropy Toolkit

Copyright: Copyright (c) Kristina Toutanova

Company: Stanford University


Constructor Summary
TTags()
           
 
Method Summary
 int add(String tag)
           
 int getIndex(String tag)
           
 String[] getOpenTags()
           
 int getSize()
           
 String getTag(int index)
           
 boolean isClosed(String tag)
           
 void read(String filename)
           
 void save(String filename)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TTags

public TTags()
Method Detail

getOpenTags

public String[] getOpenTags()

add

public int add(String tag)

getTag

public String getTag(int index)

save

public void save(String filename)

read

public void read(String filename)

isClosed

public boolean isClosed(String tag)

getIndex

public int getIndex(String tag)

getSize

public int getSize()


Stanford NLP Group