From 1067b8ec609fb6f52c3a5d75ea1c4a7d4d703047 Mon Sep 17 00:00:00 2001 From: litagin02 Date: Fri, 12 Jan 2024 10:04:42 +0900 Subject: [PATCH] =?UTF-8?q?Remove=20dye=20=3D=20=E3=83=87=E3=82=A7=20for?= =?UTF-8?q?=20compatibility=20with=20pyopenjtalk?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- text/japanese_mora_list.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/text/japanese_mora_list.py b/text/japanese_mora_list.py index f5bf93e..1abe5ba 100644 --- a/text/japanese_mora_list.py +++ b/text/japanese_mora_list.py @@ -50,6 +50,7 @@ from typing import Optional # (カタカナ, 子音, 母音)の順。子音がない場合はNoneを入れる。 # 但し「ン」と「ッ」は母音のみという扱いで、「ン」は「n」、「ッ」は「q」に変更 # (元々はそれぞれ「N」「cl」) +# また「デェ = dy e」はpyopenjtalkの出力(de e)と合わないため削除 _mora_list_minimum: list[tuple[str, Optional[str], str]] = [ ("ヴォ", "v", "o"), ("ヴェ", "v", "e"), @@ -126,7 +127,7 @@ _mora_list_minimum: list[tuple[str, Optional[str], str]] = [ ("デョ", "dy", "o"), ("デュ", "dy", "u"), ("デャ", "dy", "a"), - ("デェ", "dy", "e"), + # ("デェ", "dy", "e"), ("ディ", "d", "i"), ("デ", "d", "e"), ("テョ", "ty", "o"),