tone.pyi 297 B

123456789101112
  1. from typing import Any, Text
  2. class ToneConverter(object):
  3. def to_tone(self, pinyin: Text, **kwargs: Any) -> Text: ...
  4. def to_tone2(self, pinyin: Text, **kwargs: Any) -> Text: ...
  5. def to_tone3(self, pinyin: Text, **kwargs: Any) -> Text: ...
  6. converter = ... # type: ToneConverter