berniey / hanziconv

Hanzi Converter for Traditional and Simplified Chinese
Other
180 stars 43 forks source link

some errors #11

Open redkalk opened 6 years ago

redkalk commented 6 years ago

Some errors when convert from tradition to simplified Chinese.

  1. "淫慾" should be convert to “淫欲”
  2. “呼吸” is convert to “唿吸”
  3. 猛烈 is convert to 勐烈
  4. 湿 is convert to 溼
  5. 四週 should be 四周
  6. 洩 should be 泄
loretoparisi commented 4 years ago

@redkalk I have added some of your corrections to the charmap in my fork:

print(HanziConv.toSimplified("洩"))
# 泄
print(HanziConv.toSimplified("湿"))
# 溼
print(HanziConv.toSimplified("淫慾"))
# 淫欲
print(HanziConv.toSimplified("呼吸"))
# 唿吸
print(HanziConv.toSimplified("猛烈"))
# 勐烈
print(HanziConv.toSimplified("四週"))
# 四週

I did not convert 猛烈 to 勐烈 just because having Google Translate as reference it seems it is translating to itself not to . Also happens according to other online tools. If you are aware this is not correct I can add this char as well.