Tanl::POS::Model Struct Reference
List of all members.
Public Member Functions |
| Model (int tag_order, int emission_order) |
| Model (char const *model_file, char const *morph_file) |
| Load model from model_file, load morphtable from morph_file.
|
std::vector< Transition > | transitions (State &from, Observation &obs) |
void | serialize (std::istream &) |
void | serialize (std::ostream &) |
Public Attributes |
int | tag_order |
int | emission_order |
ProbLM< int > | tag_lm |
ProbLM< std::string > | obs_lm |
ProbLM< std::string > | spec_lm |
Lexicon | obs_lex |
Lexicon | spec_lex |
Vocab | tag_vocab |
SuffixGuesser | low_suffixes |
SuffixGuesser | upp_suffixes |
int | eos |
int | bos |
std::vector< double > | apriori_tag_probs |
double | theta |
int | max_guessed_tags |
std::vector< double > | suffix_accu |
Constructor & Destructor Documentation
Tanl::POS::Model::Model |
( |
char const * |
model_file, |
|
|
char const * |
morph_file | |
|
) |
| | |
Load model from model_file, load morphtable from morph_file.
The documentation for this struct was generated from the following files: