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()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TTags
public TTags()
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