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

Method __init__

utils/text_norm.py:65–68  ·  view source on GitHub ↗
(self, simplified, traditional)

Source from the content-addressed store, hash-verified

63 """
64
65 def __init__(self, simplified, traditional):
66 self.simplified = simplified
67 self.traditional = traditional
68 # self.__repr__ = self.__str__
69
70 def __str__(self):
71 return self.simplified or self.traditional or None

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected