ユーザー辞書に単語を追加する
Changed onユーザー辞書に単語を追加します。<br> 複合語を辞書に追加するには、?surface=新田&surface=真剣佑&pronunciation=あらた&pronunciation=まっけんゆう&accent_type=1&accent_type=3 のように、surface, pronunciation, accent_type を同じ長さのリストで指定します。
Request
- The document declares no server URL.
- Authnone declared
Query parameters
単語の表層形
単語の発音(カタカナ)
東京式アクセントにおけるアクセント型<br>音高が下がる直前のモーラのインデックスを 1-indexed で指定します。0 は平板型を意味します。<br>例として、surface: ["新田", "真剣佑"], pronunciation: ["あらた", "まっけんゆう"] のとき、accent_type: [1, 3] (新田 → 頭高型, 真剣佑 → 中高型) のように指定します。
品詞を表す列挙型。
単語の品詞<br>固有名詞 / 地名 / 組織・施設名 / 人名 / 人名 (姓) / 人名 (名) / 普通名詞 / 動詞 / 形容詞 / 語尾 のいずれかを指定します。<br>未指定時は 固有名詞 が設定されます。
単語の優先度 (1~9 の範囲を推奨)<br>数値が大きいほど、辞書適用時に優先して利用されます。<br>未指定時は 5 が設定されます。
Response
追加した単語の UUID
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- breaking
for the
queryrequest parameterpriority, default value5was added - breaking
for the
queryrequest parameterword_type, default valuePROPER_NOUNwas added
- breaking