ユーザー辞書

Add User Dict Word

ユーザー辞書に言葉を追加します。

post/user_dict_word

Query parameters

surfacestring required

言葉の表層形

言葉の表層形

pronunciationstring required

言葉の発音(カタカナ)

言葉の発音(カタカナ)

accent_typeinteger required

アクセント型(音が下がる場所を指す)

アクセント型(音が下がる場所を指す)

word_type'PROPER_NOUN' | 'COMMON_NOUN' | 'VERB' | 'ADJECTIVE' | 'SUFFIX'

品詞

PROPER_NOUN(固有名詞)、COMMON_NOUN(普通名詞)、VERB(動詞)、ADJECTIVE(形容詞)、SUFFIX(語尾)のいずれか

priorityinteger

単語の優先度(0から10までの整数)。数字が大きいほど優先度が高くなる。1から9までの値を指定することを推奨

単語の優先度(0から10までの整数)。数字が大きいほど優先度が高くなる。1から9までの値を指定することを推奨

Response

Successful Response

string required

Changes

Changed in 8 of the 36 revisions of this API.912

    • api operation id add_user_dict_word_user_dict_word_post removed and replaced with add_user_dict_word

      api-operation-id-removed

    • the query request parameter word_type was restricted to a list of enum values

      request-parameter-became-enum

    • added the new enum value ADJECTIVE to the query request parameter word_type

      request-parameter-enum-value-added

    • added the new enum value COMMON_NOUN to the query request parameter word_type

      request-parameter-enum-value-added

    • added the new enum value PROPER_NOUN to the query request parameter word_type

      request-parameter-enum-value-added

    • added the new enum value SUFFIX to the query request parameter word_type

      request-parameter-enum-value-added

    • added the new enum value VERB to the query request parameter word_type

      request-parameter-enum-value-added

    • for the query request parameter word_type, the type was generalized from no type to string

      request-parameter-type-generalized

  • 907e5011a1aa51See the full diff
    • removed the enum value ADJECTIVE from the query request parameter word_type

      request-parameter-enum-value-removed

    • removed the enum value COMMON_NOUN from the query request parameter word_type

      request-parameter-enum-value-removed

    • removed the enum value PROPER_NOUN from the query request parameter word_type

      request-parameter-enum-value-removed

    • removed the enum value SUFFIX from the query request parameter word_type

      request-parameter-enum-value-removed

    • removed the enum value VERB from the query request parameter word_type

      request-parameter-enum-value-removed

    • for the query request parameter word_type, the type was generalized from string to no type

      request-parameter-type-generalized

    • 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

    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 priority

      new-optional-request-parameter

    • added the new optional query request parameter word_type

      new-optional-request-parameter

  • 4af06dc1dac111See the full diff
    • removed the success response with the status

      response-success-status-removed

    • added the success response with the status

      response-success-status-added

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation

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