Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
get_rules | 2011-02-27 | ||
readme.txt | 2011-02-27 | 359 Bytes | |
phr.zip | 2011-02-27 | 87.1 MB | |
makefile | 2011-02-26 | 356 Bytes | |
Symbol.h | 2011-02-26 | 153 Bytes | |
TreeIterator.h | 2011-02-26 | 492 Bytes | |
TreeKey.h | 2011-02-26 | 373 Bytes | |
ProbRule.h | 2011-02-26 | 799 Bytes | |
PCFGVal.h | 2011-02-26 | 767 Bytes | |
PCFGTerminalSymbol.h | 2011-02-26 | 680 Bytes | |
PCFGSymbol.h | 2011-02-26 | 475 Bytes | |
PCFGNonTerminalSymbol.h | 2011-02-26 | 826 Bytes | |
PCFGKey.h | 2011-02-26 | 145 Bytes | |
Main.h | 2011-02-26 | 37 Bytes | |
Main.cpp | 2011-02-26 | 9.4 kB | |
Cyk.h | 2011-02-26 | 606 Bytes | |
Cyk.cpp | 2011-02-26 | 20.4 kB | |
Bracket.h | 2011-02-26 | 162 Bytes | |
Bracket.cpp | 2011-02-26 | 304 Bytes | |
Totals: 19 Items | 87.1 MB | 1 |
1 The files in the get_rules folder are to generate the PCFG rules "phr.mod" for the parser. Change the path in the main.java to the folder containing PTB wsj data. You can also unzip phr.zip to get "phr.mod". 2 compile make 3 run .\udop phr.mod wsj10 "wsj10" is the file that contains the sentences no greater than 10 english words in WSJ.