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

java.lang.Object
  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
 NonSpeechDataFilter createDataFilter(boolean mergeSpeechSegments)
           
 void testMultipleSpeechRegionWithMerging()
           
 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, newProperties, setPredecessor, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NonSpeechDataFilterTest

public NonSpeechDataFilterTest()
Method Detail

createDataFilter

public NonSpeechDataFilter createDataFilter(boolean mergeSpeechSegments)

testOneSpeechRegion

public void testOneSpeechRegion()
                         throws DataProcessingException
Throws:
DataProcessingException

testMultipleSpeechRegionWithoutMerging

public void testMultipleSpeechRegionWithoutMerging()
                                            throws DataProcessingException
Throws:
DataProcessingException

testMultipleSpeechRegionWithMerging

public void testMultipleSpeechRegionWithMerging()
                                         throws DataProcessingException
Throws:
DataProcessingException