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

wstring TaggerWord::get_string_tags (  )  [virtual]

Get a wstring with the set of tags

Definition at line 135 of file tagger_word.cc.

Referenced by HMM::init_probabilities_kupiec(), HMM::tagger(), and HMM::train().

                            {
  wstring st;
  set<TTag>::iterator itag;
  
  st=L"{";  
  for(itag=tags.begin(); itag!=tags.end(); itag++) {
    if (itag!=tags.begin())
      st+=L',';
    st+=array_tags[*itag];
  }
  st += L'}';  
  
  return st;  
}


Generated by  Doxygen 1.6.0   Back to index