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



1481
1482
1483
1484
# File 'lib/adhearsion/voip/asterisk/commands.rb', line 1481

def cepstral(text)
  puts "in ceptral"
  puts escape(text)
end

.festival(text) ⇒ Object

Raises:

  • (NotImplementedError)


1486
1487
1488
# File 'lib/adhearsion/voip/asterisk/commands.rb', line 1486

def festival(text)
  raise NotImplementedError
end

.method_missing(engine_name, text) ⇒ Object



1494
1495
1496
# File 'lib/adhearsion/voip/asterisk/commands.rb', line 1494

def method_missing(engine_name, text)
  raise InvalidSpeechEngine, "Unsupported speech engine #{engine_name} for speaking '#{text}'"
end

.none(text) ⇒ Object



1490
1491
1492
# File 'lib/adhearsion/voip/asterisk/commands.rb', line 1490

def none(text)
  raise InvalidSpeechEngine, "No speech engine selected. You must specify one in your Adhearsion config file."
end