edu.cmu.sphinx.tools.batch
Class BatchForcedAlignerRecognizer

java.lang.Object
  extended by edu.cmu.sphinx.tools.batch.BatchModeRecognizer
      extended by edu.cmu.sphinx.tools.batch.BatchNISTRecognizer
          extended by edu.cmu.sphinx.tools.batch.BatchForcedAlignerRecognizer
All Implemented Interfaces:
Configurable

public class BatchForcedAlignerRecognizer
extends BatchNISTRecognizer

Copyright 1999-2002 Carnegie Mellon University. Portions Copyright 2002 Sun Microsystems, Inc. Portions Copyright 2002 Mitsubishi Electric Research Laboratories. All Rights Reserved. Use is subject to license terms.

See the file "license.terms" for information on usage and redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.

User: Peter Wolf Date: Jan 9, 2006 Time: 5:35:54 PM

Utility for generating word segmentation by forced alignment

Given a CTL file that specifies a series of audio and coresponding correct transcripts, this utility creates a trivial grammar from the transcript, and runs the recognizer on the utterance. The output is words with beginning and end times.

See BatchNISTRecognizer for more information about the format of CTL and audio files.


Nested Class Summary
 
Nested classes/interfaces inherited from class edu.cmu.sphinx.tools.batch.BatchNISTRecognizer
BatchNISTRecognizer.CTLUtterance
 
Field Summary
 BatchForcedAlignerGrammar bfaGrammar
           
 
Fields inherited from class edu.cmu.sphinx.tools.batch.BatchNISTRecognizer
PROP_BITS_PER_SAMPLE, PROP_CHANNEL_COUNT, PROP_CTL_FILE, PROP_CTM_FILE, PROP_DATA_DIR, PROP_FRAMES_PER_SECOND, PROP_REF_FILE, PROP_SAMPLES_PER_SECOND
 
Fields inherited from class edu.cmu.sphinx.tools.batch.BatchModeRecognizer
PROP_COUNT, PROP_COUNT_DEFAULT, PROP_INPUT_DATA_PROCESSORS, PROP_RECOGNIZER, PROP_SKIP, PROP_SKIP_DEFAULT, PROP_TOTAL_BATCHES, PROP_TOTAL_BATCHES_DEFAULT, PROP_USE_POOLED_BATCH_MANAGER, PROP_USE_POOLED_BATCH_MANAGER_DEFAULT, PROP_WHICH_BATCH, PROP_WHICH_BATCH_DEFAULT
 
Constructor Summary
BatchForcedAlignerRecognizer()
           
 
Method Summary
static void main(java.lang.String[] argv)
           
 void newProperties(PropertySheet ps)
          This method is called when this configurable component needs to be reconfigured.
 
Methods inherited from class edu.cmu.sphinx.tools.batch.BatchNISTRecognizer
decode, hex2Binary
 
Methods inherited from class edu.cmu.sphinx.tools.batch.BatchModeRecognizer
decode, recognize, setBatchFile, shell, start, stop
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bfaGrammar

public BatchForcedAlignerGrammar bfaGrammar
Constructor Detail

BatchForcedAlignerRecognizer

public BatchForcedAlignerRecognizer()
Method Detail

newProperties

public void newProperties(PropertySheet ps)
                   throws PropertyException
Description copied from interface: Configurable
This method is called when this configurable component needs to be reconfigured.

Specified by:
newProperties in interface Configurable
Overrides:
newProperties in class BatchNISTRecognizer
Parameters:
ps - a property sheet holding the new data
Throws:
PropertyException - if there is a problem with the properties.

main

public static void main(java.lang.String[] argv)