瀏覽代碼

Fix: tv_whats_on Pattern mit optionalem 'was' am Anfang

Vosk verschluckt manchmal das erste Wort — "kommt heute abend
auf pro sieben" statt "was kommt...". Patterns nutzen jetzt
[was] als optional damit beide Varianten matchen.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
patrick 2 月之前
父節點
當前提交
f6ce7b795f
共有 1 個文件被更改,包括 4 次插入6 次删除
  1. 4 6
      plugins/tv_program/intents_de.yml

+ 4 - 6
plugins/tv_program/intents_de.yml

@@ -3,14 +3,12 @@
 tv_whats_on:
   samples: 800
   patterns:
-    - "was kommt [heute|morgen] auf {channel}"
-    - "was laeuft [heute|morgen] auf {channel}"
-    - "was kommt [heute|morgen] (abend|abends) auf {channel}"
-    - "was laeuft [heute|morgen] (abend|abends) auf {channel}"
+    - "[was] (kommt|laeuft) [heute|morgen] auf {channel}"
+    - "[was] (kommt|laeuft) [heute|morgen] (abend|abends) auf {channel}"
+    - "[was] (kommt|laeuft) [jetzt|gerade] auf {channel}"
     - "programm [von|auf] {channel}"
     - "{channel} programm [heute|morgen]"
-    - "was (zeigt|bringt) {channel}"
-    - "was (kommt|laeuft) [jetzt|gerade] auf {channel}"
+    - "[was] (zeigt|bringt) {channel}"
   examples:
     - "Was kommt heute auf RTL Zwei?"
     - "Was kommt heute auf Pro Sieben?"