-
Notifications
You must be signed in to change notification settings - Fork 11
Translations 2 #35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Translations 2 #35
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,15 +13,15 @@ class Mora: | |
| Attributes | ||
| ---------- | ||
| text: str | ||
| 文字 // Text to synthesize | ||
| Text to synthesize | ||
| consonant: str | ||
| 子音の音素 //Start of consonants | ||
| Start of consonants | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a mora - there is only one consonant. |
||
| consonant_length: int | ||
| 子音の音長 // Pronounciation length of consonants | ||
| Pronounciation length of consonants | ||
| vowel: str | ||
| 母音の音素 //Start of vowels | ||
| Start of vowels | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a mora - there is only one vowel. |
||
| vowel_length: int | ||
| 母音の音長 //Length of vowels | ||
| Length of vowels | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should have the same wording as the other length attribute. |
||
| pitch: int | ||
| ピッチ //Pitch of the voice | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This isn't the correct way to do comments in docstrings, and it shouldn't be a comment anyway to match the other fields. |
||
| """ | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mora are returned from
/accent_phrases, thus they are already parsed - the text is not parsed again because it is already converted into the other data which the synthesizer actually uses