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
1432
1433
1434
1435
|
# File 'lib/adhearsion/voip/asterisk/commands.rb', line 1432
def cepstral(text)
puts "in ceptral"
puts escape(text)
end
|
.festival(text) ⇒ Object
1437
1438
1439
|
# File 'lib/adhearsion/voip/asterisk/commands.rb', line 1437
def festival(text)
raise NotImplementedError
end
|
.method_missing(engine_name, text) ⇒ Object
1445
1446
1447
|
# File 'lib/adhearsion/voip/asterisk/commands.rb', line 1445
def method_missing(engine_name, text)
raise InvalidSpeechEngine, "Unsupported speech engine #{engine_name} for speaking '#{text}'"
end
|
.none(text) ⇒ Object
1441
1442
1443
|
# File 'lib/adhearsion/voip/asterisk/commands.rb', line 1441
def none(text)
raise InvalidSpeechEngine, "No speech engine selected. You must specify one in your Adhearsion config file."
end
|