クエリ編集

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

Changed on

テキストからアクセント句を得ます。

is_kanaがtrueのとき、テキストは次のAquesTalk 風記法で解釈されます。デフォルトはfalseです。

  • 全てのカナはカタカナで記述される
  • アクセント句は/または、で区切る。、で区切った場合に限り無音区間が挿入される。
  • カナの手前に_を入れるとそのカナは無声化される
  • アクセント位置を'で指定する。全てのアクセント句にはアクセント位置を1つ指定する必要がある。
  • アクセント句末に?(全角)を入れることにより疑問文の発音ができる。 enable_katakana_englishがtrueのとき、テキスト中の読みが不明な英単語をカタカナ読みにします。デフォルトはtrueです。 is_kanaがtrueのとき、enable_katakana_englishの値は無視されます。
post/accent_phrases

Request

Query parameters

textstring required
speakerinteger required
is_kanaboolean
enable_katakana_englishboolean
core_versionstring

Response

Successful Response

accentinteger required

アクセント箇所

is_interrogativeboolean

疑問系かどうか

Changes

    • info

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

    • info

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

    • info

      added the new optional query request parameter enable_katakana_english