from typing import Dict, Text pinyin_dict = ... # type: Dict[int, Text]