|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.stanford.nlp.parser.lexparser.Options.LexOptions
public static class Options.LexOptions
| Field Summary | |
|---|---|
boolean |
flexiTag
|
boolean |
smartMutation
Smarter smoothing for rare words. |
int |
smoothInUnknownsThreshold
Words more common than this are tagged with MLE P(t|w). |
int |
unknownPrefixSize
For certain Lexicons, a certain number of word-initial letters are used to subclassify the unknown token. |
int |
unknownSuffixSize
For certain Lexicons, a certain number of word-final letters are used to subclassify the unknown token. |
boolean |
useSignatureForKnownSmoothing
Whether to use signature rather than just being unknown as prior in known word smoothing. |
boolean |
useUnicodeType
Make use of unicode code point types in smoothing. |
int |
useUnknownWordSignatures
Whether to use suffix and capitalization information for unknowns. |
java.lang.String |
uwModelTrainer
Trainer which produces model for unknown words that the lexicon should use |
| Constructor Summary | |
|---|---|
Options.LexOptions()
|
|
| Method Summary | |
|---|---|
void |
readData(java.io.BufferedReader in)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public int useUnknownWordSignatures
public int smoothInUnknownsThreshold
public boolean smartMutation
public boolean useUnicodeType
public int unknownSuffixSize
public int unknownPrefixSize
public java.lang.String uwModelTrainer
public boolean flexiTag
public boolean useSignatureForKnownSmoothing
| Constructor Detail |
|---|
public Options.LexOptions()
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
public void readData(java.io.BufferedReader in)
throws java.io.IOException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||