bopomofo.pyi 435 B

123456789101112131415
  1. from typing import Any, Dict, Tuple, Text
  2. # 注音转换表
  3. BOPOMOFO_REPLACE = ... # type: Tuple[Tuple[Any]]
  4. BOPOMOFO_TABLE = ... # type: Dict[Text, Text]
  5. class BopomofoConverter(object):
  6. def to_bopomofo(self, pinyin: Text, **kwargs: Any) -> Text: ...
  7. def to_bopomofo_first(self, pinyin: Text, **kwargs: Any) -> Text: ...
  8. def _pre_convert(self, pinyin: Text) -> Text: ...
  9. converter = ... # type: BopomofoConverter