README.md in adhearsion-asr-1.0.1 vs README.md in adhearsion-asr-1.1.0
- old
+ new
@@ -75,11 +75,11 @@
item { 'no' }
end
end
end
- result = ask grammar: grammar, input_options: { mode: :speech }
+ result = ask grammar: grammar, input_options: { mode: :voice }
case result.status
when :match
speak "You said #{result.utterance}"
when :noinput
speak "Hellooo? Anyone there?"
@@ -93,10 +93,10 @@
### Collecting input from a speech grammar by URL
```ruby
class MyController < Adhearsion::CallController
def run
- result = ask grammar_url: 'http://example.com/mygrammar.grxml', input_options: { mode: :speech }
+ result = ask grammar_url: 'http://example.com/mygrammar.grxml', input_options: { mode: :voice }
case result.status
when :match
speak "You said #{result.utterance}"
when :noinput
speak "Hellooo? Anyone there?"