toneconvert.pyi 430 B

12345678910111213141516
  1. from argparse import ArgumentParser, Namespace
  2. import re
  3. from typing import Union, Text, ByteString, Dict, Any, List
  4. re_pinyin = ... # type: Any
  5. ACTIONS = ... # type: Dict[Text, Any]
  6. def re_sub(action: Text, match_obj: re.Match[Text]) -> Text: ...
  7. def prepare(input: Text) -> Text: ...
  8. def convert(action: Text, args: Namespace) -> None: ...
  9. def get_parser() -> ArgumentParser: ...
  10. def main(argv: List[Text]) -> None: ...