edu.stanford.nlp.parser.lexparser
Class Options.LexOptions

java.lang.Object
  extended by edu.stanford.nlp.parser.lexparser.Options.LexOptions
All Implemented Interfaces:
Serializable
Enclosing class:
Options

public static class Options.LexOptions
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
 boolean smartMutation
          Smarter smoothing for rare words.
 int smoothInUnknownsThreshold
          Words more common than this are tagged with MLE P(t|w).
 int useUnknownWordSignatures
          Use suffix and capitalization information for unknowns.
 
Constructor Summary
Options.LexOptions()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

useUnknownWordSignatures

public int useUnknownWordSignatures
Use suffix and capitalization information for unknowns. 0 means a single unknown token. 1 uses suffix, and capitalization. 2 uses a variant (richer) form of signature. Good. Use this one. Using the richer signatures in versions 3 or 4 seems to have very marginal or no positive value. 3 uses a richer form of signature that mimics the NER word type patterns. 4 is a variant of 2. 5 is another with more English specific morphology (good for English unknowns!)


smoothInUnknownsThreshold

public int smoothInUnknownsThreshold
Words more common than this are tagged with MLE P(t|w). Default 100. The smoothing is sufficiently slight that changing this has little effect.


smartMutation

public boolean smartMutation
Smarter smoothing for rare words.

Constructor Detail

Options.LexOptions

public Options.LexOptions()


Stanford NLP Group