About user dictionary¶
Phrase dictionary¶
Phrase dictionary function¶
Definition of a phrase¶
Phrases cannot span multiple sentences.
Sentence endings (“.”, “?” “!”) at the end of a sentence can be applied.
Example 1) X“お電話ありがとうございます。株式会社エーアイです。”=> Because it straddles two sentences, it is not considered as a single phrase.Example2) ○“お元気ですか?”=> A line containing a sentence-final symbol at the end is considered a phrase.
Phrases may not begin or end with a space or whitespace (space, tab).
Example 1) X「別にあなたのためにやったのではないが、」=> Not considered a phrase because it contains a comma at the end.Example2) X「 別にあなたのためにやったのではないが」=> Not considered a phrase because it has a space at the beginning of the sentence.Example3) ○「別に あなたのために、やったのではないが」Sentences that contain spaces or commas in the sentence is considered as a phrase.
Applicable conditions for phrases¶
If a phrase registered in the phrase dictionary appears appropriately in the sentence to be synthesized, the phrase will be read out loud in the registered reading style.
If a phrase that matches exactly a registered phrase and a heading appears in a sentence separated by a space, a comma, or a period, the phrase will be applied. If the phrase is not separated by a space, comma, a period, the phrase is not applied, even if the heading is an exact match.
Original text 「この任務が無事に終わったら、彼女にプロポーズしようと思います。」-> Register phrase 「この任務が無事に終わったら」Example1)「この任務が無事に終わったら、旅に出ようと思います。」=> It is separated by a comma, so the registered phrase applies.Example2) ○「この任務が無事に終わったら 旅に出ようと思います。」=> It is separated by a space, so the registered phrase applies.Example3) X「この任務が無事に終わったら旅に出ようと思います。」=> Registered phrases are not applied because it is not separated by a space, comma, or a period.
If multiple phrases overlap, only one phrase will be applied according to the following rules.
If the starting point is different, the phrase with the earlier starting point is given priority.
If more than one phrase can be applied at the start position, the phrase with the longest heading is given priority.
Word dictionary¶
Word dictionary function¶
Example) 「東京に出てきてから、もう10年近く経つ。」=> Want「東京」 to be read 「コッチ」.Heading 「東京」 Reading 「コッチ」 Register as a 「Geographic name」=> 「東京」 will only be read as 「トーキョー」.
Part of speech¶
The part of speech of a word determines the role of the word in the sentence, and depending on the part of speech selected, the word may not be read as registered.
Example) 「彼は、故郷である日向に帰った。」=> Want 「日向」 to be read as 「ヒューガ」.Heading 「日向」 Reading 「ヒューガ」 Register as a 「Person name」.=> Reads 「日向」 as 「ヒナタ」.Heading 「日向」 Reading 「ヒューガ」 Register as a 「Geographic name」.=> Reads 「日向」 as 「ヒューガ」 as expected.
Priority¶
Register words in longer units.
Register phrase.
* Even if you set the priority to “Highest”, another reading may take precedence depending on the context. To ensure that the phrase is read the way it is intended to be read, please register the phrase.
Other topics related to phrase dictionaries and word dictionaries¶
If a registered phrase and a word appear together in the input text, the phrase takes priority.
Word dictionaries cannot insert pauses at the beginning of words or silence vowels. If you need these features, please use the phrase dictionary.
The maximum number of entries in the phrase and word dictionaries is 60000.