From f2c4b6210c439c9878a34b9fe83a7df07d5b9a06 Mon Sep 17 00:00:00 2001 From: litagin02 Date: Fri, 5 Jan 2024 21:37:10 +0900 Subject: [PATCH] Fix v-related bug --- text/japanese.py | 1 + 1 file changed, 1 insertion(+) diff --git a/text/japanese.py b/text/japanese.py index 961a95d..f465494 100644 --- a/text/japanese.py +++ b/text/japanese.py @@ -20,6 +20,7 @@ def hiragana2p(text: str) -> str: - avoid using `:`, instead, `あーーー` -> `a a a a`. - avoid converting `o u` to `o o` (because the input is already actual `yomi`). - avoid using `N` for `ん` (for compatibility) + - use `v` for `ゔ` related text. """ # 3文字以上からなる変換規則 text = text.replace("う゛ぁ", " v a")