Skip to content

Commit

Permalink
Add alternative phrases for activating german mode
Browse files Browse the repository at this point in the history
Also split commands for german mode versus temporary german phrase
  • Loading branch information
markus authored and markus committed Jun 5, 2023
1 parent 50ae1e2 commit 4a30a50
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions activate_german.talon
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
language: en_US
-
^german$:
#^(german | deutsch | nemetz)$:
# keep 'nemetz' for quick german phrases only to avoid getting stuck in german
# mode when this was not intended
^(german | deutsch)$:
mode.disable("command")
mode.enable("user.german")

^english$: skip()
^(english | ego | pego)$: skip()

^german <phrase>$:
# doizy (jp doitsu = deutsch / german) conflicts with dot
# nemetz (ru = german) works great, no conflicts
# nemmy conflicts with mimi
^(german | doizy | nemetz | nemmy) <phrase>$:
user.vosk_recognize_german(phrase)

0 comments on commit 4a30a50

Please sign in to comment.