MCPcopy
hub / github.com/codemayq/chinese-chatbot-corpus / tradition2simple

Function tradition2simple

language/langconv.py:287–290  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

285
286
287def tradition2simple(line):
288 # 将繁体转换成简体
289 line = Converter('zh-hans').convert(line)
290 return line
291
292
293if __name__ == '__main__':

Callers 2

prepocess_v1Function · 0.85
prepocess_v2Function · 0.85

Calls 2

ConverterClass · 0.85
convertMethod · 0.80

Tested by

no test coverage detected