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

Method __init__

utils/text_norm.py:84–88  ·  view source on GitHub ↗
(self, power, simplified, traditional, big_s, big_t)

Source from the content-addressed store, hash-verified

82 """
83
84 def __init__(self, power, simplified, traditional, big_s, big_t):
85 super(ChineseNumberUnit, self).__init__(simplified, traditional)
86 self.power = power
87 self.big_s = big_s
88 self.big_t = big_t
89
90 def __str__(self):
91 return '10^{}'.format(self.power)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected