RAPP Platform  v0.6.0
RAPP Platform is a collection of ROS nodes and back-end processes that aim to deliver ready-to-use generic services to robots
 All Classes Namespaces Files Functions Variables Macros
Sphinx4 Class Reference

Performs speech recognition employing Sphinx. More...

Collaboration diagram for Sphinx4:

Static Public Member Functions

static void main (String[] args) throws IOException
 The main function. More...
 
static void updateConfiguration () throws IOException
 Updates the Sphinx configuration. More...
 

Static Public Attributes

static String acoustic_model_path = ""
 
static String acoustic_model_path_prev = ""
 
static BufferedReader bufferRead
 
static PrintWriter bufferWrite
 
static ConfigurationManager cm
 
static Configuration configuration = new Configuration()
 
static String configuration_model_path = ""
 
static String configuration_model_path_prev = ""
 
static String dictionary_path = ""
 
static String dictionary_path_prev = ""
 
static boolean grammar_enabled = false
 
static boolean grammar_enabled_prev = false
 
static String grammar_model_file_path = ""
 
static String grammar_model_file_path_prev = ""
 
static String grammar_model_folder_path = ""
 
static String grammar_model_folder_path_prev = ""
 
static String language_path = ""
 
static String language_path_prev = ""
 
static StreamSpeechRecognizer recognizer
 

Detailed Description

Performs speech recognition employing Sphinx.

Communicates with rapp_speech_detection_sphinx4.sphinx4_wrapper.Sphinx4Wrapper via socket to configure Sphinx and perform the speech recognition and returns the result.

Definition at line 49 of file Sphinx4.java.

Member Function Documentation

static void Sphinx4.main ( String[]  args) throws IOException
inlinestatic

The main function.

Creates the Sphinx process and awaits commands from rapp_speech_detection_sphinx4.sphinx4_wrapper.Sphinx4Wrapper to update the cconfiguration or perform the recognition.

Definition at line 134 of file Sphinx4.java.

static void Sphinx4.updateConfiguration ( ) throws IOException
inlinestatic

Updates the Sphinx configuration.

Definition at line 79 of file Sphinx4.java.

Member Data Documentation

String Sphinx4.acoustic_model_path = ""
static

Definition at line 57 of file Sphinx4.java.

String Sphinx4.acoustic_model_path_prev = ""
static

Definition at line 58 of file Sphinx4.java.

BufferedReader Sphinx4.bufferRead
static

Definition at line 72 of file Sphinx4.java.

PrintWriter Sphinx4.bufferWrite
static

Definition at line 73 of file Sphinx4.java.

ConfigurationManager Sphinx4.cm
static

Definition at line 69 of file Sphinx4.java.

Configuration Sphinx4.configuration = new Configuration()
static

Definition at line 68 of file Sphinx4.java.

String Sphinx4.configuration_model_path = ""
static

Definition at line 65 of file Sphinx4.java.

String Sphinx4.configuration_model_path_prev = ""
static

Definition at line 66 of file Sphinx4.java.

String Sphinx4.dictionary_path = ""
static

Definition at line 51 of file Sphinx4.java.

String Sphinx4.dictionary_path_prev = ""
static

Definition at line 52 of file Sphinx4.java.

boolean Sphinx4.grammar_enabled = false
static

Definition at line 75 of file Sphinx4.java.

boolean Sphinx4.grammar_enabled_prev = false
static

Definition at line 76 of file Sphinx4.java.

String Sphinx4.grammar_model_file_path = ""
static

Definition at line 60 of file Sphinx4.java.

String Sphinx4.grammar_model_file_path_prev = ""
static

Definition at line 61 of file Sphinx4.java.

String Sphinx4.grammar_model_folder_path = ""
static

Definition at line 62 of file Sphinx4.java.

String Sphinx4.grammar_model_folder_path_prev = ""
static

Definition at line 63 of file Sphinx4.java.

String Sphinx4.language_path = ""
static

Definition at line 54 of file Sphinx4.java.

String Sphinx4.language_path_prev = ""
static

Definition at line 55 of file Sphinx4.java.

StreamSpeechRecognizer Sphinx4.recognizer
static

Definition at line 70 of file Sphinx4.java.


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