Skip to content

Commit

Permalink
栗 U+6817 is used in Traditional Chinese as well.
Browse files Browse the repository at this point in the history
Resolves: #95
  • Loading branch information
mike-fabian committed Jan 20, 2022
1 parent c1c39a3 commit c80597d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion engine/chinese_variants.py
Expand Up @@ -2269,7 +2269,7 @@
u'栏': 1,
u'树': 1,
u'栖': 1,
u'栗': 1,
u'栗': 3,
u'样': 1,
u'栾': 1,
u'桠': 1,
Expand Down
2 changes: 1 addition & 1 deletion tools/Unihan_Variants.txt
Expand Up @@ -3921,7 +3921,7 @@ U+6811 kTraditionalVariant U+6A39
U+6812 kSemanticVariant U+7C28<kMatthews,kMeyerWempe
U+6816 kSemanticVariant U+68F2<kMatthews,kMeyerWempe
U+6816 kTraditionalVariant U+68F2
U+6817 kTraditionalVariant U+6144
U+6817 kTraditionalVariant U+6144 U+6817
U+681B kSemanticVariant U+8354<kMatthews
U+6822 kSemanticVariant U+67CF<kMatthews,kMeyerWempe
U+6822 kSpecializedSemanticVariant U+5B5B<kFenn
Expand Down
1 change: 1 addition & 0 deletions tools/generate-chinese-variants.py
Expand Up @@ -287,6 +287,7 @@ def detect_chinese_category(phrase):
u'尸': 3, # U+5C38, (Untypable in T) idk where it is used, but Cangjie has that as a radical.
u'揾': 3, # U+63FE, used in HK
# (TW seems to use only 搵, see http://dict.revised.moe.edu.tw/cgi-bin/cbdic/gsweb.cgi)
u'栗': 3, # U+6817 https://github.com/mike-fabian/ibus-table/issues/95
}

def test_detection(generated_script) -> int:
Expand Down

0 comments on commit c80597d

Please sign in to comment.