ailiaSpeechSetConstraint method

int ailiaSpeechSetConstraint(
  1. Pointer<AILIASpeech> net,
  2. Pointer<Char> constraint,
  3. int type
)

~japanese @brief 制約の設定を行います。 @param net ネットワークオブジェクトポインタ @param constraint 制約となるテキスト(UTF8) @param type 制約モード (AILIA_SPEECH_CONSTRAINT_*) @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、そうでなければエラーコードを返す

~english @brief Set constraint. @param net A network instance pointer @param constraint The text of constraint (UTF8) @param type The type of constraint (AILIA_SPEECH_CONSTRAINT_*) @return If this function is successful, it returns \ref AILIA_STATUS_SUCCESS , or an error code otherwise.

Implementation

int ailiaSpeechSetConstraint(
  ffi.Pointer<AILIASpeech> net,
  ffi.Pointer<ffi.Char> constraint,
  int type,
) {
  return _ailiaSpeechSetConstraint(
    net,
    constraint,
    type,
  );
}