edu.cmu.sphinx.frontend.endpoint.test
Class NonSpeechDataFilterTest

java.lang.Object
  extended by edu.cmu.sphinx.util.props.ConfigurableAdapter
      extended by edu.cmu.sphinx.frontend.BaseDataProcessor
          extended by edu.cmu.sphinx.frontend.test.AbstractTestProcessor
              extended by edu.cmu.sphinx.frontend.endpoint.test.NonSpeechDataFilterTest
All Implemented Interfaces:
DataProcessor, Configurable

public class NonSpeechDataFilterTest
extends AbstractTestProcessor

Some tests to ensure that the NonSpeechDataFilter filters non-speech in the specified manner.

Author:
Holger Brandl

Field Summary
 
Fields inherited from class edu.cmu.sphinx.frontend.test.AbstractTestProcessor
r
 
Constructor Summary
NonSpeechDataFilterTest()
           
 
Method Summary
 void testMultipleEmptyAndNonemptySegments()
           
 void testMultipleSpeechRegionWithoutMerging()
           
 void testOneSpeechRegion()
           
 
Methods inherited from class edu.cmu.sphinx.frontend.test.AbstractTestProcessor
collectOutput, createFeatVectors, createRandFeatureVector, getData, ms2samples, setUp
 
Methods inherited from class edu.cmu.sphinx.frontend.BaseDataProcessor
getPredecessor, getTimer, initialize, setPredecessor
 
Methods inherited from class edu.cmu.sphinx.util.props.ConfigurableAdapter
getName, newProperties, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface edu.cmu.sphinx.util.props.Configurable
newProperties
 

Constructor Detail

NonSpeechDataFilterTest

public NonSpeechDataFilterTest()
Method Detail

testOneSpeechRegion

public void testOneSpeechRegion()
                         throws DataProcessingException
Throws:
DataProcessingException

testMultipleSpeechRegionWithoutMerging

public void testMultipleSpeechRegionWithoutMerging()
                                            throws DataProcessingException
Throws:
DataProcessingException

testMultipleEmptyAndNonemptySegments

public void testMultipleEmptyAndNonemptySegments()
                                          throws DataProcessingException
Throws:
DataProcessingException