rime / rime/squirrel

只对特定的码数的词汇行进调频和造词

Open
#832 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
6.4k
Forks
553
PR merge metrics
No merged PRs in 30d

Description

我现在用的是速成输入法, 个人觉得rime自动造词这个功能不太好用(老是会记录一堆不是词语的词), 所以自己用ahk写了小程序方便自己录入词汇.
但如果把造词功能关了, 词频也顺带关了, 在网上找了一圈, 找到以下代码:

patch:
translator/dictionary: quick5.extended
translator/enable_sentence: false #屏蔽倉頡、五筆中帶有太極圖章「☯」的連打詞句選項
translator/enable_user_dict: true #开启自动造词
disable_user_dict_for_patterns:
- "^[a-y]{5,10}$" #5-10码不记录词频

但发现上面这些代码在 5-10码不记录词频和造词没起作用. 为什么啊?

我希望可以在5-10速成码的情况下 不造词

或者可以关掉造词, 但可以调词频, 我要怎么做呢?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the issue's patch block and reproduce the behavior with the translator configuration shown. Trace how disable_user_dict_for_patterns, user-dictionary recording, and word-frequency updates are handled, then verify the result against the requested 5–10-code behavior and the option to disable word creation while retaining frequency adjustment.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.