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

void HMM::print_ambiguity_classes (  ) 

Prints the ambiguity classes.

Definition at line 856 of file hmm.cc.

                                  {
  set<TTag> ambiguity_class;
  set<TTag>::iterator itag;
  cout<<"AMBIGUITY CLASSES\n-------------------------------\n";
  for(int i=0; i != td->getM(); i++) {
    ambiguity_class = (td->getOutput())[i];
    cout <<i<<": ";
    for (itag=ambiguity_class.begin(); itag!=ambiguity_class.end(); itag++) {
      cout << *itag <<" ";
    }
    cout << "\n";
  }
}   


Generated by  Doxygen 1.6.0   Back to index