Restore 0.1.5 version from stash
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user