summaryrefslogtreecommitdiff
path: root/src/GF/System/SpeechInput.hs
diff options
context:
space:
mode:
authorbringert <bringert@cs.chalmers.se>2005-12-13 21:03:56 +0000
committerbringert <bringert@cs.chalmers.se>2005-12-13 21:03:56 +0000
commit5a480fac520db1bab6f1336bee9b2031dbd36cab (patch)
tree01210f87844268c0652867df51f4831094fa3e17 /src/GF/System/SpeechInput.hs
parent9f867c4922cccb6e61b273a55103e2afaeac4bde (diff)
Added semi-working speech_input command.
Diffstat (limited to 'src/GF/System/SpeechInput.hs')
-rw-r--r--src/GF/System/SpeechInput.hs27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/GF/System/SpeechInput.hs b/src/GF/System/SpeechInput.hs
new file mode 100644
index 000000000..6c2374473
--- /dev/null
+++ b/src/GF/System/SpeechInput.hs
@@ -0,0 +1,27 @@
+{-# OPTIONS -cpp #-}
+
+----------------------------------------------------------------------
+-- |
+-- Module : GF.System.SpeechInput
+-- Maintainer : BB
+-- Stability : (stable)
+-- Portability : (portable)
+--
+-- > CVS $Date: 2005/05/10 15:04:01 $
+-- > CVS $Author: bringert $
+-- > CVS $Revision: 1.2 $
+--
+-- Uses the right speech recognition library for speech input.
+-----------------------------------------------------------------------------
+
+module GF.System.SpeechInput (recognizeSpeech) where
+
+#ifdef USE_ATK
+
+import GF.System.ATKSpeechInput (recognizeSpeech)
+
+#else
+
+import GF.System.NoSpeechInput (recognizeSpeech)
+
+#endif