ailiaSpeechOpenPostProcessFileA method
~japanese @brief 後処理知に適用するAIモデルを指定します。(MBSC) @param net ネットワークオブジェクトポインタ @param encoder_path onnxファイルのパス名(MBSC) @param decoder_path onnxファイルのパス名(MBSC) @param source_path Tokenizerのmodelファイルのパス名(MBSC) @param target_path Tokenizerのmodelファイルのパス名(MBSC) @param prefix T5のprefix (UTF8)、FuguMTの場合はNULL @param post_process_type AILIA_SPEECH_POST_PROCESS_TYPE_* @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、そうでなければエラーコードを返す。
~english @brief Set AI model for post process (MBSC) @param net A network instance pointer @param encoder_path The path name to the onnx file (MBSC) @param decoder_path The path name to the onnx file (MBSC) @param source_path The path name to the tokenizer model file (MBSC) @param target_path The path name to the tokenizer model file (MBSC) @param prefix The prefix of T5 (UTF8), NULL for FuguMT @param post_process_type AILIA_SPEECH_POST_PROCESS_TYPE_* @return If this function is successful, it returns \ref AILIA_STATUS_SUCCESS , or an error code otherwise.
Implementation
int ailiaSpeechOpenPostProcessFileA(
ffi.Pointer<AILIASpeech> net,
ffi.Pointer<ffi.Char> encoder_path,
ffi.Pointer<ffi.Char> decoder_path,
ffi.Pointer<ffi.Char> source_path,
ffi.Pointer<ffi.Char> target_path,
ffi.Pointer<ffi.Char> prefix,
int post_process_type,
) {
return _ailiaSpeechOpenPostProcessFileA(
net,
encoder_path,
decoder_path,
source_path,
target_path,
prefix,
post_process_type,
);
}