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

emoji好似只有繁体版,打简体可以显示嘅emoji少好多 #49

Closed
loengwaifung opened this issue Nov 17, 2024 · 15 comments
Closed

Comments

@loengwaifung
Copy link

loengwaifung commented Nov 17, 2024

emoji好似只有繁体版,打简体嘅话可以显示嘅emoji少好多,打「饭」没有饭emoji,打「飯」才有

@laubonghaudoi
Copy link
Member

目前所有emoji嘅詞彙都放喺度 https://github.com/rime/rime-emoji/blob/master/opencc/emoji_word.txt 我唔清楚 rime 佢匹配emoji 嘅機制係點嘅。可能要問 @graphemecluster @TsinamLeung @bingzheung

@loengwaifung
Copy link
Author

loengwaifung commented Nov 20, 2024

@laubonghaudoi 1.github有一種「治標唔治本」解決方案係,喺txt裏面同時加入簡體,簡繁共存,簡繁一樣嘅就唔使再加,真係可以用。2.字典需要加入所有emoji/symbol嘅叫法先知方便打得出emoji/symbol,特別係有英文嘅emoji

@bingzheung
Copy link
Contributor

Hi @laubonghaudoi

不如你創建一個 CanCLID/rime-emoji-cantonese 倉庫,再畀啲權限我,我之後整好個內容佢,用來替換 rime-emoji

@loengwaifung
Copy link
Author

@laubonghaudoi 係囉,琴日發現 @bingzheung 有成品喇,可以完美使用

@laubonghaudoi
Copy link
Member

laubonghaudoi commented Nov 20, 2024

@bingzheung 呢個其實係個遺留問題 rime/rime-cantonese#162

所以其實你本身就已經有個 https://github.com/bingzheung/emoji-cantonese

@graphemecluster
Copy link
Member

@laubonghaudoi 你睇下你之前嘅 comment
rime/rime-cantonese#163 (comment)
跟住你隔咗成年都唔肯開畀佢
(定係話你一直期待佢整好先再 transfer 過嚟?)

@laubonghaudoi
Copy link
Member

laubonghaudoi commented Nov 20, 2024

佢唔係已經開咗 https://github.com/bingzheung/emoji-cantonese 咩,而且個問題係唔係開新repo,而係佢將呢個現有嘅 repo transfer ownership 到 rime。噉係咪而家可以開始transfer?

仲有個問題係,佢呢個repo其實都係得傳統漢字冇簡化字嘅,就算係入咗 rime都唔會解決到個簡化字打唔出嘅問題,我唔知 rime入面點識別簡化字嘅源字碼。

@graphemecluster
Copy link
Member

@laubonghaudoi 唔係,張兵而家嗰個係好似 rime-cantonese-upstream 嘅上游,你要開個下游畀佢,之後張兵會將 opencc 個 directory 搬過嚟,就好似 rime-emoji repo 嘅結構噉
@bingzheung 我有冇搞錯?

@laubonghaudoi
Copy link
Member

https://github.com/rime/rime-emoji 本身唔係攞嚟當獨立方案用嘅,而係附加到另一個拼音方案入面,所以佢可以作為一個配方直接放喺 rime/ 下面。而家 https://github.com/bingzheung/emoji-cantonese 就應該整成佢噉樣,然後直接 transfer ownership 到rime/ 下面。如果整咗上游嘅話,噉即係兩個 repo 分開維護,又複雜又冇好處。

@laubonghaudoi laubonghaudoi transferred this issue from CanCLID/jyutping.net Nov 20, 2024
@graphemecluster
Copy link
Member

graphemecluster commented Nov 20, 2024

@laubonghaudoi 問題係個 plum 無論如何都會 clone 晒成個 repo 落嚟,冇理由下下用户要裝 emoji 都要 clone 埋啲唔關事嘅 source code 𠿪
寫個 CI 有幾難唧,rime-cantonese 而家都係噉 fetch 上游啲變更落嚟

@laubonghaudoi
Copy link
Member

@bingzheung 可唔可以提出幾個方案,以及你想要用邊個方案。我目前認為最好係淨係維護一個repo,single source of truth,直接放入 rime/下面維護。

@bingzheung
Copy link
Contributor

bingzheung commented Nov 21, 2024

Hi @laubonghaudoi @graphemecluster

我而家嗰個 emoji-cantonese 並唔係 Rime 配方,只可以做上游。而且有好多與 Rime 無關嘅嘢,我需要繼續用,所以我會繼續留返個倉庫。

我傾向於新開一個 rime-emoji-cantonese 倉庫,照足 rime-emoji 個樣噉,整好之後其實冇乜好更新嘅,隔幾個月更新一下個 emoji 列表就得。

我可以試下整出來先,之後再 transfer 去 rime/ 或者邊度。
之前我之所以冇整,係因爲我唔熟悉 Rime Scheme 啲嘢 :)

@graphemecluster
Copy link
Member

graphemecluster commented Nov 21, 2024

@bingzheung 基本上將成個 opencc directory 搬去 rime-emoji-cantonese,跟住 customize.recipe.yamlemoji_suggestion.yaml 跟足 rime-emoji 就得
opencc/emoji.json 唔需要留
(我一直以為 opencc/emoji_cantonese.txt 係 gen 出嚟嘅,原來係調返轉)

@bingzheung
Copy link
Contributor

(我一直以為 opencc/emoji_cantonese.txt 係 gen 出嚟嘅,原來係調返轉)

冇調轉,opencc/ 入面係 gen 出來嘅,嗰啲 emoji-* 先係手工修改嘅 source file

唔該晒講解,我遇到乜問題再請教你哋。

@laubonghaudoi
Copy link
Member

噉你搞掂個repo先,準備好晒再 transfer 到 rime 我嚟接收

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

4 participants