edu.stanford.nlp.tagger.maxent
Class PairsHolder

java.lang.Object
  extended by edu.stanford.nlp.tagger.maxent.PairsHolder

public class PairsHolder
extends Object

A simple class that maintains a list of WordTag pairs which are interned as they are added. This stores a tagged corpus.

Author:
Kristina Toutanova

Constructor Summary
PairsHolder()
           
 
Method Summary
 int getSize()
           
 void read(String filename)
           
 void release()
           
 void save(String filename)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PairsHolder

public PairsHolder()
Method Detail

getSize

public int getSize()

release

public void release()

save

public void save(String filename)

read

public void read(String filename)


Stanford NLP Group