MCPcopy Create free account
hub / github.com/MoonInTheRiver/DiffSinger / ChineseMath

Class ChineseMath

utils/text_norm.py:134–144  ·  view source on GitHub ↗

中文数位字符

Source from the content-addressed store, hash-verified

132
133
134class ChineseMath(ChineseChar):
135 """
136 中文数位字符
137 """
138
139 def __init__(self, simplified, traditional, symbol, expression=None):
140 super(ChineseMath, self).__init__(simplified, traditional)
141 self.symbol = symbol
142 self.expression = expression
143 self.big_s = simplified
144 self.big_t = traditional
145
146
147CC, CNU, CND, CM = ChineseChar, ChineseNumberUnit, ChineseNumberDigit, ChineseMath

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected