Restore 0.1.5 version from stash

This commit is contained in:
liaibo
2025-12-08 19:56:24 +08:00
parent de189e938d
commit 8db3f4e32d
8578 changed files with 2703426 additions and 217 deletions
@@ -0,0 +1,15 @@
from typing import Any, Dict, Tuple, Text
# 注音转换表
BOPOMOFO_REPLACE = ... # type: Tuple[Tuple[Any]]
BOPOMOFO_TABLE = ... # type: Dict[Text, Text]
class BopomofoConverter(object):
def to_bopomofo(self, pinyin: Text, **kwargs: Any) -> Text: ...
def to_bopomofo_first(self, pinyin: Text, **kwargs: Any) -> Text: ...
def _pre_convert(self, pinyin: Text) -> Text: ...
converter = ... # type: BopomofoConverter