|
Public Methods |
| DictEntry () |
| constructor
|
| DictEntry (const string &targ, const string &typ, double pr) |
| constructor
|
char * | toBytes (int &numBytes) const |
| Encode for binary writing.
|
int | toBytes (char *buffer) const |
| Encode for binary writing.
|
int | numBytes () const |
| Determine size needed to encode for binary writing.
|
int | fromBytes (char *buffer) |
| Initialize from an array of bytes.
|
bool | operator== (const DictEntry &a) const |
| Equality on target and type attributes only.
|
string | toString (string delim=";") const |
Public Attributes |
char * | key |
Object | val |
string | target |
| The target language term.
|
string | type |
| POS, etc.
|
double | prob |
| freq or Prob
|