|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.nlp.parser.lexparser.Options
Field Summary | |
boolean |
coarseDistance
Use coarser distance (4 bins) in dependency calculations |
boolean |
dcTags
"double count" tags rewrites as word in PCFG and Dep parser. |
boolean |
directional
Whether dependency grammar considers left/right direction. |
boolean |
distance
Use distance bins in the dependency calculations |
boolean |
doDep
Do a dependency parse of the sentence. |
boolean |
doPCFG
Do a PCFG parse of the sentence. |
boolean |
flexiTag
|
boolean |
forceCNF
Forces parsing with strictly CNF grammar -- unary chains are converted to XP&YP symbols and back |
boolean |
freeDependencies
if true, any child can be the head (seems rather bad!) |
boolean |
genStop
|
int |
numStates
|
int |
numTags
|
int |
numWords
|
boolean |
smartMutation
Smarter smoothing for rare words. |
int |
SMOOTH_IN_UNKNOWNS_THRESHOLD
Words more common than this are tagged with MLE P(t|w). |
TreebankLangParserParams |
tlpParams
The treebank-specific parser parameters to use. |
int |
useUnknownWordSignatures
Use suffix and capitalization information for unknowns. |
Method Summary | |
void |
display()
|
static Options |
get()
|
TreebankLanguagePack |
langpack()
returns the treebank language pack for the treebank the parser is trained on. |
void |
readData(BufferedReader in)
Populates data in this Options from the character stream given by the Reader r. |
static void |
set(Options pt)
|
void |
writeData(Writer w)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int numWords
public int numTags
public int numStates
public int useUnknownWordSignatures
public int SMOOTH_IN_UNKNOWNS_THRESHOLD
public TreebankLangParserParams tlpParams
public boolean smartMutation
public boolean forceCNF
public boolean doPCFG
public boolean doDep
public boolean freeDependencies
public boolean directional
public boolean genStop
public boolean distance
public boolean coarseDistance
public boolean flexiTag
public boolean dcTags
Method Detail |
public static Options get()
public static void set(Options pt)
public TreebankLanguagePack langpack()
public void display()
public void writeData(Writer w) throws IOException
IOException
public void readData(BufferedReader in) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |