voxforge.org
VoxForge Dev
Show
Ignore:
Timestamp:
06/09/08 21:09:55 (6 months ago)
Author:
kmaclean
Message:

AudioSegmentation scripts - snapshot

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Trunk/Scripts/Audio_scripts/AudioSegmentation/AudioBook/Segments.pm

    r2606 r2608  
    4141        my $audioBook = $self->{'audiobookObject'}; 
    4242        my $debug = $audioBook->getDebug; 
     43         
    4344                 
    4445        $self->{'promptsWithTimes'} = $promptsWithTimes;         
     
    5556        my $audioBook = $self->{'audiobookObject'}; 
    5657        my $debug = $audioBook->getDebug; 
    57                  
    5858        my $chapter     = $self->{'chapterObject'}; 
     59        my $missingWords = $chapter->getMissingWordsObject(); 
    5960        my $Audio = $chapter->getchapterAudioObject(); 
     61         
    6062        $Audio->createSegmentedAudio(); 
    6163        if ($audioBook->getVerify_segments()) { 
     
    6567                $self->{'promptsWithTimes'} = "error:need to verify segments (-v switch) to get prompts with time"; 
    6668        }        
     69 
     70        if ($chapter->getMissingWordFound()) { 
     71                if ($audioBook->getVerify_out_of_vocabulary_pronunciations()) {  
     72                        $missingWords->verifyMissingWordPronunciations(); 
     73                }        
     74        } 
     75 
     76 
    6777 
    6878        $self->{'segmentAudioObject'} = $Audio;