Comments

Flat
hi
User: mmm
Date: 7/21/2010 10:38 am
Views: 4756
Rating: 12

hi everybody

when i run step 8

http://www.voxforge.org/home/dev/acousticmodels/linux/create/htkjulius/tutorial/monophones/step-8

and when i checked and reviewed the hvite_log file (the log output) i saw that  HVite did not recognize all the words for each line in your prompts file.

 

like with:

Aligning File: train\mfcc\sample24.mfc

Created lattice with 6 nodes / 5 arcs from label file

No tokens survived to final node of network at beam 250.0

No tokens survived to final node of network at beam 400.0

No tokens survived to final node of network at beam 550.0

SENT-END tktb mdrsaat aalkaatbaan ktb SENT-END == [261 frames] -58.3549 [Ac=-15230.6 LM=0.0] (Act=21.5)

that make my step wrong after that

 ERROR [+6510]  LOpen: Unable to open label file train/mfcc/sample24.lab
FATAL ERROR - Terminating program HERest

how i can solve that? and why this file doesnot recognise these words?

 

Re: hi
User: kmaclean
Date: 7/28/2010 3:23 pm
Views: 92
Rating: 12

>No tokens survived to final node of network at beam 550.0

This means that HVite could not recognize the sentence with the words: "tktb mdrsaat aalkaatbaan ktb".  Did you create your own pronunciation dictionary?

YOu might have to fiddle with the HVite -t parameter to increase your beam width (see this post)

Note that you need to create "Questions" for your language in order to create triphone acoustic models in Step 9 and 10.

>ERROR [+6510]  LOpen: Unable to open label file train/mfcc/sample24.lab

Likely a path issue - HTK is very finicky in this respect...

Re: hi
User: Dmitry
Date: 4/28/2018 4:48 pm
Views: 3
Rating: 0

#!/usr/bin/php

 

<?php

  

  if (count($argv) < 3) { echo "Need two params: input file, output directory\n"; exit; }

  

  setlocale(LC_ALL, 'ru_RU');

  

  $src = file_get_contents($argv[1]);

  

  if (substr($argv[2], strlen($argv[2])-1, 1) != '/') { $argv[2] .= '/'; }

  

  if (strlen($src) > 2) {

    $matches = array();

    if (preg_match_all("/\"(\w+\.lab)\"\s+(.+\.)\s/sU", $src, $matches, PREG_OFFSET_CAPTURE) > 0) {

      if (count($matches) > 2) {

        foreach($matches[1] as $num=>$fname) {

          $fname = $fname[0];

          if (@file_put_contents($argv[2].$fname, $matches[2][$num][0]."\n")) { echo "Maked file \"".$argv[2]."$fname\"\n"; }

            else { echo "Can't create file \"".$argv[2]."$fname\"\n"; }

        }

      }

    }

  }

chmod +x /usr/share/jprojects/ruvox/labextractor.php  

/usr/share/jprojects/ruvox/labextractor.php /usr/share/jprojects/ruvox/words.mlf /usr/share/jprojects/ruvox/mfcc/

PreviousNext