Skip to content

Commit

Permalink
修正: 定義無しMora引数の削除 (#914)
Browse files Browse the repository at this point in the history
fix: 定義無しMora引数の削除
  • Loading branch information
tarepan authored Dec 22, 2023
1 parent 6759df6 commit f251dfe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions voicevox_engine/tts_pipeline/kana_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
_PAUSE_DELIMITER = "、" # ポーズ有りアクセント句境界
_WIDE_INTERROGATION_MARK = "?" # 疑問形

# AquesTalk風記法とモーラの対応(音素長・音高 0 初期化、疑問形 off 初期化
# AquesTalk風記法とモーラの対応(音素長・音高 0 初期化)
_text2mora_with_unvoice = {}
for text, (consonant, vowel) in openjtalk_text2mora.items():
_text2mora_with_unvoice[text] = Mora(
Expand All @@ -38,7 +38,6 @@
vowel=vowel,
vowel_length=0,
pitch=0,
is_interrogative=False,
)
if vowel in ["a", "i", "u", "e", "o"]:
# 「`_` で無声化」の実装
Expand All @@ -50,7 +49,6 @@
vowel=vowel.upper(),
vowel_length=0,
pitch=0,
is_interrogative=False,
)


Expand Down

0 comments on commit f251dfe

Please sign in to comment.