From d4d89c72f370fe4c63cc5aaa612e64cb09c6f650 Mon Sep 17 00:00:00 2001 From: bringert Date: Tue, 17 Jan 2006 02:13:57 +0000 Subject: Use cat and language in ATK si. Support language switching with ATK. --- src/GF/System/NoSpeechInput.hs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/GF/System/NoSpeechInput.hs') diff --git a/src/GF/System/NoSpeechInput.hs b/src/GF/System/NoSpeechInput.hs index ca78bc3ee..04197ce92 100644 --- a/src/GF/System/NoSpeechInput.hs +++ b/src/GF/System/NoSpeechInput.hs @@ -18,6 +18,11 @@ import GF.Infra.Ident (Ident) import GF.Infra.Option (Options) import GF.Conversion.Types (CGrammar) + recognizeSpeech :: Ident -- ^ Grammar name - -> Options -> CGrammar -> IO String -recognizeSpeech _ _ _ = fail "No speech input available" + -> String -- ^ Language, e.g. en_UK + -> CGrammar -- ^ Context-free grammar for input + -> String -- ^ Start category name + -> Int -- ^ Number of utterances + -> IO [String] +recognizeSpeech _ _ _ _ _ = fail "No speech input available" -- cgit v1.2.3