diff options
Diffstat (limited to 'src/GF/System/NoSpeechInput.hs')
| -rw-r--r-- | src/GF/System/NoSpeechInput.hs | 9 |
1 files changed, 7 insertions, 2 deletions
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" |
