Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cmusphinx/sphinx4
/ functions
Functions
4,553 in github.com/cmusphinx/sphinx4
⨍
Functions
4,553
◇
Types & classes
620
↓ 25 callers
Method
getNumStates
Get the number of states in the fst @return number of states
sphinx4-core/src/main/java/edu/cmu/sphinx/fst/Fst.java:128
↓ 25 callers
Method
getSignature
Returns a unique signature for this state @return the signature for the state
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/SearchState.java:55
↓ 24 callers
Method
equals
(Object object)
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/acoustic/tiedstate/kaldi/TransitionModel.java:59
↓ 24 callers
Method
expectToken
(String expected)
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/acoustic/tiedstate/kaldi/KaldiTextParser.java:79
↓ 24 callers
Method
findFeature
Finds the feature by following the given path. Path is a string of ":" or "." separated strings with the following interpretations: <ul> <li>n - next
sphinx4-core/src/main/java/edu/cmu/sphinx/alignment/tokenizer/Item.java:231
↓ 24 callers
Method
getIlabel
Get the input label's id @return label id
sphinx4-core/src/main/java/edu/cmu/sphinx/fst/Arc.java:77
↓ 24 callers
Method
zero
()
sphinx4-core/src/main/java/edu/cmu/sphinx/fst/semiring/Semiring.java:41
↓ 23 callers
Method
expectString
Loads a word from the tokenizer and ensures that it matches 'expecting' @param expecting the word read must match this @throws StreamCorruptedExcepti
sphinx4-core/src/main/java/edu/cmu/sphinx/util/ExtendedStreamTokenizer.java:213
↓ 23 callers
Method
getArc
Get an arc based on it's index the arcs ArrayList @param index the arc's index @return the arc
sphinx4-core/src/main/java/edu/cmu/sphinx/fst/State.java:137
↓ 23 callers
Method
getKey
gets the key for this unit @return the key
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/acoustic/Unit.java:131
↓ 23 callers
Method
getNcoefs
()
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/acoustic/tiedstate/HTK/GMMDiag.java:441
↓ 23 callers
Method
getPronunciations
Retrieves the pronunciations of this word @return the pronunciations of this word
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/dictionary/Word.java:88
↓ 23 callers
Method
isEmitting
Determines if this HMMState is an emitting state @return true if the state is an emitting state
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/acoustic/HMMState.java:71
↓ 23 callers
Method
isFiller
Determines if this unit is a filler unit @return <code>true</code> if the unit is a filler unit
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/acoustic/Unit.java:79
↓ 23 callers
Method
jjCheckNAdd
(int state)
sphinx4-core/src/main/java/edu/cmu/sphinx/jsgf/parser/JSGFParserTokenManager.java:1214
↓ 23 callers
Method
setLocalProperty
Sets property within a "component" tag in configuration. Use this method to alter "value" property of a "property" tag inside a "component" tag of th
sphinx4-core/src/main/java/edu/cmu/sphinx/api/Context.java:190
↓ 22 callers
Method
equals
Assumes ids are unique node identifiers @see java.lang.Object#equals(java.lang.Object)
sphinx4-core/src/main/java/edu/cmu/sphinx/result/Node.java:506
↓ 22 callers
Method
getFinalWeight
Get the state's final Weight @return final weight
sphinx4-core/src/main/java/edu/cmu/sphinx/fst/State.java:84
↓ 22 callers
Method
getId
Get the ID associated with this Node @return the ID
sphinx4-core/src/main/java/edu/cmu/sphinx/result/Node.java:285
↓ 22 callers
Method
getMaxDepth
Returns the maximum depth of the language model @return the maximum depth of the language model
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/language/ngram/LanguageModel.java:101
↓ 22 callers
Method
padLeft
Turns the integer into a left-padded string. @param width the total width of String, including spaces @param i the integer @return a String padde
sphinx4-core/src/main/java/edu/cmu/sphinx/util/NISTAlign.java:871
↓ 22 callers
Method
read
()
sphinx4-core/src/main/java/edu/cmu/sphinx/tools/audio/AudioDataInputStream.java:49
↓ 21 callers
Method
compile
Compiles the given path into the compiled form @param path the path to compile @return the compiled form which is in the form of an array path
sphinx4-core/src/main/java/edu/cmu/sphinx/alignment/tokenizer/PathExtractor.java:186
↓ 21 callers
Method
getOlabel
Get the output label's id @return output label id
sphinx4-core/src/main/java/edu/cmu/sphinx/fst/Arc.java:94
↓ 20 callers
Method
addAsLinear
Returns the summation of two numbers when the arguments and the result are in log. <p> That is, it returns log(a + b) given log(a) and log(b) </p> <p
sphinx4-core/src/main/java/edu/cmu/sphinx/util/LogMath.java:148
↓ 20 callers
Method
getAcousticScore
Get the acoustic score associated with an Edge. This is the acoustic score of the word that this edge is transitioning to, that is, the word represent
sphinx4-core/src/main/java/edu/cmu/sphinx/result/Edge.java:122
↓ 20 callers
Method
getBaseUnit
Gets the base unit associated with this HMM @return the unit associated with this HMM
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/acoustic/HMM.java:37
↓ 20 callers
Method
getSemiring
Get the semiring @return used semiring
sphinx4-core/src/main/java/edu/cmu/sphinx/fst/Fst.java:100
↓ 20 callers
Method
getStatisticsVariable
Gets the StatisticsVariable with the given name from the given context. If the statistic does not currently exist, it is created. If the context does
sphinx4-core/src/main/java/edu/cmu/sphinx/util/StatisticsVariable.java:41
↓ 20 callers
Method
readInt
Read an integer from the input stream, byte-swapping as necessary. @param dis the input stream @return an integer value @throws IOExceptio
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/acoustic/tiedstate/Sphinx3Loader.java:716
↓ 19 callers
Method
getFeatures
Returns the feature set of this item. @return the feature set of this item
sphinx4-core/src/main/java/edu/cmu/sphinx/alignment/tokenizer/Item.java:206
↓ 19 callers
Method
getIsyms
Get the input symbols' array @return array of input symbols
sphinx4-core/src/main/java/edu/cmu/sphinx/fst/Fst.java:151
↓ 19 callers
Method
getNode
Get node at the specified position in the list. The order is the same in which the nodes were entered. @param index index of item to retun @return th
sphinx4-core/src/main/java/edu/cmu/sphinx/trainer/UtteranceGraph.java:37
↓ 19 callers
Method
getStart
Get the initial states @return the initial state
sphinx4-core/src/main/java/edu/cmu/sphinx/fst/Fst.java:91
↓ 19 callers
Method
put
Put a new state in the epsilon closure
sphinx4-core/src/main/java/edu/cmu/sphinx/fst/operations/RmEpsilon.java:39
↓ 19 callers
Method
readInt
Read an integer from the input stream, byte-swapping as necessary. @param dis the input stream @return an integer value @throws IOException
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/acoustic/tiedstate/HTKLoader.java:394
↓ 18 callers
Method
add
Adds the given command to the command list. @param name the name of the command. @param command the command to be executed.
sphinx4-core/src/main/java/edu/cmu/sphinx/util/CommandInterpreter.java:378
↓ 18 callers
Method
getFirstSampleNumber
@return the position of the first sample in the original data. The very first sample number is zero.
sphinx4-core/src/main/java/edu/cmu/sphinx/frontend/DoubleData.java:92
↓ 18 callers
Method
getLeavingEdges
Get the Edges from this Node @return Edges from this Node
sphinx4-core/src/main/java/edu/cmu/sphinx/result/Node.java:218
↓ 18 callers
Method
getName
Gets the name for this unit @return the name for this unit
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/acoustic/Unit.java:70
↓ 18 callers
Method
getValue
Retrieves the value for this StatisticsVariable @return the current value for this StatisticsVariable
sphinx4-core/src/main/java/edu/cmu/sphinx/util/StatisticsVariable.java:109
↓ 18 callers
Method
lookup
Looks up an HMMPosition based upon its representation @param rep the string representation @return the HMMPosition represented by rep or null if not
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/acoustic/HMMPosition.java:56
↓ 18 callers
Method
setString
Convenience method that sets the named feature as a String. @param name the name of the feature @param value the value of the feature
sphinx4-core/src/main/java/edu/cmu/sphinx/alignment/tokenizer/FeatureSet.java:132
↓ 17 callers
Method
getComponentNames
Returns all names of configurables registered to this instance. The resulting set includes instantiated and non-instantiated components. @return all
sphinx4-core/src/main/java/edu/cmu/sphinx/util/props/ConfigurationManager.java:136
↓ 17 callers
Method
getEndNode
Gets the ending node @return the ending node for the graph
sphinx4-core/src/main/java/edu/cmu/sphinx/jsgf/JSGFBaseGrammar.java:650
↓ 17 callers
Method
getInitialState
Gets the initial states (with probabilities) for this HMM @return the set of arcs that transition to the initial states for this HMM
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/acoustic/HMM.java:68
↓ 17 callers
Method
getNgauss
()
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/acoustic/tiedstate/HTK/GMMDiag.java:50
↓ 17 callers
Method
getStartNode
Gets the starting node @return the starting node for the graph
sphinx4-core/src/main/java/edu/cmu/sphinx/jsgf/JSGFBaseGrammar.java:641
↓ 17 callers
Method
getWeight
Get the arc's weight @return arc weight
sphinx4-core/src/main/java/edu/cmu/sphinx/fst/Arc.java:61
↓ 17 callers
Method
readInt
Reads an integer from the given DataInputStream. @param stream the DataInputStream to read from @param bigEndian true if the DataInputStream is in
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/language/ngram/large/BinaryLoader.java:752
↓ 17 callers
Method
toPercentage
Turns the numerator/denominator into a percentage. @param pattern percentage pattern (ala DecimalFormat) @param numerator the numerator @param
sphinx4-core/src/main/java/edu/cmu/sphinx/util/NISTAlign.java:842
↓ 16 callers
Method
allocate
Allocates the linguist. Resources allocated by the linguist are allocated here. This method may take many seconds to complete depending upon the lingu
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/Linguist.java:146
↓ 16 callers
Method
asWordSequence
(final Dictionary dictionary, String... words)
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/WordSequence.java:43
↓ 16 callers
Method
contains
Determines if the map already contains an entry for a property. @param propName the property of interest @return true if the map already contains thi
sphinx4-core/src/main/java/edu/cmu/sphinx/util/props/RawPropertyData.java:100
↓ 16 callers
Method
expandNumber
Expands a digit string into a list of English words of those digits. For example, "1234" expands to "one two three four" @param numberString the digi
sphinx4-core/src/main/java/edu/cmu/sphinx/alignment/tokenizer/NumberExpander.java:62
↓ 16 callers
Method
getHMMState
Gets the hmm state @return the hmm state
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/HMMSearchState.java:25
↓ 16 callers
Method
getInstance
Creates an instance of the given <code>Configurable</code> by using the default parameters as defined by the class annotations to parameterize the com
sphinx4-core/src/main/java/edu/cmu/sphinx/util/props/ConfigurationManager.java:531
↓ 16 callers
Method
getLMScore
Get the language model score associated with an Edge @return the score
sphinx4-core/src/main/java/edu/cmu/sphinx/result/Edge.java:132
↓ 16 callers
Method
getProbability
Gets the n-gram probability of the word sequence represented by the word list @param wordSequence the wordSequence @return the probability of the wor
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/language/ngram/LanguageModel.java:77
↓ 16 callers
Method
getResult
Return Result object of current SpeechResult @return Result object stored in this.result
sphinx4-core/src/main/java/edu/cmu/sphinx/api/SpeechResult.java:88
↓ 16 callers
Method
getVectorLength
()
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/acoustic/tiedstate/Sphinx3Loader.java:200
↓ 16 callers
Method
isFinal
Determines if this is a final state @return <code>true</code> if the state is a final state
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/SearchState.java:39
↓ 16 callers
Method
newInstance
Creates a new empty version of this active list with the same general properties. @return a new active list.
sphinx4-core/src/main/java/edu/cmu/sphinx/decoder/search/ActiveList.java:115
↓ 16 callers
Method
pad
Returns a string with the given number of spaces. @param padding the number of spaces in the string @return a string of length 'padding' containing o
sphinx4-core/src/main/java/edu/cmu/sphinx/util/Utilities.java:38
↓ 16 callers
Method
times
(float w1, float w2)
sphinx4-core/src/main/java/edu/cmu/sphinx/fst/semiring/Semiring.java:36
↓ 15 callers
Method
clear
Clears all cached audio data.
sphinx4-core/src/main/java/edu/cmu/sphinx/frontend/util/Microphone.java:702
↓ 15 callers
Method
equals
(Object obj)
sphinx4-core/src/main/java/edu/cmu/sphinx/util/machlearn/OVector.java:45
↓ 15 callers
Method
getContext
Returns the context for this unit @return the context for this unit (or null if context independent)
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/acoustic/Unit.java:115
↓ 15 callers
Method
jjStopAtPos
(int pos, int kind)
sphinx4-core/src/main/java/edu/cmu/sphinx/jsgf/parser/JSGFParserTokenManager.java:113
↓ 14 callers
Method
getBeginTime
Get the frame number when the word began @return the begin frame number, or -1 if the frame number is unknown
sphinx4-core/src/main/java/edu/cmu/sphinx/result/Node.java:305
↓ 14 callers
Method
getComponentList
Gets a list of components associated with the given parameter name @param <T> parent component @param name the parameter name @param tclas
sphinx4-core/src/main/java/edu/cmu/sphinx/util/props/PropertySheet.java:397
↓ 14 callers
Method
getEnteringEdges
Get the Edges to this Node @return Edges to this Node
sphinx4-core/src/main/java/edu/cmu/sphinx/result/Node.java:208
↓ 14 callers
Method
getID
Gets the ID for this senone @return the senone id
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/acoustic/tiedstate/Senone.java:46
↓ 14 callers
Method
getOldest
Returns the oldest words in the sequence (the newest word is omitted) @return the oldest words in the sequence, with the newest word omitted
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/WordSequence.java:120
↓ 14 callers
Method
hasNode
Test to see if the Lattice contains a Node @param node node to check @return true if yes
sphinx4-core/src/main/java/edu/cmu/sphinx/result/Lattice.java:538
↓ 14 callers
Method
readChar
()
sphinx4-core/src/main/java/edu/cmu/sphinx/jsgf/parser/JavaCharStream.java:253
↓ 14 callers
Method
reset
Resets this component. Typically this is for components that keep track of statistics
sphinx4-core/src/main/java/edu/cmu/sphinx/instrumentation/Resetable.java:20
↓ 14 callers
Method
set
Sets the real and imaginary parts of this complex number. @param real the value of the real part @param imaginary the value of the imaginary par
sphinx4-core/src/main/java/edu/cmu/sphinx/util/Complex.java:81
↓ 14 callers
Method
setStart
Set the initial state @param start the initial state
sphinx4-core/src/main/java/edu/cmu/sphinx/fst/Fst.java:120
↓ 14 callers
Method
skip
(int n)
sphinx4-core/src/main/java/edu/cmu/sphinx/tools/audio/AudioDataInputStream.java:95
↓ 13 callers
Method
get
Gets the unit context for the given units. There is a single unit context for each unit combination. @param units the units of interest @return the u
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/flat/FlatLinguist.java:1464
↓ 13 callers
Method
getEndTime
Get the frame number when the word ends @return the end time, or -1 if the frame number if is unknown
sphinx4-core/src/main/java/edu/cmu/sphinx/result/Node.java:330
↓ 13 callers
Method
getNext
Gets the next item in this list. @return the next item or null
sphinx4-core/src/main/java/edu/cmu/sphinx/alignment/tokenizer/Item.java:331
↓ 13 callers
Method
getNumberNGrams
Returns the number of n-grams in this buffer. @return the number of n-grams in this buffer
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/language/ngram/large/NGramBuffer.java:90
↓ 13 callers
Method
getOsyms
Get the output symbols' array @return array fo output symbols
sphinx4-core/src/main/java/edu/cmu/sphinx/fst/Fst.java:169
↓ 13 callers
Method
getPredecessor
Returns the predecessor for this token, or null if this token has no predecessors @return the predecessor
sphinx4-core/src/main/java/edu/cmu/sphinx/decoder/search/Token.java:116
↓ 13 callers
Method
getUnits
Retrieves the units for this context @return the units associated with this context
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/flat/FlatLinguist.java:1476
↓ 13 callers
Method
getValues
Retrieves a vector from this buffer. Make sure you normalize the buffer first. @return the value
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/acoustic/tiedstate/trainer/Buffer.java:284
↓ 13 callers
Method
importFst
Imports an openfst text format Several files are imported as follows: - basename.input.syms - basename.output.syms - basename.fst.txt @param basename
sphinx4-core/src/main/java/edu/cmu/sphinx/fst/Convert.java:185
↓ 13 callers
Method
recognize
Performs recognition. Processes no more than the given number of frames before returning. This method returns a partial result after nFrames have been
sphinx4-core/src/main/java/edu/cmu/sphinx/decoder/search/SearchManager.java:61
↓ 13 callers
Method
setFinalWeight
Set the state's final weight @param fnlfloat the final weight to set
sphinx4-core/src/main/java/edu/cmu/sphinx/fst/State.java:102
↓ 13 callers
Method
setProperty
Attempts to set the value of an arbitrary component-property. If the property-name is ambiguous with respect to the given <code>ConfiguratioManager</
sphinx4-core/src/main/java/edu/cmu/sphinx/util/props/ConfigurationManagerUtils.java:607
↓ 12 callers
Method
addEdge
Add an edge from fromNode to toNode. This method creates the Edge object and does all the connecting @param fromNode from node @param toNode to node
sphinx4-core/src/main/java/edu/cmu/sphinx/result/Lattice.java:481
↓ 12 callers
Method
allocate
Create the language model @throws java.io.IOException if error occurrs
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/language/ngram/LanguageModel.java:61
↓ 12 callers
Method
close
Do clean up @throws IOException if something went wrong
sphinx4-core/src/main/java/edu/cmu/sphinx/tools/live/LiveModeRecognizer.java:255
↓ 12 callers
Method
getGrammarNode
Retrieves the destination node for this transition @return the destination node
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/language/grammar/GrammarArc.java:46
↓ 12 callers
Method
getInsertionProbability
Gets the insertion probability of entering this state @return the log probability
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/SearchStateArc.java:47
↓ 12 callers
Method
getLanguageProbability
Gets the language probability of entering this state @return the log probability
sphinx4-core/src/main/java/edu/cmu/sphinx/linguist/SearchStateArc.java:40
↓ 12 callers
Method
getLeft
()
sphinx4-core/src/main/java/edu/cmu/sphinx/fst/utils/Pair.java:49
↓ 12 callers
Method
getObject
Retrieves the object associated with this node. @return the object
sphinx4-core/src/main/java/edu/cmu/sphinx/trainer/Node.java:82
← previous
next →
101–200 of 4,553, ranked by callers