Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
287
def
tradition2simple(line):
288
# 将繁体转换成简体
289
line = Converter(
'zh-hans'
).convert(line)
290
return
line
291
292
293
if
__name__ ==
'__main__'
:
Callers
2
prepocess_v1
Function · 0.85
prepocess_v2
Function · 0.85
Calls
2
Converter
Class · 0.85
convert
Method · 0.80
Tested by
no test coverage detected