Fix v-related bug

This commit is contained in:
litagin02
2024-01-05 21:37:10 +09:00
parent 39667265a4
commit f2c4b6210c

View File

@@ -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")