Actions10
ユーザー辞書単語追加
AI-generatedSummary
Add a new word entry to the user dictionary in the AivisSpeech system by specifying its representation, pronunciation, accent type, word type, and priority.
Inputs
- surface (required) — The written form of the word (e.g., '東京').
- pronunciation (required) — The reading of the word in Katakana (e.g., 'トウキョウ').
- accentType (required) — The position of the accent nucleus, starting at 0 up to the number of mora in the reading. 0 means a flat accent, 1 or greater means the pitch falls on that mora. Mora count examples: 'トウキョウ' has 4 mora: ト・ウ・キョ・ウ, and also counts characters like 'ん', 'ー', 'っ' as one mora each.
- wordType (required) — The part of speech of the word. Options include Proper Noun, Common Noun, Verb, Adjective, and Suffix.
- priority (required) — Priority of the word, from 0 to 10, where higher values mean higher priority.
Output shape
a single JSON object
Returns a JSON object confirming success, containing the added word's UUID, surface form, and pronunciation.