

O1 = load('txt/voice03/01.txt')';
O2 = load('txt/voice03/02.txt')';
O3 = load('txt/voice03/03.txt')';
O4 = load('txt/voice03/04.txt')';
O5 = load('txt/voice03/05.txt')';
O6 = load('txt/voice03/06.txt')';
O7 = load('txt/voice03/07.txt')';
O8 = load('txt/voice03/08.txt')';
O9 = load('txt/voice03/09.txt')';
O10 = load('txt/voice03/10.txt')';
Onum = load('txt/num/04.txt')';

O=O4;

for i = 1 : 5
    
    clear A B Q;
    switch i
      case 1 
          [A,B,Q] = HMM_BERUSKA(O);
      case 2
          [A,B,Q] = HMM_KOBYLKA(O);
      case 3
          [A,B,Q] = HMM_KOCKA(O);
      case 4
          [A,B,Q] = HMM_LEV(O);
      case 5
          [A,B,Q] = HMM_MECOUN(O);
      case 6
          [A,B,Q] = HMM_MEDVED(O);
      case 7
          [A,B,Q] = HMM_MORCE(O);
      case 8
          [A,B,Q] = HMM_PES(O);
      case 9
          [A,B,Q] = HMM_SOB(O);
      case 10
          [A,B,Q] = HMM_ZEBRA(O);
    end
    v(i) = viter2(A,B);
end
c=sum(v);
d = c + (c==0);
v = v / d;

v


