65
65
bool operator==(const TLeaf & r) const
69
69
struct TNode : public TLeaf {
73
TNode(TSIMWordId theId=0, int ch=0, FREQ_TYPE fr=0, PR_TYPE theBOW=0.0)
74
77
: TLeaf(theId, fr), child(ch), bow(theBOW)
79
82
bool Load(const char* fname);
86
88
double getPr(int n, TSIMWordId* hw);