edu.stanford.nlp.tagger.maxent
Class TaggerConfig

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<Object,Object>
          extended by java.util.Properties
              extended by edu.stanford.nlp.tagger.maxent.TaggerConfig
All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>

public class TaggerConfig
extends Properties

Reads and stores configuration information for a POS tagger.

Author:
William Morgan, Anna Rafferty
See Also:
Serialized Form

Nested Class Summary
static class TaggerConfig.Mode
           
 
Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
TaggerConfig(String[] args)
           
 
Method Summary
 void dump()
           
 void dump(PrintStream stream)
           
 void dump(PrintWriter pw)
           
 String getArch()
           
 String[] getClosedClassTags()
           
 int getClosedTagThreshold()
           
 int getCurWordMinFeatureThresh()
           
 boolean getDebug()
           
 String getDebugPrefix()
           
 String getDelimiter()
           
 String getEncoding()
           
 String getFile()
           
 boolean getInitFromTrees()
           
 int getIterations()
           
 String getLang()
           
 boolean getLearnClosedClassTags()
           
 int getMinFeatureThresh()
           
 TaggerConfig.Mode getMode()
           
 String getModel()
           
 String[] getOpenClassTags()
           
 int getRareWordMinFeatureThresh()
           
 int getRareWordThresh()
           
 String getSearch()
           
 boolean getSGML()
           
 double getSigmaSquared()
           
 String getTagInside()
           
 boolean getTokenize()
           
 String getTokenizerFactory()
           
 TreeNormalizer getTreeNormalizer()
           
 String getTreeRange()
           
 TreeTransformer getTreeTransformer()
           
 boolean getVerbose()
           
 int getVeryCommonWordThresh()
           
 String[] getXMLInput()
           
 String getXMLOutput()
           
 String toString()
           
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TaggerConfig

public TaggerConfig(String[] args)
             throws IOException
Throws:
IOException
Method Detail

getModel

public String getModel()

getFile

public String getFile()

getSearch

public String getSearch()

getSigmaSquared

public double getSigmaSquared()

getIterations

public int getIterations()

getRareWordThresh

public int getRareWordThresh()

getMinFeatureThresh

public int getMinFeatureThresh()

getCurWordMinFeatureThresh

public int getCurWordMinFeatureThresh()

getRareWordMinFeatureThresh

public int getRareWordMinFeatureThresh()

getVeryCommonWordThresh

public int getVeryCommonWordThresh()

getLang

public String getLang()

getOpenClassTags

public String[] getOpenClassTags()

getClosedClassTags

public String[] getClosedClassTags()

getLearnClosedClassTags

public boolean getLearnClosedClassTags()

getClosedTagThreshold

public int getClosedTagThreshold()

getArch

public String getArch()

getDebug

public boolean getDebug()

getDebugPrefix

public String getDebugPrefix()

getTokenizerFactory

public String getTokenizerFactory()

getDelimiter

public final String getDelimiter()

getTokenize

public boolean getTokenize()

getEncoding

public String getEncoding()

getXMLInput

public String[] getXMLInput()

getXMLOutput

public String getXMLOutput()

getInitFromTrees

public boolean getInitFromTrees()

getTreeRange

public String getTreeRange()

getVerbose

public boolean getVerbose()

getSGML

public boolean getSGML()

getTagInside

public String getTagInside()

getTreeTransformer

public TreeTransformer getTreeTransformer()

getTreeNormalizer

public TreeNormalizer getTreeNormalizer()

dump

public void dump()

dump

public void dump(PrintStream stream)

dump

public void dump(PrintWriter pw)

toString

public String toString()
Overrides:
toString in class Hashtable<Object,Object>

getMode

public TaggerConfig.Mode getMode()


Stanford NLP Group