| Modifier and Type | Method and Description |
|---|---|
<C extends Configurable> |
Context.getInstance(java.lang.Class<C> clazz)
Returns instance of the XML configuration by its class.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ResultListener
The listener interface for being informed when new results are generated.
|
interface |
ResultProducer
Some API-elements shared by components which are able to produce
Results. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractDecoder
An abstract decoder which implements all functionality which is independent of the used decoding-paradigm (pull/push).
|
class |
Decoder
The primary decoder class
|
class |
FrameDecoder
A decoder which does not use the common pull-principle of S4 but processes only one single frame on each call of
decode(). |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Pruner
Provides a mechanism for pruning a set of StateTokens
|
| Modifier and Type | Class and Description |
|---|---|
class |
NullPruner
A Null pruner.
|
class |
SimplePruner
Performs the default pruning behavior which is to invoke the purge on the active list
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
AcousticScorer
Provides a mechanism for scoring a set of HMM states
|
interface |
ScoreNormalizer
Describes all API-elements that are necessary to normalize token-scores after these have been computed by an
AcousticScorer.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BackgroundModelNormalizer
Normalizes a set of Tokens against the best scoring Token of a background model.
|
class |
MaxScoreNormalizer
Performs a simple normalization of all token-scores by
|
class |
SimpleAcousticScorer
Implements some basic scorer functionality, including a simple default
acoustic scoring implementation which scores within the current thread, that
can be changed by overriding the
SimpleAcousticScorer.doScoring(java.util.List<T>, edu.cmu.sphinx.frontend.Data) method. |
class |
ThreadedAcousticScorer
An acoustic scorer that breaks the scoring up into a configurable number of separate threads.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ActiveListManager
An active list is maintained as a sorted list
|
interface |
SearchManager
Defines the interface for the SearchManager.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ActiveListFactory
Creates new active lists.
|
class |
PartitionActiveListFactory
A factory for PartitionActiveLists
|
class |
SimpleActiveListFactory
A factory for simple active lists
|
class |
SimpleActiveListManager
A list of ActiveLists.
|
class |
SimpleBreadthFirstSearchManager
Provides the breadth first search.
|
class |
SortingActiveListFactory |
class |
TokenHeapSearchManager
The token heap search manager that maintains the heap of best tokens for each
search state instead of single one best token
|
class |
TokenSearchManager |
class |
WordActiveListFactory
A factory for WordActiveList.
|
class |
WordPruningBreadthFirstLookaheadSearchManager
Provides the breadth first search with fast match heuristic included to
reduce amount of tokens created.
|
class |
WordPruningBreadthFirstSearchManager
Provides the breadth first search.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
DataProcessor
A processor that performs a signal processing function.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AutoCepstrum
Cepstrum is an auto-configurable DataProcessor which is used to compute a
specific cepstrum (for a target acoustic model) given the spectrum.
|
class |
BaseDataProcessor
An abstract DataProcessor implementing elements common to all concrete DataProcessors, such as name, predecessor, and
timer.
|
class |
DataBlocker
A
DataProcessor which wraps incoming DoubleData-objects into equally size blocks of defined
length. |
class |
FrontEnd
FrontEnd is a wrapper class for the chain of front end processors.
|
class |
GainControlProcessor
Allows to modify the gain of an audio-signal.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
DataProducer
Some API-elements which are shared by components which can generate
Datas. |
| Modifier and Type | Class and Description |
|---|---|
class |
DataBufferProcessor
A FIFO-buffer for
Data-elements. |
class |
FrontEndSplitter
Creates push-branches out of a Frontend.
|
| Constructor and Description |
|---|
DataBufferProcessor(int maxBufferSize,
boolean waitIfEmpty,
int waitTime,
java.util.List<? extends Configurable> listeners) |
| Modifier and Type | Class and Description |
|---|---|
class |
Denoise
The noise filter, same as implemented in sphinxbase/sphinxtrain/pocketsphinx.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractVoiceActivityDetector
An abstract analyzer that signals about presense of speech in last processing frame.
|
class |
SpeechClassifier
Implements a level tracking endpointer invented by Bent Schmidt Nielsen.
|
class |
SpeechMarker
Converts a stream of SpeechClassifiedData objects, marked as speech and
non-speech, and mark out the regions that are considered speech.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFeatureExtractor
Abstract base class for windowed feature extractors like DeltasFeatureExtractor, ConcatFeatureExtractor
or S3FeatureExtractor.
|
class |
BatchAGC
Applies automatic gain control (CMN)
|
class |
BatchCMN
Applies cepstral mean normalization (CMN), sometimes called channel mean normalization, to incoming cepstral data.
|
class |
BatchVarNorm
Applies cepstral variance normalization (CVN), so that each coefficient
will have unit variance.
|
class |
ConcatFeatureExtractor
This component concatenate the cepstrum from the sequence of frames according to the window size.
|
class |
DeltasFeatureExtractor
Computes the delta and double delta of input cepstrum (or plp or ...).
|
class |
FeatureTransform
Implements a linear feature transformation transformation.
|
class |
FrameDropper
Drops certain feature frames, usually to speed up decoding.
|
class |
KaldiDeltasFeatureExtractor |
class |
LiveCMN
Subtracts the mean of all the input so far from the Data objects.
|
class |
S3FeatureExtractor
Computes the delta and double delta of input cepstrum (or plp or ...).
|
| Modifier and Type | Class and Description |
|---|---|
class |
Dither
Implements a dither for the incoming packet.
|
class |
EnergyFilter
EnergyFilter silently drops zero energy frames from the stream.
|
class |
Preemphasizer
Implements a high-pass filter that compensates for attenuation in the audio data.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MelFrequencyFilterBank
Filters an input power spectrum through a bank of number of mel-filters.
|
class |
MelFrequencyFilterBank2
Filters an input power spectrum through a bank of number of mel-filters.
|
class |
PLPCepstrumProducer
Computes the PLP cepstrum from a given PLP Spectrum.
|
class |
PLPFrequencyFilterBank
Filters an input power spectrum through a PLP filterbank.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DiscreteCosineTransform
Applies a logarithm and then a Discrete Cosine Transform (DCT) to the input data.
|
class |
DiscreteCosineTransform2
Applies the optimized MelCosine filter used in pocketsphinx to the given melspectrum.
|
class |
DiscreteFourierTransform
Computes the Discrete Fourier Transform (FT) of an input sequence, using Fast Fourier Transform (FFT).
|
class |
KaldiDiscreteCosineTransform
DCT implementation that conforms to one used in Kaldi.
|
class |
Lifter
Applies the Lifter to the input mel-cepstrum to
smooth cepstrum values
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
AudioFileProcessListener
An interface which is describes the functionality which is required to handle new file signals fired by the
audio-data sources.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AudioContinuityTester
FrontEnd element that asserts the audio-stream to be continuous. |
class |
AudioFileDataSource
An AudioFileDataSource generates a stream of audio data from a given audio file.
|
class |
ConcatAudioFileDataSource
Concatenates a list of audio files as one continuous audio stream.
|
class |
ConcatFileDataSource
Concatenates a list raw headerless audio files as one continuous audio stream.
|
class |
DataConverter
A simple converter which converts
DoubleData to FloatData and vv (depending on its
configuration). |
class |
DataDumper
Dumps the data
|
class |
EnergyPlotter
Plots positive energy values of a cepstrum to stdout.
|
class |
Microphone
A Microphone captures audio data from the system's underlying audio input systems.
|
class |
StreamCepstrumSource
Produces Mel-cepstrum data from an InputStream.
|
class |
StreamDataSource
A StreamDataSource converts data from an InputStream into Data objects.
|
class |
StreamHTKCepstrum
Produces Mel-cepstrum data from an InputStream.
|
class |
VUMeterMonitor
A VU meter to be plugged into a front-end.
|
class |
WavWriter
Stores audio data into numbered (MS-)wav files.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RaisedCosineWindower
Slices up a Data object into a number of overlapping windows (usually referred to as "frames" in the speech world).
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Monitor
Common empty interface for Configurable monitors
|
| Modifier and Type | Class and Description |
|---|---|
class |
AccuracyTracker
Tracks and reports recognition accuracy
|
class |
BestPathAccuracyTracker
Tracks and reports recognition accuracy based upon the highest scoring path in a Result.
|
class |
ConfigMonitor
Shows the configuration currently in use.
|
class |
MemoryTracker
Monitors a recognizer for memory usage
|
class |
RecognizerMonitor
Monitor the state transitions of a given recognizer.
|
class |
RejectionTracker
Tracks and reports rejection accuracy.
|
class |
SpeedTracker
Monitors a recognizer for speed
|
| Modifier and Type | Class and Description |
|---|---|
class |
GrXMLGrammar
Grammar for GrXML W3C Standard
|
class |
JSGFGrammar
Defines a BNF-style grammar based on JSGF grammar rules in a file.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Linguist
The linguist is responsible for representing and managing the search space for the decoder.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LinguistProcessor
A standard interface for a linguist processor
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
AcousticModel
Represents the generic interface to the Acoustic Model for sphinx4
|
| Modifier and Type | Class and Description |
|---|---|
class |
UnitManager
Manages the set of units for a recognizer
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Loader
Generic interface for a loader of acoustic models
|
interface |
Saver
Generic interface for a saver of acoustic models
|
| Modifier and Type | Class and Description |
|---|---|
class |
HTKLoader
Remark1: S4 does not use HMM tying: the HTK "tiedlist" is not loaded nor user
for now
Remark2: HTK does nearly never backoff to monophones, whereas S4 might do it.
|
class |
KaldiLoader |
class |
Sphinx3Loader
Loads a tied-state acoustic model generated by the Sphinx-3 trainer.
|
class |
TiedStateAcousticModel
Loads a tied-state acoustic model generated by the Sphinx-3 trainer.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ModelInitializerLoader
an acoustic model loader that initializes models
|
class |
Sphinx3Saver
An acoustic model saver that saves sphinx3 ascii data.
|
class |
TrainerAcousticModel
Represents the generic interface to the Acoustic Model for sphinx4
|
| Modifier and Type | Class and Description |
|---|---|
class |
TrivialAcousticModel
Represents the generic interface to the Acoustic Model for sphinx4
|
| Modifier and Type | Class and Description |
|---|---|
class |
AFlatLinguist
A simple form of the linguist.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AllphoneLinguist |
| Modifier and Type | Class and Description |
|---|---|
class |
DynamicFlatLinguist
A simple form of the linguist.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Dictionary
Provides a generic interface to a dictionary.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MappingDictionary
Maps the phones from one phoneset to another to use dictionary from the one
acoustic mode with another one.
|
class |
TextDictionary
Creates a dictionary by quickly reading in an ASCII-based Sphinx-3 format
dictionary.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FlatLinguist
A simple form of the linguist.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ClassBasedLanguageModel
An LM that computes a probability of a word sequence by converting words to
classes and asking the class-based probability from a delegate LM.
|
class |
ClassMap
A component that knows how to map words to classes and vice versa.
|
class |
ClassPresentingDictionary
The only purpose of this class is to present all classes
as words in the getWord() method.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlignerGrammar |
class |
BatchForcedAlignerGrammar |
class |
ForcedAlignerGrammar
Creates a grammar from a reference sentence.
|
class |
FSTGrammar
Loads a grammar from a file representing a finite-state transducer (FST) in the 'ARPA' grammar format.
|
class |
Grammar
Classes that implement this interface create grammars.
|
class |
LatticeGrammar
A grammar build from a lattice.
|
class |
LMGrammar
Defines a simple grammar based upon a language model.
|
class |
SimpleWordListGrammar
Defines a grammar based upon a list of words in a file.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
LanguageModel
Represents the generic interface to an N-Gram language model.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DynamicTrigramModel
3-gram language model that can change its content at runtime.
|
class |
InterpolatedLanguageModel
Simple interpolated LM implementation.
|
class |
KeywordOptimizerModel |
class |
NetworkLanguageModel |
class |
SimpleNGramModel
An ASCII ARPA language model loader.
|
| Modifier and Type | Class and Description |
|---|---|
class |
KeywordOptimizerLargeNGramModel
Use a largeNGramModel that also can be adjusted depending on context.
|
class |
LargeNGramModel
Language model that uses a binary NGram language model file ("DMP file")
generated by the SphinxBase sphinx_lm_convert.
|
class |
LargeTrigramModel
A wrapper for LargeNGramModel base on the old LargeTrigramModel class.
|
| Modifier and Type | Class and Description |
|---|---|
class |
NgramTrieModel
Language model that uses a binary NGram language model file ("binary trie file")
generated by the SphinxBase sphinx_lm_convert.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LexTreeLinguist
A linguist that can represent large vocabularies efficiently.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GDLDumper
A linguist processor that dumps out the sentence hmm in GDL format.
|
class |
LinguistDumper
A linguist processor that dumps out the search space in a simple format.
|
class |
LinguistStats
A linguist processor that dumps out statistics about the search space
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
StateListener
The listener interface for receiving recognizer status events
|
| Modifier and Type | Class and Description |
|---|---|
class |
Recognizer
The Sphinx-4 recognizer.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BatchForcedAlignerRecognizer
Copyright 1999-2002 Carnegie Mellon University.
|
class |
BatchModeRecognizer
Decodes a batch file containing a list of files to decode.
|
class |
BatchNISTRecognizer
Copyright 1999-2002 Carnegie Mellon University.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LiveModeRecognizer
Decodes a batch file containing a list of files to decode.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ControlFile
Provides mechanisms for reading a control file (or a pair control file plus transcription file).
|
interface |
Learner
Provides mechanisms for computing statistics given a set of states and input data.
|
interface |
TrainManager
Manages inputs and outputs to the other trainer classes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BaumWelchLearner
Provides mechanisms for computing statistics given a set of states and input data.
|
class |
FlatInitializerLearner
Provides mechanisms for computing statistics given a set of states and input data.
|
class |
SimpleControlFile
Provides mechanisms for accessing a next utterance's file name and transcription.
|
class |
SimpleTrainManager
This is a dummy implementation of a TrainManager.
|
class |
Trainer
Trains models given a set of audio files.
|
class |
TrainerDictionary
Dummy trainer dictionary.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ConfigurableAdapter
An default (abstract) implementation of a configurable that implements a meaning
toString() and keeps a
references to the Confurable's logger. |
| Modifier and Type | Method and Description |
|---|---|
static <C extends Configurable> |
ConfigurationManager.getInstance(java.lang.Class<C> targetClass)
Creates an instance of the given
Configurable by using the default parameters as defined by the
class annotations to parameterize the component. |
static <C extends Configurable> |
ConfigurationManager.getInstance(java.lang.Class<C> targetClass,
java.util.Map<java.lang.String,java.lang.Object> props)
Creates an instance of the given
Configurable by using the default parameters as defined by the
class annotations to parameterize the component. |
static <C extends Configurable> |
ConfigurationManager.getInstance(java.lang.Class<C> targetClass,
java.util.Map<java.lang.String,java.lang.Object> props,
java.lang.String compName)
Creates an instance of the given
Configurable by using the default parameters as defined by the
class annotations to parameterize the component. |
<C extends Configurable> |
ConfigurationManager.lookup(java.lang.Class<C> confClass)
Returns a
Configurable instance of a given type C, if such a component (or a derived
one) is registered to this ConfigurationManager instance, and there is one and only match. |
<C extends Configurable> |
ConfigurationManager.lookup(java.lang.String instanceName)
Looks up a configurable component by name.
|
| Modifier and Type | Method and Description |
|---|---|
Configurable |
PropertySheet.getComponent(java.lang.String name)
Gets a component associated with the given parameter name.
|
Configurable |
PropertySheet.getOwner() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<? extends Configurable> |
PropertySheet.getComponentClass(java.lang.String propName)
Returns the class of of a registered component property without instantiating it.
|
java.lang.Class<? extends Configurable> |
PropertySheet.getConfigurableClass() |
| Modifier and Type | Method and Description |
|---|---|
void |
ConfigurationManager.addConfigurable(Configurable configurable,
java.lang.String name)
Adds an already instantiated
Configurable to this configuration manager. |
void |
PropertySheet.setComponent(java.lang.String name,
java.lang.String cmName,
Configurable value)
Sets the given property to the given name
|
| Modifier and Type | Method and Description |
|---|---|
void |
ConfigurationManager.addConfigurable(java.lang.Class<? extends Configurable> confClass,
java.lang.String name)
Registers a new configurable to this configuration manager.
|
void |
ConfigurationManager.addConfigurable(java.lang.Class<? extends Configurable> confClass,
java.lang.String name,
java.util.Map<java.lang.String,java.lang.Object> props)
Registers a new configurable to this configuration manager.
|
java.util.Collection<java.lang.String> |
ConfigurationManager.getInstanceNames(java.lang.Class<? extends Configurable> type)
Gets all instances that are of the given type.
|
java.util.List<PropertySheet> |
ConfigurationManager.getPropSheets(java.lang.Class<? extends Configurable> confClass)
Given a
Configurable-class/interface, all property-sheets which are subclassing/implemting this
class/interface are collected and returned. |
static void |
ConfigurationManagerUtils.setClass(PropertySheet ps,
java.lang.Class<? extends Configurable> confClass) |
void |
PropertySheet.setComponentList(java.lang.String name,
java.util.List<java.lang.String> valueNames,
java.util.List<Configurable> value)
Sets the given property to the given name
|
| Constructor and Description |
|---|
PropertySheet(Configurable configurable,
java.lang.String name,
RawPropertyData rpd,
ConfigurationManager ConfigurationManager) |
| Constructor and Description |
|---|
PropertySheet(java.lang.Class<? extends Configurable> confClass,
java.lang.String name,
ConfigurationManager cm,
RawPropertyData rpd) |