Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[功能建議] Allow user-defined phrase frequency #498

Open
xatier opened this issue Jun 21, 2024 · 0 comments
Open

[功能建議] Allow user-defined phrase frequency #498

xatier opened this issue Jun 21, 2024 · 0 comments

Comments

@xatier
Copy link
Contributor

xatier commented Jun 21, 2024

痛點

I'd like to allow (optional) user-defined phrase frequency in the user's dictionary data.txt.

For instance, if I'd like to add this emoji 🎊 ㄍㄨㄥ-ㄒㄧˇ, I wish to have lower priority than 恭喜. Currently, the user dictionary ensures user-defined phrases have the highest priority and always shows 🎊 before 恭喜. Unless the engine has the temporary memory of user selections at the time.

功能說明

Allow optional 3rd field in data.txt. Keep the current behavior of top priority if this filed is not present.

🎊 ㄍㄨㄥ-ㄒㄧˇ -8 would make 🎊 to have the same phrase frequency as other emojis and to be on the bottom of the list.
🎊 ㄍㄨㄥ-ㄒㄧˇ ensures 🎊 to stay on the top of the list.

In addition to emojis, this also enables users to adjust/override the default frequency (/usr/share/fcitx5/data/mcbopomofo-data.txt) of certain words/phrases with their preferences permanently.

Related:

#461
openvanilla/fcitx5-mcbopomofo#144

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant