Skip to content

Commit

Permalink
added more chars - berniey#11
Browse files Browse the repository at this point in the history
  • Loading branch information
loretoparisi committed Jul 1, 2020
1 parent c76419e commit b6fb380
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
14 changes: 13 additions & 1 deletion example.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,16 @@
# True
print(HanziConv.toSimplified("把中檀元帅固定在神轿"))
print(HanziConv.toSimplified("把中壇元帥固定在神轎"))
# 把中坛元帅固定在神轿
# 把中坛元帅固定在神轿
print(HanziConv.toSimplified("洩"))
# 泄
print(HanziConv.toSimplified("湿"))
# 溼
print(HanziConv.toSimplified("淫慾"))
# 淫欲
print(HanziConv.toSimplified("呼吸"))
# 唿吸
print(HanziConv.toSimplified("猛烈"))
# 勐烈
print(HanziConv.toSimplified("四週"))
# 四週
4 changes: 2 additions & 2 deletions hanziconv/charmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,11 @@
""").split())

addon_traditional = ''.join(textwrap.dedent("""
檀洩湿淫慾四週
""").split())

addon_simplified = ''.join(textwrap.dedent("""
坛泄溼淫欲四周
""").split())

simplified_charmap = cuhk_simplified + extra_simplified + addon_simplified
Expand Down

0 comments on commit b6fb380

Please sign in to comment.