クエリ編集

テキストからアクセント句を得る

Changed on

テキストからアクセント句を得ます。<br> is_kanaがtrueのとき、テキストは次の AquesTalk 風記法で解釈されます。デフォルトはfalseです。

  • 全てのカナはカタカナで記述される
  • アクセント句は/または、で区切る。、で区切った場合に限り無音区間が挿入される。
  • カナの手前に_を入れるとそのカナは無声化される
  • アクセント位置を'で指定する。全てのアクセント句にはアクセント位置を1つ指定する必要がある。
  • アクセント句末に?(全角)を入れることにより疑問文の発音ができる。

AivisSpeech Engine では英単語は常に自動的に自然なカタカナ読みに変換されて読み上げられる仕様のため、enable_katakana_english は指定不要です(常に無視されます)。

post/accent_phrases

Request

  • The document declares no server URL.
  • Auth
    none declared

Query parameters

textstring required
speakerinteger required
is_kanaboolean
enable_katakana_englishboolean

AivisSpeech Engine ではサポートされていないパラメータです (常に無視されます) 。

core_versionstring

AivisSpeech Engine ではサポートされていないパラメータです (常に無視されます) 。

Response

Successful Response

accentinteger required

アクセント箇所

is_interrogativeboolean

疑問系かどうか

Changes

    • info

      added the new optional query request parameter enable_katakana_english

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status