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

void HMM::print_ambiguity_classes (  ) 

Prints the ambiguity classes.

Definition at line 964 of file HMM.C.

                                  {
  set<TTag> ambiguity_class;
  set<TTag>::iterator itag;
  cout<<"AMBIGUITY CLASSES\n-------------------------------\n";
  for(int i=0; i<M; i++) {
    ambiguity_class = output[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