dict: 日常更新; close #375

This commit is contained in:
Dvel
2023-06-29 20:44:38 +08:00
parent d9cf59d5f2
commit d00aac9ef4
14 changed files with 479 additions and 152 deletions

View File

@@ -22,9 +22,13 @@ func main() {
rime.CnEn()
fmt.Println("--------------------------------------------------")
// 为没注音的词汇半自动注音
rime.Pinyin(rime.ExtPath)
fmt.Println("--------------------------------------------------")
// 为 ext、tencent 没权重的词条加上权重,有权重的改为下面设置的权重
rime.AddWeight(rime.ExtPath, rime.DefaultWeight)
rime.AddWeight(rime.TencentPath, rime.DefaultWeight)
rime.AddWeight(rime.ExtPath, 100)
rime.AddWeight(rime.TencentPath, 100)
fmt.Println("--------------------------------------------------")
// 检查