public class SpeechDetector extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
SpeechDetector.SpeechDetectorOptions
Options for the speech detector
|
Constructor and Description |
---|
SpeechDetector() |
Modifier and Type | Method and Description |
---|---|
MapBackedDataset<String,ListDataset<DoubleFV>,DoubleFV> |
generateDataset()
Generates a dataset based on this speech detector's options that
contains both positive and negative examples.
|
AudioAnnotator |
getNewAnnotator()
Returns a new instance of the audio annotator
that we're going to use to extract features.
|
SpeechDetector.SpeechDetectorOptions |
parseArgs(String[] args)
Parses the command line arguments to create an options object.
|
public SpeechDetector()
public AudioAnnotator getNewAnnotator()
public MapBackedDataset<String,ListDataset<DoubleFV>,DoubleFV> generateDataset()
MapBackedDataset
containing both positive
and negative classespublic SpeechDetector.SpeechDetectorOptions parseArgs(String[] args)
args
- The arguments from the command-line