MCPcopy Create free account

hub / github.com/cmusphinx/pocketsphinx-android / functions

Functions56 in github.com/cmusphinx/pocketsphinx-android

↓ 3 callersMethodopenAsset
(String asset)
src/main/java/edu/cmu/pocketsphinx/Assets.java:190
↓ 3 callersMethodsetString
(String key, String value)
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizerSetup.java:112
↓ 2 callersMethodreadLines
(InputStream source)
src/main/java/edu/cmu/pocketsphinx/Assets.java:181
↓ 2 callersMethodsetFloat
(String key, double value)
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizerSetup.java:107
↓ 2 callersMethodstop
Stops recognition. All listeners should receive final result if there is any. Does nothing if recognition is not active. @return true if recognition
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizer.java:169
↓ 2 callersMethodstopRecognizerThread
()
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizer.java:147
↓ 1 callersMethodcopy
Copies raw asset resource to external storage of the device. @param path path of the asset to copy @throws IOException if an I
src/main/java/edu/cmu/pocketsphinx/Assets.java:220
↓ 1 callersMethodexecute
(RecognitionListener listener)
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizer.java:394
↓ 1 callersMethodgetExternalItems
Returns path to hash mappings for the previously copied files. This method can be used to find out assets which must be updated.
src/main/java/edu/cmu/pocketsphinx/Assets.java:145
↓ 1 callersMethodgetItems
Returns the map of asset paths to the files checksums. @return path to the root of resources directory on external storage @throws IOException
src/main/java/edu/cmu/pocketsphinx/Assets.java:132
↓ 1 callersMethodonBeginningOfSpeech
Called at the start of utterance.
src/main/java/edu/cmu/pocketsphinx/RecognitionListener.java:41
↓ 1 callersMethodonEndOfSpeech
Called at the end of utterance.
src/main/java/edu/cmu/pocketsphinx/RecognitionListener.java:46
↓ 1 callersMethodonError
Called when an error occurs.
src/main/java/edu/cmu/pocketsphinx/RecognitionListener.java:61
↓ 1 callersMethodonPartialResult
Called when partial recognition result is available.
src/main/java/edu/cmu/pocketsphinx/RecognitionListener.java:51
↓ 1 callersMethodonResult
Called after the recognition is ended.
src/main/java/edu/cmu/pocketsphinx/RecognitionListener.java:56
↓ 1 callersMethodonTimeout
Called after timeout expired
src/main/java/edu/cmu/pocketsphinx/RecognitionListener.java:66
↓ 1 callersMethodupdateItemList
Saves the list of synchronized items. The list is stored as a two-column space-separated list of items in a text file. The file is located at the root
src/main/java/edu/cmu/pocketsphinx/Assets.java:204
MethodAssets
Creates new instance for asset synchronization @param context application context @throws IOException if the directory does n
src/main/java/edu/cmu/pocketsphinx/Assets.java:94
MethodInSpeechChangeEvent
(boolean state)
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizer.java:400
MethodOnErrorEvent
(Exception exception)
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizer.java:434
MethodRecognizerThread
(int timeout)
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizer.java:309
MethodResultEvent
(Hypothesis hypothesis, boolean finalResult)
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizer.java:417
MethodSpeechRecognizer
Creates speech recognizer. Recognizer holds the AudioRecord object, so you need to call {@link release} in order to properly finalize it. @param conf
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizer.java:78
MethodSpeechRecognizerSetup
(Config config)
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizerSetup.java:69
MethodaddAllphoneSearch
Adds a search to look for the phonemes @param name search name @param phonetic bigram model
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizer.java:299
MethodaddFsgSearch
(String searchName, FsgModel fsgModel)
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizer.java:220
MethodaddGrammarSearch
Adds searches based on JSpeech grammar file. @param name search name @param file JSGF file
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizer.java:232
MethodaddKeyphraseSearch
Adds search based on a single phrase. @param name search name @param phrase search phrase
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizer.java:270
MethodaddKeywordSearch
Adds search based on a keyphrase file. @param name search name @param phrase a file with search phrases, one phrase per line wi
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizer.java:287
MethodaddListener
Adds listener.
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizer.java:97
MethodaddNgramSearch
Adds search based on N-gram language model. @param name search name @param file N-gram model file
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizer.java:257
Methodcancel
Cancels recognition. Listeners do not receive final result. Does nothing if recognition is not active. @return true if recognition was actually cance
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizer.java:185
MethoddefaultSetup
Creates new speech recognizer builder with default configuration.
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizerSetup.java:54
Methodexecute
(RecognitionListener listener)
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizer.java:404
Methodexecute
(RecognitionListener listener)
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizer.java:422
Methodexecute
(RecognitionListener listener)
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizer.java:438
Methodexecute
(RecognitionListener listener)
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizer.java:445
MethodgetDecoder
Returns the decoder object for advanced operation (dictionary extension, utterance data collection, adaptation and so on). @return Decoder
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizer.java:200
MethodgetExternalDir
Returns destination path on external storage where assets are copied. @return path to application directory or null if it does not exists
src/main/java/edu/cmu/pocketsphinx/Assets.java:121
MethodgetItemsToCopy
In case you want to create more smart sync implementation, this method returns the list of items which must be synchronized.
src/main/java/edu/cmu/pocketsphinx/Assets.java:163
MethodgetRecognizer
()
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizerSetup.java:73
MethodgetSearchName
Gets name of the currently active search. @return active search name or null if no search was started
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizer.java:216
MethodremoveListener
Removes listener.
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizer.java:106
Methodrun
()
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizer.java:321
Methodrun
()
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizer.java:388
MethodsetAcousticModel
(File model)
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizerSetup.java:77
MethodsetBoolean
(String key, boolean value)
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizerSetup.java:97
MethodsetDictionary
(File dictionary)
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizerSetup.java:81
MethodsetInteger
(String key, int value)
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizerSetup.java:102
MethodsetKeywordThreshold
(float threshold)
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizerSetup.java:93
MethodsetRawLogDir
(File dir)
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizerSetup.java:89
MethodsetSampleRate
(int rate)
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizerSetup.java:85
MethodsetupFromFile
Creates new speech recognizer builder from configuration file. Configuration file should consist of lines containing key-value pairs. @param configFi
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizerSetup.java:65
Methodshutdown
Shutdown the recognizer and release the recorder
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizer.java:207
MethodstartListening
Starts recognition. Does nothing if recognition is active. @return true if recognition was actually started
src/main/java/edu/cmu/pocketsphinx/SpeechRecognizer.java:117
MethodsyncAssets
Performs the sync of assets in the application and on the external storage @return The folder on external storage with data @throws IOException
src/main/java/edu/cmu/pocketsphinx/Assets.java:249