From 2c55f4da462383ee6c7b89ea44e5c40cd5badf0c Mon Sep 17 00:00:00 2001 From: schneefux Date: Wed, 23 Jul 2014 21:21:17 -0700 Subject: Google STT works on OS X --- client/modules/Unclear.py | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 client/modules/Unclear.py (limited to 'client/modules/Unclear.py') 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 -- cgit v1.3.1