Logo Search packages:      
Sourcecode: apertium version File versions  Download package

HMM::HMM ( set< TTag > const &  oc,
map< string, int > const &  ti,
ConstantManager const &  cm,
vector< string > const &  pr 
)

Constructor

Definition at line 34 of file HMM.C.

References data_tagger_eval::nambiguous, data_tagger_eval::nerrors_amb, data_tagger_eval::nerrors_noamb, data_tagger_eval::nerrors_unk, data_tagger_eval::nignored, data_tagger_eval::nunknown, and data_tagger_eval::nwords.

                                                              {
  open_class = oc; 
  tags_index = ti;
  constants = cm;
  prefer_rules = pr;

  a=NULL;
  b=NULL; 

  eval_data.nwords=0.0;
  eval_data.nunknown=0.0;
  eval_data.nignored=0.0;
  eval_data.nambiguous=0.0;
  eval_data.nerrors_noamb=0.0;
  eval_data.nerrors_amb=0.0;
  eval_data.nerrors_unk=0.0;

  debug=false;
  
  nword=0;
  nword_eval=0;
}


Generated by  Doxygen 1.6.0   Back to index