Public Member Functions | Private Member Functions | Private Attributes
test_rospeex_sr_stream.TestRospeexSR Class Reference

List of all members.

Public Member Functions

def setUp
def test_run

Private Member Functions

def _dummy
def _execute_case
def _read_input_data
def _send_spi_response
def _send_spi_stream
def _sr_response

Private Attributes

 _interface
 _message
 _pub_spi
 _pub_spi_stream
 _ready
 _SPI_RESPONSE_TOPIC_NAME
 _SPI_STREAM_TOPIC_NAME
 _sr_req_id
 _wait_count
 _wait_flag

Detailed Description

Speech Recognition Test class 

Definition at line 22 of file test_rospeex_sr_stream.py.


Member Function Documentation

Definition at line 119 of file test_rospeex_sr_stream.py.

def test_rospeex_sr_stream.TestRospeexSR._execute_case (   self,
  voice_data,
  target_lang,
  target_engine 
) [private]
execute test case

@param voice data: voice data (binary wav)
@type  voice data: str
@param target_lang: recognition ranguage
@type  target_lang: str
@param target_engine: target speech recognition engine
@type  target_engine: str (nict | google | microsoft)

Definition at line 63 of file test_rospeex_sr_stream.py.

def test_rospeex_sr_stream.TestRospeexSR._read_input_data (   self,
  target_file 
) [private]
read input data

@param target_file: target test data
@type  target_file: str

Definition at line 48 of file test_rospeex_sr_stream.py.

def test_rospeex_sr_stream.TestRospeexSR._send_spi_response (   self,
  voice_data 
) [private]
publish /spi_response topic

@param voice_data: voice data (binary wav)
@type  voice_data: str

Definition at line 105 of file test_rospeex_sr_stream.py.

def test_rospeex_sr_stream.TestRospeexSR._send_spi_stream (   self,
  voice_data,
  packet_type 
) [private]
publish /spi_stream topic

@param voice_data: voice data (binary wav)
@type  voice_data: str
@param packet_type: send packet type (PacketType)
@type  packet_type: integer

Definition at line 87 of file test_rospeex_sr_stream.py.

def test_rospeex_sr_stream.TestRospeexSR._sr_response (   self,
  message 
) [private]
speech synthesis response callback

@param message: message class
@type  message: str

Definition at line 35 of file test_rospeex_sr_stream.py.

Definition at line 24 of file test_rospeex_sr_stream.py.

Definition at line 122 of file test_rospeex_sr_stream.py.


Member Data Documentation

Definition at line 24 of file test_rospeex_sr_stream.py.

Definition at line 24 of file test_rospeex_sr_stream.py.

Definition at line 122 of file test_rospeex_sr_stream.py.

Definition at line 122 of file test_rospeex_sr_stream.py.

Definition at line 24 of file test_rospeex_sr_stream.py.

Definition at line 24 of file test_rospeex_sr_stream.py.

Definition at line 24 of file test_rospeex_sr_stream.py.

Definition at line 24 of file test_rospeex_sr_stream.py.

Definition at line 24 of file test_rospeex_sr_stream.py.

Definition at line 24 of file test_rospeex_sr_stream.py.


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


rospeex_if
Author(s): Komei Sugiura
autogenerated on Thu Apr 20 2017 03:08:57