33 #ifndef _MOOT_MIPARSER_H 34 #define _MOOT_MIPARSER_H 86 output_tag(
"$MIParser"),
87 output_prefix(
"[$MIParser] ")
111 virtual bool load_model(
const string &modelname,
113 const char *myname=
"mootDynLexHMM::load_model()",
114 bool do_estimate_nglambdas=
true,
115 bool do_estimate_wlambdas=
true,
116 bool do_estimate_clambdas=
true,
117 bool do_build_suffix_trie=
true,
118 bool do_compute_logprobs=
true);
140 tw->
printf_raw(
" +DynHMM class : %s\n",
"mootMIParser");
141 tw->
printf_raw(
" New Tag : %s\n", newtag_str.c_str());
142 tw->
printf_raw(
" N-gram source : %s\n", text_tags ?
"text" :
"tags");
143 tw->
printf_raw(
" Output Tag : %s\n", output_tag.c_str());
144 tw->
printf_raw(
" Output Prefix : \"%s\"\n", output_prefix.c_str());
mootTagString output_prefix
Definition: mootMIParser.h:74
size_t SentIndex
Definition: mootMIParser.h:61
std::pair< ProbT, SentIndex > ProbIndexPair
Definition: mootMIParser.h:62
mootTagString newtag_str
Definition: mootMIParser.h:69
bool text_tags
Definition: mootDynHMM.h:68
TagID newtag_id
Definition: mootMIParser.h:70
mootMIParser(void)
Definition: mootMIParser.h:81
mootTagString output_tag
Definition: mootMIParser.h:73
std::vector< mootToken *> TokenPtrVector
Definition: mootMIParser.h:64
abstract HMM subclass for use with dynamic lexical probabilities.
Definition: mootDynHMM.h:97
virtual void printf_raw(const char *fmt,...)
Class for storage and retrieval of raw lexical-class frequencies.
Definition: mootClassfreqs.h:44
Class for storage & retrieval of raw N-Gram frequencies.
Definition: mootNgrams.h:44
Generic user-level options structure for built-in mootDynHMM subclasses.
Definition: mootDynHMM.h:56
Class for storage and retrieval of raw lexical frequencies.
Definition: mootLexfreqs.h:44
HMM subclass for MI parsing.
Definition: mootMIParser.h:56
virtual void tw_put_info(moot::TokenWriter *tw)
Definition: mootMIParser.h:137
virtual void set_options(const mootDynHMMOptions &opts)
Definition: mootMIParser.h:95
float ProbT
Definition: mootTypes.h:63
ProbT newtag_f
Definition: mootMIParser.h:71
virtual ~mootMIParser(void)
Definition: mootMIParser.h:91
list< mootToken > mootSentence
Definition: mootToken.h:630
Abstract class for token output.
Definition: mootTokenIO.h:700
string mootTagString
Definition: mootToken.h:59
std::vector< ProbIndexPair > ProbIndexPairVector
Definition: mootMIParser.h:63
bool text_tags
Definition: mootMIParser.h:72
Hidden Markov Model tagger/disambiguator for dynamic lexical probabilities.
std::string newtag_str
Definition: mootDynHMM.h:60
mootTagString TagStr
Definition: mootMIParser.h:60