Method | Description | |
---|---|---|
CykParser ( CNFGrammar grammar ) : CFGLib.Parsers.Forests | ||
ParseGetForest ( Sentence s ) : |
||
ParseGetProbability ( Sentence s ) : double |
Returns the probability that this grammar generated the given sentence
|
Method | Description | |
---|---|---|
BuildLocalCYKProductionList ( int>.Dictionary |
Returns a representation of the nt productions that is efficient for CYK
|
|
BuildRToJ ( ISet |
||
CykFillInBase ( Sentence s, double P, int>.Dictionary |
||
PrintP ( Sentence s, double P ) : void |
public CykParser ( CNFGrammar grammar ) : CFGLib.Parsers.Forests | ||
grammar | CNFGrammar | |
return | CFGLib.Parsers.Forests |
public ParseGetForest ( Sentence s ) : |
||
s | Sentence | |
return |
public ParseGetProbability ( Sentence s ) : double | ||
s | Sentence | |
return | double |