|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.stanford.nlp.ie.pcfg.XPNPC
Contains numerous PNPCs which it uses to determine the probable classification of different types of words. In particular, contains one PNPC for each word type (e.g., NNP, VP, ...). The PNPC for each word type has a category for each possible tag combination (e.g, NNP[{}], NNP[{purchaser}], ...).
Constructor Summary | |
XPNPC(List lexicon)
creates a new XPNPC. |
Method Summary | |
List |
GetLexicon(Tree tree)
Calculates a probability for each lexical rule that may have been used to generate this tree. |
static void |
main(String[] args)
tests the XPNPC functionality. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XPNPC(List lexicon)
Method Detail |
public List GetLexicon(Tree tree) throws IOException
IOException
public static void main(String[] args) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |