13 lines
297 B
Python
13 lines
297 B
Python
|
from typing import Any, Text
|
||
|
|
||
|
|
||
|
class ToneConverter(object):
|
||
|
def to_tone(self, pinyin: Text, **kwargs: Any) -> Text: ...
|
||
|
|
||
|
def to_tone2(self, pinyin: Text, **kwargs: Any) -> Text: ...
|
||
|
|
||
|
def to_tone3(self, pinyin: Text, **kwargs: Any) -> Text: ...
|
||
|
|
||
|
|
||
|
converter = ... # type: ToneConverter
|