MCPcopy Create free account
hub / github.com/FunAudioLLM/Fun-ASR / MathSymbol

Class MathSymbol

tools/cn_tn.py:527–542  ·  view source on GitHub ↗

用于中文数字系统的数学符号 (繁/简体), e.g. positive = ['正', '正'] negative = ['负', '負'] point = ['点', '點']

Source from the content-addressed store, hash-verified

525
526
527class MathSymbol(object):
528 """
529 用于中文数字系统的数学符号 (繁/简体), e.g.
530 positive = ['正', '正']
531 negative = ['负', '負']
532 point = ['点', '點']
533 """
534
535 def __init__(self, positive, negative, point):
536 self.positive = positive
537 self.negative = negative
538 self.point = point
539
540 def __iter__(self):
541 for v in self.__dict__.values():
542 yield v
543
544
545# class OtherSymbol(object):

Callers 1

create_systemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected