Skip to content

Commit

Permalink
Add emoji_cantonese
Browse files Browse the repository at this point in the history
  • Loading branch information
bingzheung committed Feb 16, 2024
1 parent e2e088e commit b4456a3
Show file tree
Hide file tree
Showing 3 changed files with 2,974 additions and 3 deletions.
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

0 comments on commit b4456a3

Please sign in to comment.