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

Add emoji_cantonese #185

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions jyut6ping3.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
schema:
schema_id: jyut6ping3
name: 粵語拼音
version: "2022.06.07"
version: "2024.02.17"
author:
- Ayaka Mikazuki <ayaka@mail.shn.hk>
- LeiMaau <leimaau@qq.com>
Expand Down Expand Up @@ -76,10 +76,10 @@ engine:
- table_translator@stroke
- table_translator@cangjie5
filters:
- simplifier@emoji_suggestion
- simplifier@variants_hk
- simplifier@trad_tw
- simplifier
- simplifier@emoji_suggestion
- uniquifier
- reverse_lookup_filter@jyut6ping3_reverse_lookup

Expand Down Expand Up @@ -188,7 +188,7 @@ trad_tw:
opencc_config: t2tw.json

emoji_suggestion:
opencc_config: emoji.json
opencc_config: emoji_cantonese.json
option_name: emoji_suggestion
tips: all

Expand Down
23 changes: 23 additions & 0 deletions opencc/emoji_cantonese.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "Cantonese to Emoji",
"segmentation": {
"type": "mmseg",
"dict": {
"type": "text",
"file": "emoji_cantonese.txt"
}
},
"conversion_chain": [
{
"dict": {
"type": "group",
"dicts": [
{
"type": "text",
"file": "emoji_cantonese.txt"
}
]
}
}
]
}
Loading
Loading