summaryrefslogtreecommitdiff
path: root/client/modules/Unclear.py
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-07-23 21:21:17 -0700
committerschneefux <schneefux+commit@schneefux.xyz>2014-07-23 21:21:17 -0700
commit2c55f4da462383ee6c7b89ea44e5c40cd5badf0c (patch)
tree078672f2b221cfb7d0aa765f438002a277914c9f /client/modules/Unclear.py
parent8a5e5ed385a5c467260c2f1b20816a66cebfc1c6 (diff)
downloadjasper-client-2c55f4da462383ee6c7b89ea44e5c40cd5badf0c.tar.gz
jasper-client-2c55f4da462383ee6c7b89ea44e5c40cd5badf0c.zip
Google STT works on OS X
Diffstat (limited to 'client/modules/Unclear.py')
-rw-r--r--client/modules/Unclear.py29
1 files changed, 0 insertions, 29 deletions
diff --git a/client/modules/Unclear.py b/client/modules/Unclear.py
deleted file mode 100644
index 23ab2ed..0000000
--- a/client/modules/Unclear.py
+++ /dev/null
@@ -1,29 +0,0 @@
-from sys import maxint
-import random
-
-WORDS = []
-
-PRIORITY = -(maxint + 1)
-
-
-def handle(text, mic, profile):
- """
- Reports that the user has unclear or unusable input.
-
- Arguments:
- text -- user-input, typically transcribed speech
- mic -- used to interact with the user (for both input and output)
- profile -- contains information related to the user (e.g., phone number)
- """
-
- messages = ["I'm sorry, could you repeat that?",
- "My apologies, could you try saying that again?",
- "Say that again?", "I beg your pardon?"]
-
- message = random.choice(messages)
-
- mic.say(message)
-
-
-def isValid(text):
- return True