Skip to content

Commit

Permalink
dict: 「应该 yin gai」容错 #666
Browse files Browse the repository at this point in the history
  • Loading branch information
iDvel committed Nov 4, 2024
1 parent a544300 commit a022f09
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 6 additions & 1 deletion cn_dicts/others.dict.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#
---
name: others
version: "2024-10-30"
version: "2024-11-04"
sort: by_weight
...
##### 容错词
Expand Down Expand Up @@ -228,9 +228,14 @@ sort: by_weight
饮鸩解渴 yin jiu jie ke
宫商角徵羽 gong shang jue zhi yu
宫商角徵羽 gong shang jiao zhi yu
氙气灯 xian qi deng
氙气灯 shan qi deng
氙气大灯 xian qi da deng
氙气大灯 shan qi da deng
氙气手电筒 xian qi shou dian tong
氙气手电筒 shan qi shou dian tong
应该 ying gai
应该 yin gai
### 错字
曾经 ceng jing
曾今 ceng jin
Expand Down
7 changes: 4 additions & 3 deletions lua/corrector.lua
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,10 @@ function M.init(env)
["yin jiu zhi ke"] = { text = "饮鸩止渴", comment = "饮鸩(zhèn)止渴" },
["yin jiu jie ke"] = { text = "饮鸩解渴", comment = "饮鸩(zhèn)解渴" },
["gong shang jiao zhi yu"] = { text = "宫商角徵羽", comment = "宫商角(jué)徵羽" },
["shan qi deng"] = { text = "氙气灯", comment = "氙(xian)气灯" },
["shan qi da deng"] = { text = "氙气大灯", comment = "氙(xian)气大灯" },
["shan qi shou dian tong"] = { text = "氙气手电筒", comment = "氙(xian)气手电筒" },
["shan qi deng"] = { text = "氙气灯", comment = "氙(xiān)气灯" },
["shan qi da deng"] = { text = "氙气大灯", comment = "氙(xiān)气大灯" },
["shan qi shou dian tong"] = { text = "氙气手电筒", comment = "氙(xiān)气手电筒" },
["yin gai"] = { text = "应该", comment = "应(yīng)该" },
-- 错字
["pu jie"] = { text = "扑街", comment = "仆街" },
["pu gai"] = { text = "扑街", comment = "仆街" },
Expand Down

0 comments on commit a022f09

Please sign in to comment.