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

HMM::HMM ( TaggerData &  td  ) 

TaggerData constructor

Definition at line 58 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 = td.getOpenClass();
  tags_index = td.getTagIndex();
  constants = td.getConstants();
  prefer_rules = td.getPreferRules();
  a = td.getA();
  b = td.getB();
  N = td.getN();
  M = td.getM();
  output = td.getOutput();

  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;
}


Generated by  Doxygen 1.6.0   Back to index