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

Method __init__

utils/text_norm.py:139–144  ·  view source on GitHub ↗
(self, simplified, traditional, symbol, expression=None)

Source from the content-addressed store, hash-verified

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 1

__init__Method · 0.45

Tested by

no test coverage detected