Public Member Functions | Public Attributes | Static Public Attributes | List of all members
julius_client.JuliusClient Class Reference
Inheritance diagram for julius_client.JuliusClient:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self)
 
def activate_gram (self, name)
 
def add_gram (self, name, dfa, dic)
 
def change_gram (self, name, dfa, dic)
 
def deactivate_gram (self, name)
 
def do_gram (self, cmd_name, name, dfa, dic)
 
def grammar_cb (self, msg)
 
def julius_cb (self, data)
 
def play_sound (self, path, timeout=5.0)
 
def process_result (self, data)
 
def send_grammar_cmd (self, cmd)
 
def shutdown_cb (self)
 
def speech_recognition_cb (self, req)
 
def start (self)
 
def status (self, args=None)
 
def vocabulary_cb (self, msg)
 

Public Attributes

 act_sound
 
 audio
 
 default_duration
 
 default_threshold
 
 encoding
 
 grammar_changed
 
 last_speech
 
 lock
 
 module
 
 pub_speech_recognition
 
 srv_show_status
 
 srv_speech_recognition
 
 start_signal_action_timeout
 
 sub_grammar
 
 sub_vocabulary
 
 use_isolated_word
 
 vocabularies
 

Static Public Attributes

string start_signal = "/usr/share/sounds/ubuntu/stereo/bell.ogg"
 
string success_signal = "/usr/share/sounds/ubuntu/stereo/message-new-instant.ogg"
 
string timeout_signal = "/usr/share/sounds/ubuntu/stereo/window-slide.ogg"
 

Detailed Description

Definition at line 25 of file julius_client.py.

Constructor & Destructor Documentation

def julius_client.JuliusClient.__init__ (   self)

Definition at line 30 of file julius_client.py.

Member Function Documentation

def julius_client.JuliusClient.activate_gram (   self,
  name 
)

Definition at line 111 of file julius_client.py.

def julius_client.JuliusClient.add_gram (   self,
  name,
  dfa,
  dic 
)

Definition at line 152 of file julius_client.py.

def julius_client.JuliusClient.change_gram (   self,
  name,
  dfa,
  dic 
)

Definition at line 157 of file julius_client.py.

def julius_client.JuliusClient.deactivate_gram (   self,
  name 
)

Definition at line 122 of file julius_client.py.

def julius_client.JuliusClient.do_gram (   self,
  cmd_name,
  name,
  dfa,
  dic 
)

Definition at line 134 of file julius_client.py.

def julius_client.JuliusClient.grammar_cb (   self,
  msg 
)

Definition at line 160 of file julius_client.py.

def julius_client.JuliusClient.julius_cb (   self,
  data 
)

Definition at line 308 of file julius_client.py.

def julius_client.JuliusClient.play_sound (   self,
  path,
  timeout = 5.0 
)

Definition at line 94 of file julius_client.py.

def julius_client.JuliusClient.process_result (   self,
  data 
)

Definition at line 278 of file julius_client.py.

def julius_client.JuliusClient.send_grammar_cmd (   self,
  cmd 
)

Definition at line 104 of file julius_client.py.

def julius_client.JuliusClient.shutdown_cb (   self)

Definition at line 304 of file julius_client.py.

def julius_client.JuliusClient.speech_recognition_cb (   self,
  req 
)

Definition at line 196 of file julius_client.py.

def julius_client.JuliusClient.start (   self)

Definition at line 84 of file julius_client.py.

def julius_client.JuliusClient.status (   self,
  args = None 
)

Definition at line 88 of file julius_client.py.

def julius_client.JuliusClient.vocabulary_cb (   self,
  msg 
)

Definition at line 179 of file julius_client.py.

Member Data Documentation

julius_client.JuliusClient.act_sound

Definition at line 43 of file julius_client.py.

julius_client.JuliusClient.audio

Definition at line 55 of file julius_client.py.

julius_client.JuliusClient.default_duration

Definition at line 33 of file julius_client.py.

julius_client.JuliusClient.default_threshold

Definition at line 34 of file julius_client.py.

julius_client.JuliusClient.encoding

Definition at line 32 of file julius_client.py.

julius_client.JuliusClient.grammar_changed

Definition at line 85 of file julius_client.py.

julius_client.JuliusClient.last_speech

Definition at line 68 of file julius_client.py.

julius_client.JuliusClient.lock

Definition at line 67 of file julius_client.py.

julius_client.JuliusClient.module

Definition at line 54 of file julius_client.py.

julius_client.JuliusClient.pub_speech_recognition

Definition at line 38 of file julius_client.py.

julius_client.JuliusClient.srv_show_status

Definition at line 71 of file julius_client.py.

julius_client.JuliusClient.srv_speech_recognition

Definition at line 80 of file julius_client.py.

string julius_client.JuliusClient.start_signal = "/usr/share/sounds/ubuntu/stereo/bell.ogg"
static

Definition at line 26 of file julius_client.py.

julius_client.JuliusClient.start_signal_action_timeout

Definition at line 36 of file julius_client.py.

julius_client.JuliusClient.sub_grammar

Definition at line 78 of file julius_client.py.

julius_client.JuliusClient.sub_vocabulary

Definition at line 75 of file julius_client.py.

string julius_client.JuliusClient.success_signal = "/usr/share/sounds/ubuntu/stereo/message-new-instant.ogg"
static

Definition at line 27 of file julius_client.py.

string julius_client.JuliusClient.timeout_signal = "/usr/share/sounds/ubuntu/stereo/window-slide.ogg"
static

Definition at line 28 of file julius_client.py.

julius_client.JuliusClient.use_isolated_word

Definition at line 35 of file julius_client.py.

julius_client.JuliusClient.vocabularies

Definition at line 69 of file julius_client.py.


The documentation for this class was generated from the following file:


julius_ros
Author(s): Yuki Furuta
autogenerated on Wed Jul 10 2019 03:47:05