Module: Adhearsion::VoIP::Asterisk::Commands::SpeechEngines
- Defined in:
- lib/adhearsion/voip/asterisk/commands.rb
Defined Under Namespace
Classes: InvalidSpeechEngine
Class Method Summary
collapse
Class Method Details
.cepstral(text) ⇒ Object
1552
1553
1554
1555
|
# File 'lib/adhearsion/voip/asterisk/commands.rb', line 1552
def cepstral(text)
puts "in ceptral"
puts escape(text)
end
|
.festival(text) ⇒ Object
1557
1558
1559
|
# File 'lib/adhearsion/voip/asterisk/commands.rb', line 1557
def festival(text)
raise NotImplementedError
end
|
.method_missing(engine_name, text) ⇒ Object
1565
1566
1567
|
# File 'lib/adhearsion/voip/asterisk/commands.rb', line 1565
def method_missing(engine_name, text)
raise InvalidSpeechEngine, "Unsupported speech engine #{engine_name} for speaking '#{text}'"
end
|
.none(text) ⇒ Object
1561
1562
1563
|
# File 'lib/adhearsion/voip/asterisk/commands.rb', line 1561
def none(text)
raise InvalidSpeechEngine, "No speech engine selected. You must specify one in your Adhearsion config file."
end
|