FreeLing
3.1
|
Each trellis node contains an ordered set of paths. More...
Public Member Functions | |
element (const bigram &, int, double) | |
constructor | |
~element () | |
destructor | |
bool | operator< (const element &) const |
Comparison to sort paths by probability. | |
bool | operator> (const element &) const |
bool | operator== (const element &) const |
Comparison (to please MSVC) | |
Public Attributes | |
bigram | state |
origin state | |
int | kbest |
kbest sequence in origin state | |
double | prob |
probability of the whole sequence from this origin |
Each trellis node contains an ordered set of paths.
This class stores one path element.
freeling::trellis::element::element | ( | const bigram & | s, |
int | k, | ||
double | p | ||
) |
constructor
trellis element constructor
destructor
trellis element destructor
Comparison to sort paths by probability.
Comparisons to sort kbest paths by probability.
References prob.
Comparison (to please MSVC)
References prob.
kbest sequence in origin state
probability of the whole sequence from this origin
Referenced by operator<(), operator==(), and operator>().
origin state