クエリ編集

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

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

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

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

Query parameters

textstring required
speakerinteger required
is_kanaboolean
enable_katakana_englishboolean
core_versionstring

Response

Successful Response

accentinteger required

アクセント箇所

is_interrogativeboolean

疑問系かどうか

Changes

Changed in 14 of the 36 revisions of this API.101032

    • added the new optional query request parameter enable_katakana_english

      new-optional-request-parameter

    • api operation id accent_phrases_accent_phrases_post removed and replaced with accent_phrases

      api-operation-id-removed

    • the / response's property type changed from no type to object for status

      response-property-type-changed

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

      response-optional-property-added

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

      response-optional-property-added

    • removed from the / response property allOf list for the response status

      response-property-all-of-removed

    • added the required property // to the response with the status

      response-required-property-added

    • added the required property // to the response with the status

      response-required-property-added

    • added the required property // to the response with the status

      response-required-property-added

    • added the required property // to the response with the status

      response-required-property-added

  • 2e8475c446af111See the full diff
    • the query request parameter speaker became required

      request-parameter-became-required

    • deleted the query request parameter style_id

      request-parameter-removed

    • query request parameter speaker was reactivated

      request-parameter-reactivated

    • added the new optional query request parameter style_id

      new-optional-request-parameter

    • the query request parameter speaker became optional

      request-parameter-became-optional

    • query request parameter speaker was deprecated

      request-parameter-deprecated

  • 2a8c9cc0823a111See the full diff
    • the query request parameter speaker became required

      request-parameter-became-required

    • deleted the query request parameter style_id

      request-parameter-removed

    • query request parameter speaker was reactivated

      request-parameter-reactivated

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 98b1b5ed5d8313See the full diff
    • response property detail/items/loc/items/ list-of-types was widened by adding types integer to media type application/json of response 422

      response-property-list-of-types-widened

    • added the new optional query request parameter style_id

      new-optional-request-parameter

    • the query request parameter speaker became optional

      request-parameter-became-optional

    • query request parameter speaker was deprecated

      request-parameter-deprecated

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new optional query request parameter core_version

      new-optional-request-parameter

    • deleted the query request parameter enable_interrogative

      request-parameter-removed

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

      response-optional-property-added

    • added the new optional query request parameter enable_interrogative

      new-optional-request-parameter