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

Method chntext2cardinal

utils/text_norm.py:428–429  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

426 self.chntext = chntext
427
428 def chntext2cardinal(self):
429 return chn2num(self.chntext)
430
431 def cardinal2chntext(self):
432 return num2chn(self.cardinal)

Callers

nothing calls this directly

Calls 1

chn2numFunction · 0.85

Tested by

no test coverage detected