Public Member Functions | |
def | add_streaming_packet |
def | join |
def | register_streaming_cb |
def | request |
def | set_streaming_config |
def | support_streaming |
def | unregister_streaming_cb |
Static Private Attributes | |
__metaclass__ = abc.ABCMeta |
def rospeex_core.sr.base.client.IClient.add_streaming_packet | ( | self, | |
packet_type, | |||
packet_data | |||
) |
add streaming packet @param packet_type: @type packet_type: int @param packet_data: @param packet_data: str
Reimplemented in rospeex_core.sr.microsoft.sync_client.SyncClient, and rospeex_core.sr.google.sync_client.SyncClient.
def rospeex_core.sr.base.client.IClient.join | ( | self, | |
timeout | |||
) |
join streaming client @param timeout: @type timeout:
Reimplemented in rospeex_core.sr.microsoft.sync_client.SyncClient, and rospeex_core.sr.google.sync_client.SyncClient.
def rospeex_core.sr.base.client.IClient.register_streaming_cb | ( | self, | |
cb | |||
) |
register streaming result callback @param cb: @type cb:
Reimplemented in rospeex_core.sr.microsoft.sync_client.SyncClient, and rospeex_core.sr.google.sync_client.SyncClient.
def rospeex_core.sr.base.client.IClient.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 in rospeex_core.sr.microsoft.sync_client.SyncClient, and rospeex_core.sr.google.sync_client.SyncClient.
def rospeex_core.sr.base.client.IClient.set_streaming_config | ( | self, | |
args, | |||
kwargs | |||
) |
check support streaming @returns: True for support streaming / False for NOT support streaming
Reimplemented in rospeex_core.sr.microsoft.sync_client.SyncClient, and rospeex_core.sr.google.sync_client.SyncClient.
def rospeex_core.sr.base.client.IClient.unregister_streaming_cb | ( | self, | |
cb | |||
) |
unregister streaming result callback @param cb: @type cb:
Reimplemented in rospeex_core.sr.microsoft.sync_client.SyncClient, and rospeex_core.sr.google.sync_client.SyncClient.
rospeex_core::sr::base::client.IClient::__metaclass__ = abc.ABCMeta [static, private] |