Метод | Описание | |
---|---|---|
CykParser ( CNFGrammar grammar ) : CFGLib.Parsers.Forests | ||
ParseGetForest ( Sentence s ) : |
||
ParseGetProbability ( Sentence s ) : double |
Returns the probability that this grammar generated the given sentence
|
Метод | Описание | |
---|---|---|
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 | |
Результат | CFGLib.Parsers.Forests |
public ParseGetForest ( Sentence s ) : |
||
s | Sentence | |
Результат |
public ParseGetProbability ( Sentence s ) : double | ||
s | Sentence | |
Результат | double |