Public Member Functions | |
def | request |
Static Public Attributes | |
int | AUDIO_LENGTH = 16000 |
int | CHANNELS = 1 |
int | FRAMERATE = 16000 |
list | LANGUAGES = ['ja', 'en', 'zh', 'ko'] |
int | SAMPWIDTH = 2 |
string | URL = 'http://rospeex.ucri.jgn-x.jp/nauth_json/jsServices/VoiceTraSR' |
SpeechRecognitionClient_NICT class
Definition at line 24 of file sr/client_nict.py.
def rospeex_core.sr.client_nict.SpeechRecognitionClient_NICT.request | ( | self, | |
data, | |||
language = 'ja' , |
|||
timeout = socket._GLOBAL_DEFAULT_TIMEOUT |
|||
) |
send speech recognition request to server @param data: speech binary data @type data: str @param language: speech data language @type language: str @param timeout: time out time[ms] @type timeout: int
Reimplemented from rospeex_core.sr.client_base.SpeechRecognitionClient.
Definition at line 36 of file sr/client_nict.py.
int rospeex_core::sr::client_nict.SpeechRecognitionClient_NICT::AUDIO_LENGTH = 16000 [static] |
Definition at line 27 of file sr/client_nict.py.
int rospeex_core::sr::client_nict.SpeechRecognitionClient_NICT::CHANNELS = 1 [static] |
Definition at line 29 of file sr/client_nict.py.
int rospeex_core::sr::client_nict.SpeechRecognitionClient_NICT::FRAMERATE = 16000 [static] |
Definition at line 28 of file sr/client_nict.py.
list rospeex_core::sr::client_nict.SpeechRecognitionClient_NICT::LANGUAGES = ['ja', 'en', 'zh', 'ko'] [static] |
Definition at line 32 of file sr/client_nict.py.
Definition at line 30 of file sr/client_nict.py.
string rospeex_core::sr::client_nict.SpeechRecognitionClient_NICT::URL = 'http://rospeex.ucri.jgn-x.jp/nauth_json/jsServices/VoiceTraSR' [static] |
Definition at line 31 of file sr/client_nict.py.