app/src/main/java/com/example/jarvis_stts/JarvisService.kt aktualisiert
This commit is contained in:
@@ -143,8 +143,8 @@ class JarvisService : Service(), RecognitionListener {
|
||||
val json = JSONObject(hypothesis)
|
||||
val partialText = json.optString("partial").lowercase().trim()
|
||||
|
||||
// HIER: Lass dir mal ausgeben, was er eigentlich versteht!
|
||||
if (partialText.isNotEmpty()) {
|
||||
// Wir ignorieren leere Strings und bekannte Rausch-Wörter für das Log
|
||||
if (partialText.isNotEmpty() && partialText != "nun" && partialText.length > 2) {
|
||||
Log.d("JARVIS_DEBUG", "Vosk hört: $partialText")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user