MCPcopy Create free account

hub / github.com/ccoreilly/LocalSTT / functions

Functions83 in github.com/ccoreilly/LocalSTT

↓ 9 callersMethodcancel
Cancels recognition. Listeners do not receive final result. Does nothing if recognition is not active. @return true if recognition was actually cance
app/src/main/java/cat/oreilly/localstt/DeepSpeechService.java:173
↓ 5 callersMethodresults
(Bundle bundle, boolean isFinal)
app/src/main/java/cat/oreilly/localstt/DeepSpeechRecognitionService.java:119
↓ 5 callersMethodresults
(Bundle bundle, boolean isFinal)
app/src/main/java/cat/oreilly/localstt/VoskRecognitionService.java:142
↓ 5 callersMethodstartListening
Starts recognition. Does nothing if recognition is active. @return true if recognition was actually started
app/src/main/java/cat/oreilly/localstt/DeepSpeechService.java:111
↓ 3 callersMethodcreateResultsBundle
(String hypothesis)
app/src/main/java/cat/oreilly/localstt/DeepSpeechRecognitionService.java:134
↓ 3 callersMethodcreateResultsBundle
(String hypothesis)
app/src/main/java/cat/oreilly/localstt/VoskRecognitionService.java:155
↓ 3 callersMethodopenAsset
(String asset)
app/src/main/java/cat/oreilly/localstt/Assets.java:174
↓ 3 callersMethodstop
Stops recognition. All listeners should receive final result if there is any. Does nothing if recognition is not active. @return true if recognition
app/src/main/java/cat/oreilly/localstt/DeepSpeechService.java:159
↓ 2 callersMethodcreateMessage
(int type, String str)
app/src/main/java/cat/oreilly/localstt/SpeechActivity.java:83
↓ 2 callersMethoderror
(int errorCode)
app/src/main/java/cat/oreilly/localstt/DeepSpeechRecognitionService.java:150
↓ 2 callersMethoderror
(int errorCode)
app/src/main/java/cat/oreilly/localstt/VoskRecognitionService.java:171
↓ 2 callersMethodexecute
(RecognitionListener listener)
app/src/main/java/cat/oreilly/localstt/DeepSpeechService.java:284
↓ 2 callersMethodreadLines
(InputStream source)
app/src/main/java/cat/oreilly/localstt/Assets.java:165
↓ 2 callersMethodshowError
(String msg)
app/src/main/java/cat/oreilly/localstt/SpeechActivity.java:96
↓ 2 callersMethodshutdown
Shutdown the recognizer and release the recorder
app/src/main/java/cat/oreilly/localstt/DeepSpeechService.java:183
↓ 2 callersMethodstopRecognizerThread
()
app/src/main/java/cat/oreilly/localstt/DeepSpeechService.java:137
↓ 2 callersMethodsyncAssets
Performs the sync of assets in the application and on the external storage @return The folder on external storage with data @throws IOException
app/src/main/java/cat/oreilly/localstt/Assets.java:233
↓ 2 callersMethodtoast
(String message)
app/src/main/java/cat/oreilly/localstt/SpeechActivity.java:92
↓ 1 callersMethodaddListener
Adds listener.
app/src/main/java/cat/oreilly/localstt/DeepSpeechService.java:91
↓ 1 callersMethodbeginningOfSpeech
()
app/src/main/java/cat/oreilly/localstt/DeepSpeechRecognitionService.java:142
↓ 1 callersMethodbeginningOfSpeech
()
app/src/main/java/cat/oreilly/localstt/VoskRecognitionService.java:163
↓ 1 callersMethodcheckPermission
()
app/src/main/java/cat/oreilly/localstt/SpeechActivity.java:187
↓ 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
app/src/main/java/cat/oreilly/localstt/Assets.java:204
↓ 1 callersMethodexecute
(RecognitionListener listener)
app/src/main/java/cat/oreilly/localstt/DeepSpeechService.java:272
↓ 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.
app/src/main/java/cat/oreilly/localstt/Assets.java:129
↓ 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
app/src/main/java/cat/oreilly/localstt/Assets.java:116
↓ 1 callersMethodgetPendingIntent
(Bundle extras)
app/src/main/java/cat/oreilly/localstt/SpeechActivity.java:252
↓ 1 callersMethodonError
(int i)
app/src/main/java/cat/oreilly/localstt/SpeechActivity.java:139
↓ 1 callersMethodonPartialResult
(String hypothesis)
app/src/main/java/cat/oreilly/localstt/VoskRecognitionService.java:204
↓ 1 callersMethodonResult
(String hypothesis)
app/src/main/java/cat/oreilly/localstt/VoskRecognitionService.java:182
↓ 1 callersMethodonTimeout
()
app/src/main/java/cat/oreilly/localstt/VoskRecognitionService.java:221
↓ 1 callersMethodreadyForSpeech
(Bundle bundle)
app/src/main/java/cat/oreilly/localstt/DeepSpeechRecognitionService.java:111
↓ 1 callersMethodreadyForSpeech
(Bundle bundle)
app/src/main/java/cat/oreilly/localstt/VoskRecognitionService.java:134
↓ 1 callersMethodreturnResults
(ArrayList<String> results)
app/src/main/java/cat/oreilly/localstt/SpeechActivity.java:204
↓ 1 callersMethodrunRecognizerSetup
()
app/src/main/java/cat/oreilly/localstt/DeepSpeechRecognitionService.java:62
↓ 1 callersMethodrunRecognizerSetup
()
app/src/main/java/cat/oreilly/localstt/VoskRecognitionService.java:71
↓ 1 callersMethodsetResultIntent
(final Handler handler, List<String> matches)
app/src/main/java/cat/oreilly/localstt/SpeechActivity.java:246
↓ 1 callersMethodsetupRecognizer
()
app/src/main/java/cat/oreilly/localstt/DeepSpeechRecognitionService.java:100
↓ 1 callersMethodsetupRecognizer
()
app/src/main/java/cat/oreilly/localstt/VoskRecognitionService.java:113
↓ 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
app/src/main/java/cat/oreilly/localstt/Assets.java:188
MethodAssets
Creates new instance for asset synchronization @param context application context @throws IOException if the directory does n
app/src/main/java/cat/oreilly/localstt/Assets.java:78
MethodDeepSpeechService
Creates speech service. Service holds the AudioRecord object, so you need to call {@link release} in order to properly finalize it. @throws IOExcepti
app/src/main/java/cat/oreilly/localstt/DeepSpeechService.java:69
MethodOnErrorEvent
(Exception exception)
app/src/main/java/cat/oreilly/localstt/DeepSpeechService.java:296
MethodRecognizerThread
(int timeout)
app/src/main/java/cat/oreilly/localstt/DeepSpeechService.java:195
MethodResultEvent
(String hypothesis, boolean finalResult)
app/src/main/java/cat/oreilly/localstt/DeepSpeechService.java:279
MethodSimpleMessageHandler
(SpeechActivity c)
app/src/main/java/cat/oreilly/localstt/SpeechActivity.java:60
Methodexecute
(RecognitionListener listener)
app/src/main/java/cat/oreilly/localstt/DeepSpeechService.java:300
Methodexecute
(RecognitionListener listener)
app/src/main/java/cat/oreilly/localstt/DeepSpeechService.java:307
MethodgetExternalDir
Returns destination path on external storage where assets are copied. @return path to application directory or null if it does not exists
app/src/main/java/cat/oreilly/localstt/Assets.java:105
MethodgetItemsToCopy
In case you want to create more smart sync implementation, this method returns the list of items which must be synchronized.
app/src/main/java/cat/oreilly/localstt/Assets.java:147
MethodhandleMessage
(Message msg)
app/src/main/java/cat/oreilly/localstt/SpeechActivity.java:64
MethodonBeginningOfSpeech
()
app/src/main/java/cat/oreilly/localstt/SpeechActivity.java:118
MethodonBufferReceived
(byte[] bytes)
app/src/main/java/cat/oreilly/localstt/SpeechActivity.java:129
MethodonCancel
(Callback callback)
app/src/main/java/cat/oreilly/localstt/DeepSpeechRecognitionService.java:50
MethodonCancel
(Callback callback)
app/src/main/java/cat/oreilly/localstt/VoskRecognitionService.java:59
MethodonCreate
(final Bundle savedInstanceState)
app/src/main/java/cat/oreilly/localstt/SpeechActivity.java:100
MethodonDestroy
()
app/src/main/java/cat/oreilly/localstt/DeepSpeechRecognitionService.java:90
MethodonDestroy
()
app/src/main/java/cat/oreilly/localstt/VoskRecognitionService.java:103
MethodonDestroy
()
app/src/main/java/cat/oreilly/localstt/SpeechActivity.java:180
MethodonEndOfSpeech
()
app/src/main/java/cat/oreilly/localstt/SpeechActivity.java:134
MethodonError
(Exception e)
app/src/main/java/cat/oreilly/localstt/DeepSpeechRecognitionService.java:183
MethodonError
(Exception e)
app/src/main/java/cat/oreilly/localstt/VoskRecognitionService.java:215
MethodonEvent
(int i, Bundle bundle)
app/src/main/java/cat/oreilly/localstt/SpeechActivity.java:161
MethodonFinalResult
(String hypothesis)
app/src/main/java/cat/oreilly/localstt/DeepSpeechRecognitionService.java:167
MethodonFinalResult
(String hypothesis)
app/src/main/java/cat/oreilly/localstt/VoskRecognitionService.java:193
MethodonPartialResult
(String hypothesis)
app/src/main/java/cat/oreilly/localstt/DeepSpeechRecognitionService.java:175
MethodonPartialResults
(Bundle bundle)
app/src/main/java/cat/oreilly/localstt/SpeechActivity.java:153
MethodonReadyForSpeech
(Bundle bundle)
app/src/main/java/cat/oreilly/localstt/SpeechActivity.java:113
MethodonRequestPermissionsResult
(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults)
app/src/main/java/cat/oreilly/localstt/SpeechActivity.java:194
MethodonResult
(String hypothesis)
app/src/main/java/cat/oreilly/localstt/DeepSpeechRecognitionService.java:159
MethodonResults
(Bundle bundle)
app/src/main/java/cat/oreilly/localstt/SpeechActivity.java:144
MethodonRmsChanged
(float v)
app/src/main/java/cat/oreilly/localstt/SpeechActivity.java:124
MethodonStart
()
app/src/main/java/cat/oreilly/localstt/SpeechActivity.java:169
MethodonStartListening
(Intent intent, Callback callback)
app/src/main/java/cat/oreilly/localstt/DeepSpeechRecognitionService.java:43
MethodonStartListening
(Intent intent, Callback callback)
app/src/main/java/cat/oreilly/localstt/VoskRecognitionService.java:52
MethodonStopListening
(Callback callback)
app/src/main/java/cat/oreilly/localstt/DeepSpeechRecognitionService.java:56
MethodonStopListening
(Callback callback)
app/src/main/java/cat/oreilly/localstt/VoskRecognitionService.java:65
MethodonTimeout
()
app/src/main/java/cat/oreilly/localstt/DeepSpeechRecognitionService.java:189
MethodremoveListener
Removes listener.
app/src/main/java/cat/oreilly/localstt/DeepSpeechService.java:100
Methodrun
()
app/src/main/java/cat/oreilly/localstt/DeepSpeechService.java:207
Methodrun
()
app/src/main/java/cat/oreilly/localstt/DeepSpeechService.java:266
Methodrun
()
app/src/main/java/cat/oreilly/localstt/DeepSpeechRecognitionService.java:64
Methodrun
()
app/src/main/java/cat/oreilly/localstt/VoskRecognitionService.java:73