ailiaSpeechGetText method
- Pointer<
AILIASpeech> net, - Pointer<
AILIASpeechText> text, - int version,
- int idx
~japanese @brief 認識したテキストを取得します。 @param net ネットワークオブジェクトポインタ @param text テキスト @param version AILIA_SPEECH_TEXT_VERSION @param idx テキストのインデックス @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、そうでなければエラーコードを返す。 @details 返値は解放する必要はありません。 文字列の有効期間は次にailiaSpeechのAPIを呼ぶまでです。
~english @brief Get recognized text @param net A network instance pointer @param text Text @param version AILIA_SPEECH_TEXT_VERSION @param idx Text index @return If this function is successful, it returns \ref AILIA_STATUS_SUCCESS , or an error code otherwise. @details The return value does not have to be released. The string is valid until the next ailiaSpeech API function is called.
Implementation
int ailiaSpeechGetText(
ffi.Pointer<AILIASpeech> net,
ffi.Pointer<AILIASpeechText> text,
int version,
int idx,
) {
return _ailiaSpeechGetText(
net,
text,
version,
idx,
);
}