mirror of
https://github.com/fumiama/emozi.git
synced 2026-06-22 20:20:33 +08:00
feat(lookup): export EmptyMark
This commit is contained in:
@@ -91,7 +91,7 @@ func main() {
|
|||||||
fmt.Println("ERROR: coder.AddRadical:", err)
|
fmt.Println("ERROR: coder.AddRadical:", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
fmt.Println("已添加部首:", *radical, "颜文字:", *radicalemozi)
|
fmt.Println("已添加部首:", *radical, "颜文字:", coder.LookupRadical(rr[0]))
|
||||||
}
|
}
|
||||||
if *getglobalid && *addoverlay != "" && *pinyinfull != "" {
|
if *getglobalid && *addoverlay != "" && *pinyinfull != "" {
|
||||||
sm, ym, sd, err := emozi.SplitPinyin(*pinyinfull)
|
sm, ym, sd, err := emozi.SplitPinyin(*pinyinfull)
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ package emozi
|
|||||||
|
|
||||||
// 部首后备 内嵌的部首到颜文字的映射, 是第二优先查询顺位. 第一顺位是数据库的部首表. 第三位是回落到 🈳.
|
// 部首后备 内嵌的部首到颜文字的映射, 是第二优先查询顺位. 第一顺位是数据库的部首表. 第三位是回落到 🈳.
|
||||||
var 部首后备 = map[rune]string{ {{range .}}
|
var 部首后备 = map[rune]string{ {{range .}}
|
||||||
'{{.R}}': string(空),{{end}}
|
'{{.R}}': string(EmptyMark),{{end}}
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
|
|||||||
11
lookup.go
11
lookup.go
@@ -6,7 +6,8 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
const 空 = '🈳'
|
// EmptyMark 代表 "空" 的颜文字
|
||||||
|
const EmptyMark = '🈳'
|
||||||
|
|
||||||
// LookupChar 查一个汉字 (可能是多音字)
|
// LookupChar 查一个汉字 (可能是多音字)
|
||||||
func (c *Coder) LookupChar(ch rune) (explains []string, err error) {
|
func (c *Coder) LookupChar(ch rune) (explains []string, err error) {
|
||||||
@@ -50,7 +51,7 @@ func (c *Coder) GetCharByID(id int64) (w, r rune, p, f, desc string, err error)
|
|||||||
func 随机正查(m [][]string, isRandom bool, i uint8) string {
|
func 随机正查(m [][]string, isRandom bool, i uint8) string {
|
||||||
lst := m[i]
|
lst := m[i]
|
||||||
if len(lst) == 0 {
|
if len(lst) == 0 {
|
||||||
return string(空)
|
return string(EmptyMark)
|
||||||
}
|
}
|
||||||
if len(lst) == 1 || !isRandom {
|
if len(lst) == 1 || !isRandom {
|
||||||
return lst[0]
|
return lst[0]
|
||||||
@@ -81,7 +82,7 @@ func (c *Coder) 部首(r rune) string {
|
|||||||
c.mu.Lock()
|
c.mu.Lock()
|
||||||
defer c.mu.Unlock()
|
defer c.mu.Unlock()
|
||||||
err := c.db.Find(部首表名, x, "WHERE R="+strconv.Itoa(int(r)))
|
err := c.db.Find(部首表名, x, "WHERE R="+strconv.Itoa(int(r)))
|
||||||
if err == nil && len(x.E) > 0 && x.E != string(空) {
|
if err == nil && len(x.E) > 0 && x.E != string(EmptyMark) {
|
||||||
c.部首缓存[r] = x.E
|
c.部首缓存[r] = x.E
|
||||||
return x.E
|
return x.E
|
||||||
}
|
}
|
||||||
@@ -89,8 +90,8 @@ func (c *Coder) 部首(r rune) string {
|
|||||||
c.部首缓存[r] = e
|
c.部首缓存[r] = e
|
||||||
return e
|
return e
|
||||||
}
|
}
|
||||||
c.部首缓存[r] = string(空)
|
c.部首缓存[r] = string(EmptyMark)
|
||||||
return string(空)
|
return string(EmptyMark)
|
||||||
}
|
}
|
||||||
|
|
||||||
func 二阶逆查[E ~uint8](lowm map[rune][]string, m map[string]E, s string) (enum E, n int) {
|
func 二阶逆查[E ~uint8](lowm map[rune][]string, m map[string]E, s string) (enum E, n int) {
|
||||||
|
|||||||
872
radical.go
872
radical.go
@@ -40,508 +40,508 @@ var 部首后备 = map[rune]string{
|
|||||||
'辵': "🚶",
|
'辵': "🚶",
|
||||||
'彳': "🚦",
|
'彳': "🚦",
|
||||||
'廴': "🚥",
|
'廴': "🚥",
|
||||||
'㢟': string(空),
|
'㢟': string(EmptyMark),
|
||||||
'行': "⛕",
|
'行': "⛕",
|
||||||
'齒': string(空),
|
'齒': string(EmptyMark),
|
||||||
'牙': string(空),
|
'牙': string(EmptyMark),
|
||||||
'足': string(空),
|
'足': string(EmptyMark),
|
||||||
'疋': string(空),
|
'疋': string(EmptyMark),
|
||||||
'品': string(空),
|
'品': string(EmptyMark),
|
||||||
'龠': string(空),
|
'龠': string(EmptyMark),
|
||||||
'冊': string(空),
|
'冊': string(EmptyMark),
|
||||||
'㗊': "💠",
|
'㗊': "💠",
|
||||||
'舌': "👅",
|
'舌': "👅",
|
||||||
'干': string(空),
|
'干': string(EmptyMark),
|
||||||
'𧮫': string(空),
|
'𧮫': string(EmptyMark),
|
||||||
'只': string(空),
|
'只': string(EmptyMark),
|
||||||
'㕯': string(空),
|
'㕯': string(EmptyMark),
|
||||||
'句': string(空),
|
'句': string(EmptyMark),
|
||||||
'丩': string(空),
|
'丩': string(EmptyMark),
|
||||||
'古': "🏺",
|
'古': "🏺",
|
||||||
'十': "🔟",
|
'十': "🔟",
|
||||||
'卅': "🌍",
|
'卅': "🌍",
|
||||||
'言': "💬",
|
'言': "💬",
|
||||||
'田': "👨🌾",
|
'田': "👨🌾",
|
||||||
'誩': string(空),
|
'誩': string(EmptyMark),
|
||||||
'音': "🎵",
|
'音': "🎵",
|
||||||
'䇂': string(空),
|
'䇂': string(EmptyMark),
|
||||||
'丵': string(空),
|
'丵': string(EmptyMark),
|
||||||
'菐': string(空),
|
'菐': string(EmptyMark),
|
||||||
'𠬞': string(空),
|
'𠬞': string(EmptyMark),
|
||||||
'𠬜': string(空),
|
'𠬜': string(EmptyMark),
|
||||||
'共': string(空),
|
'共': string(EmptyMark),
|
||||||
'異': string(空),
|
'異': string(EmptyMark),
|
||||||
'舁': string(空),
|
'舁': string(EmptyMark),
|
||||||
'𦥑': string(空),
|
'𦥑': string(EmptyMark),
|
||||||
'䢅': string(空),
|
'䢅': string(EmptyMark),
|
||||||
'爨': string(空),
|
'爨': string(EmptyMark),
|
||||||
'革': string(空),
|
'革': string(EmptyMark),
|
||||||
'鬲': string(空),
|
'鬲': string(EmptyMark),
|
||||||
'䰜': string(空),
|
'䰜': string(EmptyMark),
|
||||||
'爪': "🤏",
|
'爪': "🤏",
|
||||||
'丮': string(空),
|
'丮': string(EmptyMark),
|
||||||
'鬥': "👊",
|
'鬥': "👊",
|
||||||
'又': string(空),
|
'又': string(EmptyMark),
|
||||||
'𠂇': string(空),
|
'𠂇': string(EmptyMark),
|
||||||
'史': string(空),
|
'史': string(EmptyMark),
|
||||||
'支': string(空),
|
'支': string(EmptyMark),
|
||||||
'𦘒': string(空),
|
'𦘒': string(EmptyMark),
|
||||||
'聿': "✍",
|
'聿': "✍",
|
||||||
'畫': "🎨",
|
'畫': "🎨",
|
||||||
'隶': string(空),
|
'隶': string(EmptyMark),
|
||||||
'臤': string(空),
|
'臤': string(EmptyMark),
|
||||||
'臣': string(空),
|
'臣': string(EmptyMark),
|
||||||
'殳': string(空),
|
'殳': string(EmptyMark),
|
||||||
'殺': "🪚",
|
'殺': "🪚",
|
||||||
'𠘧': string(空),
|
'𠘧': string(EmptyMark),
|
||||||
'寸': string(空),
|
'寸': string(EmptyMark),
|
||||||
'皮': string(空),
|
'皮': string(EmptyMark),
|
||||||
'㼱': string(空),
|
'㼱': string(EmptyMark),
|
||||||
'攴': string(空),
|
'攴': string(EmptyMark),
|
||||||
'女': "👩",
|
'女': "👩",
|
||||||
'教': string(空),
|
'教': string(EmptyMark),
|
||||||
'卜': "🔮",
|
'卜': "🔮",
|
||||||
'用': string(空),
|
'用': string(EmptyMark),
|
||||||
'爻': string(空),
|
'爻': string(EmptyMark),
|
||||||
'㸚': string(空),
|
'㸚': string(EmptyMark),
|
||||||
'𡕥': string(空),
|
'𡕥': string(EmptyMark),
|
||||||
'目': "👁️",
|
'目': "👁️",
|
||||||
'䀠': "👀",
|
'䀠': "👀",
|
||||||
'眉': "🤨",
|
'眉': "🤨",
|
||||||
'盾': string(空),
|
'盾': string(EmptyMark),
|
||||||
'自': "👃",
|
'自': "👃",
|
||||||
'𪞶': string(空),
|
'𪞶': string(EmptyMark),
|
||||||
'鼻': "👃",
|
'鼻': "👃",
|
||||||
'皕': string(空),
|
'皕': string(EmptyMark),
|
||||||
'習': string(空),
|
'習': string(EmptyMark),
|
||||||
'羽': "🪶",
|
'羽': "🪶",
|
||||||
'隹': "🐦",
|
'隹': "🐦",
|
||||||
'奞': string(空),
|
'奞': string(EmptyMark),
|
||||||
'雈': string(空),
|
'雈': string(EmptyMark),
|
||||||
'𦫳': string(空),
|
'𦫳': string(EmptyMark),
|
||||||
'𥄕': string(空),
|
'𥄕': string(EmptyMark),
|
||||||
'羊': "🐑",
|
'羊': "🐑",
|
||||||
'羴': string(空),
|
'羴': string(EmptyMark),
|
||||||
'瞿': string(空),
|
'瞿': string(EmptyMark),
|
||||||
'雔': string(空),
|
'雔': string(EmptyMark),
|
||||||
'雥': string(空),
|
'雥': string(EmptyMark),
|
||||||
'鳥': "🦢",
|
'鳥': "🦢",
|
||||||
'烏': "🐦⬛",
|
'烏': "🐦⬛",
|
||||||
'𠦒': string(空),
|
'𠦒': string(EmptyMark),
|
||||||
'冓': string(空),
|
'冓': string(EmptyMark),
|
||||||
'幺': string(空),
|
'幺': string(EmptyMark),
|
||||||
'𢆶': string(空),
|
'𢆶': string(EmptyMark),
|
||||||
'叀': string(空),
|
'叀': string(EmptyMark),
|
||||||
'玄': string(空),
|
'玄': string(EmptyMark),
|
||||||
'予': string(空),
|
'予': string(EmptyMark),
|
||||||
'放': string(空),
|
'放': string(EmptyMark),
|
||||||
'𠬪': string(空),
|
'𠬪': string(EmptyMark),
|
||||||
'𣦼': string(空),
|
'𣦼': string(EmptyMark),
|
||||||
'歺': string(空),
|
'歺': string(EmptyMark),
|
||||||
'死': string(空),
|
'死': string(EmptyMark),
|
||||||
'冎': string(空),
|
'冎': string(EmptyMark),
|
||||||
'骨': string(空),
|
'骨': string(EmptyMark),
|
||||||
'肉': string(空),
|
'肉': string(EmptyMark),
|
||||||
'筋': string(空),
|
'筋': string(EmptyMark),
|
||||||
'刀': "🔪",
|
'刀': "🔪",
|
||||||
'刃': "🔪",
|
'刃': "🔪",
|
||||||
'㓞': string(空),
|
'㓞': string(EmptyMark),
|
||||||
'丯': string(空),
|
'丯': string(EmptyMark),
|
||||||
'耒': string(空),
|
'耒': string(EmptyMark),
|
||||||
'角': "🥐",
|
'角': "🥐",
|
||||||
'竹': "🎋",
|
'竹': "🎋",
|
||||||
'箕': string(空),
|
'箕': string(EmptyMark),
|
||||||
'丌': string(空),
|
'丌': string(EmptyMark),
|
||||||
'左': "👈",
|
'左': "👈",
|
||||||
'工': string(空),
|
'工': string(EmptyMark),
|
||||||
'㠭': string(空),
|
'㠭': string(EmptyMark),
|
||||||
'巫': string(空),
|
'巫': string(EmptyMark),
|
||||||
'甘': string(空),
|
'甘': string(EmptyMark),
|
||||||
'曰': string(空),
|
'曰': string(EmptyMark),
|
||||||
'乃': string(空),
|
'乃': string(EmptyMark),
|
||||||
'丂': string(空),
|
'丂': string(EmptyMark),
|
||||||
'可': string(空),
|
'可': string(EmptyMark),
|
||||||
'兮': string(空),
|
'兮': string(EmptyMark),
|
||||||
'号': string(空),
|
'号': string(EmptyMark),
|
||||||
'亏': string(空),
|
'亏': string(EmptyMark),
|
||||||
'旨': string(空),
|
'旨': string(EmptyMark),
|
||||||
'喜': string(空),
|
'喜': string(EmptyMark),
|
||||||
'壴': string(空),
|
'壴': string(EmptyMark),
|
||||||
'鼓': string(空),
|
'鼓': string(EmptyMark),
|
||||||
'豈': string(空),
|
'豈': string(EmptyMark),
|
||||||
'豆': string(空),
|
'豆': string(EmptyMark),
|
||||||
'豊': string(空),
|
'豊': string(EmptyMark),
|
||||||
'豐': string(空),
|
'豐': string(EmptyMark),
|
||||||
'䖒': string(空),
|
'䖒': string(EmptyMark),
|
||||||
'虍': string(空),
|
'虍': string(EmptyMark),
|
||||||
'虎': string(空),
|
'虎': string(EmptyMark),
|
||||||
'虤': string(空),
|
'虤': string(EmptyMark),
|
||||||
'皿': string(空),
|
'皿': string(EmptyMark),
|
||||||
'𠙴': string(空),
|
'𠙴': string(EmptyMark),
|
||||||
'去': string(空),
|
'去': string(EmptyMark),
|
||||||
'血': string(空),
|
'血': string(EmptyMark),
|
||||||
'丶': string(空),
|
'丶': string(EmptyMark),
|
||||||
'丹': string(空),
|
'丹': string(EmptyMark),
|
||||||
'青': string(空),
|
'青': string(EmptyMark),
|
||||||
'井': string(空),
|
'井': string(EmptyMark),
|
||||||
'皀': string(空),
|
'皀': string(EmptyMark),
|
||||||
'鬯': string(空),
|
'鬯': string(EmptyMark),
|
||||||
'食': string(空),
|
'食': string(EmptyMark),
|
||||||
'亼': string(空),
|
'亼': string(EmptyMark),
|
||||||
'會': string(空),
|
'會': string(EmptyMark),
|
||||||
'倉': string(空),
|
'倉': string(EmptyMark),
|
||||||
'入': string(空),
|
'入': string(EmptyMark),
|
||||||
'缶': string(空),
|
'缶': string(EmptyMark),
|
||||||
'矢': string(空),
|
'矢': string(EmptyMark),
|
||||||
'高': string(空),
|
'高': string(EmptyMark),
|
||||||
'冂': string(空),
|
'冂': string(EmptyMark),
|
||||||
'𩫖': string(空),
|
'𩫖': string(EmptyMark),
|
||||||
'京': string(空),
|
'京': string(EmptyMark),
|
||||||
'亯': string(空),
|
'亯': string(EmptyMark),
|
||||||
'㫗': string(空),
|
'㫗': string(EmptyMark),
|
||||||
'畗': string(空),
|
'畗': string(EmptyMark),
|
||||||
'㐭': string(空),
|
'㐭': string(EmptyMark),
|
||||||
'嗇': string(空),
|
'嗇': string(EmptyMark),
|
||||||
'來': string(空),
|
'來': string(EmptyMark),
|
||||||
'麥': string(空),
|
'麥': string(EmptyMark),
|
||||||
'夊': string(空),
|
'夊': string(EmptyMark),
|
||||||
'舛': string(空),
|
'舛': string(EmptyMark),
|
||||||
'舜': string(空),
|
'舜': string(EmptyMark),
|
||||||
'韋': string(空),
|
'韋': string(EmptyMark),
|
||||||
'弟': string(空),
|
'弟': string(EmptyMark),
|
||||||
'夂': string(空),
|
'夂': string(EmptyMark),
|
||||||
'久': string(空),
|
'久': string(EmptyMark),
|
||||||
'桀': string(空),
|
'桀': string(EmptyMark),
|
||||||
'木': "🪵",
|
'木': "🪵",
|
||||||
'東': string(空),
|
'東': string(EmptyMark),
|
||||||
'林': string(空),
|
'林': string(EmptyMark),
|
||||||
'才': string(空),
|
'才': string(EmptyMark),
|
||||||
'叒': string(空),
|
'叒': string(EmptyMark),
|
||||||
'之': string(空),
|
'之': string(EmptyMark),
|
||||||
'帀': string(空),
|
'帀': string(EmptyMark),
|
||||||
'出': string(空),
|
'出': string(EmptyMark),
|
||||||
'𣎵': string(空),
|
'𣎵': string(EmptyMark),
|
||||||
'生': string(空),
|
'生': string(EmptyMark),
|
||||||
'乇': string(空),
|
'乇': string(EmptyMark),
|
||||||
'𠂹': string(空),
|
'𠂹': string(EmptyMark),
|
||||||
'𠌶': string(空),
|
'𠌶': string(EmptyMark),
|
||||||
'華': string(空),
|
'華': string(EmptyMark),
|
||||||
'𥝌': string(空),
|
'𥝌': string(EmptyMark),
|
||||||
'稽': string(空),
|
'稽': string(EmptyMark),
|
||||||
'巢': string(空),
|
'巢': string(EmptyMark),
|
||||||
'桼': string(空),
|
'桼': string(EmptyMark),
|
||||||
'束': string(空),
|
'束': string(EmptyMark),
|
||||||
'㯻': string(空),
|
'㯻': string(EmptyMark),
|
||||||
'囗': string(空),
|
'囗': string(EmptyMark),
|
||||||
'員': string(空),
|
'員': string(EmptyMark),
|
||||||
'貝': string(空),
|
'貝': string(EmptyMark),
|
||||||
'邑': string(空),
|
'邑': string(EmptyMark),
|
||||||
'𨛜': string(空),
|
'𨛜': string(EmptyMark),
|
||||||
'日': "🌞",
|
'日': "🌞",
|
||||||
'旦': string(空),
|
'旦': string(EmptyMark),
|
||||||
'倝': string(空),
|
'倝': string(EmptyMark),
|
||||||
'㫃': string(空),
|
'㫃': string(EmptyMark),
|
||||||
'冥': string(空),
|
'冥': string(EmptyMark),
|
||||||
'晶': string(空),
|
'晶': string(EmptyMark),
|
||||||
'月': string(空),
|
'月': string(EmptyMark),
|
||||||
'有': string(空),
|
'有': string(EmptyMark),
|
||||||
'朙': string(空),
|
'朙': string(EmptyMark),
|
||||||
'囧': string(空),
|
'囧': string(EmptyMark),
|
||||||
'夕': "🌇",
|
'夕': "🌇",
|
||||||
'多': "🪩",
|
'多': "🪩",
|
||||||
'毌': string(空),
|
'毌': string(EmptyMark),
|
||||||
'𢎘': string(空),
|
'𢎘': string(EmptyMark),
|
||||||
'𣐺': string(空),
|
'𣐺': string(EmptyMark),
|
||||||
'𠧪': string(空),
|
'𠧪': string(EmptyMark),
|
||||||
'齊': string(空),
|
'齊': string(EmptyMark),
|
||||||
'朿': string(空),
|
'朿': string(EmptyMark),
|
||||||
'片': string(空),
|
'片': string(EmptyMark),
|
||||||
'鼎': string(空),
|
'鼎': string(EmptyMark),
|
||||||
'克': string(空),
|
'克': string(EmptyMark),
|
||||||
'彔': string(空),
|
'彔': string(EmptyMark),
|
||||||
'禾': string(空),
|
'禾': string(EmptyMark),
|
||||||
'秝': string(空),
|
'秝': string(EmptyMark),
|
||||||
'黍': string(空),
|
'黍': string(EmptyMark),
|
||||||
'香': string(空),
|
'香': string(EmptyMark),
|
||||||
'米': string(空),
|
'米': string(EmptyMark),
|
||||||
'毇': string(空),
|
'毇': string(EmptyMark),
|
||||||
'臼': string(空),
|
'臼': string(EmptyMark),
|
||||||
'凶': string(空),
|
'凶': string(EmptyMark),
|
||||||
'朩': string(空),
|
'朩': string(EmptyMark),
|
||||||
'𣏟': string(空),
|
'𣏟': string(EmptyMark),
|
||||||
'麻': string(空),
|
'麻': string(EmptyMark),
|
||||||
'尗': string(空),
|
'尗': string(EmptyMark),
|
||||||
'耑': string(空),
|
'耑': string(EmptyMark),
|
||||||
'韭': string(空),
|
'韭': string(EmptyMark),
|
||||||
'瓜': string(空),
|
'瓜': string(EmptyMark),
|
||||||
'瓠': string(空),
|
'瓠': string(EmptyMark),
|
||||||
'宀': "🏠",
|
'宀': "🏠",
|
||||||
'宮': "🏛",
|
'宮': "🏛",
|
||||||
'呂': "🩻",
|
'呂': "🩻",
|
||||||
'穴': "🕳️",
|
'穴': "🕳️",
|
||||||
'㝱': string(空),
|
'㝱': string(EmptyMark),
|
||||||
'疒': "😷",
|
'疒': "😷",
|
||||||
'冖': "🗃",
|
'冖': "🗃",
|
||||||
'𠔼': string(空),
|
'𠔼': string(EmptyMark),
|
||||||
'冃': string(空),
|
'冃': string(EmptyMark),
|
||||||
'㒳': string(空),
|
'㒳': string(EmptyMark),
|
||||||
'网': "🕸️",
|
'网': "🕸️",
|
||||||
'襾': string(空),
|
'襾': string(EmptyMark),
|
||||||
'巾': "🧣",
|
'巾': "🧣",
|
||||||
'巿': string(空),
|
'巿': string(EmptyMark),
|
||||||
'帛': string(空),
|
'帛': string(EmptyMark),
|
||||||
'白': "⚪",
|
'白': "⚪",
|
||||||
'㡀': string(空),
|
'㡀': string(EmptyMark),
|
||||||
'黹': string(空),
|
'黹': string(EmptyMark),
|
||||||
'𠤎': string(空),
|
'𠤎': string(EmptyMark),
|
||||||
'匕': string(空),
|
'匕': string(EmptyMark),
|
||||||
'从': string(空),
|
'从': string(EmptyMark),
|
||||||
'比': string(空),
|
'比': string(EmptyMark),
|
||||||
'北': string(空),
|
'北': string(EmptyMark),
|
||||||
'丘': string(空),
|
'丘': string(EmptyMark),
|
||||||
'㐺': string(空),
|
'㐺': string(EmptyMark),
|
||||||
'𡈼': string(空),
|
'𡈼': string(EmptyMark),
|
||||||
'重': string(空),
|
'重': string(EmptyMark),
|
||||||
'臥': string(空),
|
'臥': string(EmptyMark),
|
||||||
'身': string(空),
|
'身': string(EmptyMark),
|
||||||
'㐆': string(空),
|
'㐆': string(EmptyMark),
|
||||||
'衣': string(空),
|
'衣': string(EmptyMark),
|
||||||
'裘': string(空),
|
'裘': string(EmptyMark),
|
||||||
'老': string(空),
|
'老': string(EmptyMark),
|
||||||
'毛': string(空),
|
'毛': string(EmptyMark),
|
||||||
'毳': string(空),
|
'毳': string(EmptyMark),
|
||||||
'尸': string(空),
|
'尸': string(EmptyMark),
|
||||||
'尺': string(空),
|
'尺': string(EmptyMark),
|
||||||
'尾': string(空),
|
'尾': string(EmptyMark),
|
||||||
'履': string(空),
|
'履': string(EmptyMark),
|
||||||
'舟': "🛶",
|
'舟': "🛶",
|
||||||
'方': string(空),
|
'方': string(EmptyMark),
|
||||||
'儿': string(空),
|
'儿': string(EmptyMark),
|
||||||
'兄': string(空),
|
'兄': string(EmptyMark),
|
||||||
'兂': string(空),
|
'兂': string(EmptyMark),
|
||||||
'皃': string(空),
|
'皃': string(EmptyMark),
|
||||||
'𠑹': string(空),
|
'𠑹': string(EmptyMark),
|
||||||
'先': string(空),
|
'先': string(EmptyMark),
|
||||||
'禿': string(空),
|
'禿': string(EmptyMark),
|
||||||
'見': string(空),
|
'見': string(EmptyMark),
|
||||||
'覞': string(空),
|
'覞': string(EmptyMark),
|
||||||
'欠': string(空),
|
'欠': string(EmptyMark),
|
||||||
'㱃': string(空),
|
'㱃': string(EmptyMark),
|
||||||
'㳄': string(空),
|
'㳄': string(EmptyMark),
|
||||||
'旡': string(空),
|
'旡': string(EmptyMark),
|
||||||
'頁': "👱♂️",
|
'頁': "👱♂️",
|
||||||
'𦣻': "👱",
|
'𦣻': "👱",
|
||||||
'面': string(空),
|
'面': string(EmptyMark),
|
||||||
'丏': string(空),
|
'丏': string(EmptyMark),
|
||||||
'首': string(空),
|
'首': string(EmptyMark),
|
||||||
'𥄉': string(空),
|
'𥄉': string(EmptyMark),
|
||||||
'須': string(空),
|
'須': string(EmptyMark),
|
||||||
'彡': string(空),
|
'彡': string(EmptyMark),
|
||||||
'彣': string(空),
|
'彣': string(EmptyMark),
|
||||||
'文': "💮",
|
'文': "💮",
|
||||||
'髟': string(空),
|
'髟': string(EmptyMark),
|
||||||
'后': string(空),
|
'后': string(EmptyMark),
|
||||||
'司': string(空),
|
'司': string(EmptyMark),
|
||||||
'卮': string(空),
|
'卮': string(EmptyMark),
|
||||||
'卩': string(空),
|
'卩': string(EmptyMark),
|
||||||
'印': string(空),
|
'印': string(EmptyMark),
|
||||||
'色': string(空),
|
'色': string(EmptyMark),
|
||||||
'𠨍': string(空),
|
'𠨍': string(EmptyMark),
|
||||||
'辟': string(空),
|
'辟': string(EmptyMark),
|
||||||
'勹': string(空),
|
'勹': string(EmptyMark),
|
||||||
'包': string(空),
|
'包': string(EmptyMark),
|
||||||
'茍': string(空),
|
'茍': string(EmptyMark),
|
||||||
'鬼': string(空),
|
'鬼': string(EmptyMark),
|
||||||
'甶': string(空),
|
'甶': string(EmptyMark),
|
||||||
'厶': string(空),
|
'厶': string(EmptyMark),
|
||||||
'嵬': string(空),
|
'嵬': string(EmptyMark),
|
||||||
'山': string(空),
|
'山': "⛰️",
|
||||||
'屾': string(空),
|
'屾': "🏔️",
|
||||||
'屵': string(空),
|
'屵': string(EmptyMark),
|
||||||
'广': string(空),
|
'广': string(EmptyMark),
|
||||||
'厂': string(空),
|
'厂': string(EmptyMark),
|
||||||
'丸': string(空),
|
'丸': string(EmptyMark),
|
||||||
'危': string(空),
|
'危': string(EmptyMark),
|
||||||
'石': string(空),
|
'石': string(EmptyMark),
|
||||||
'長': string(空),
|
'長': string(EmptyMark),
|
||||||
'勿': string(空),
|
'勿': string(EmptyMark),
|
||||||
'冄': string(空),
|
'冄': string(EmptyMark),
|
||||||
'而': string(空),
|
'而': string(EmptyMark),
|
||||||
'豕': string(空),
|
'豕': string(EmptyMark),
|
||||||
'㣇': string(空),
|
'㣇': string(EmptyMark),
|
||||||
'彑': string(空),
|
'彑': string(EmptyMark),
|
||||||
'豚': string(空),
|
'豚': string(EmptyMark),
|
||||||
'豸': string(空),
|
'豸': string(EmptyMark),
|
||||||
'𤉡': string(空),
|
'𤉡': string(EmptyMark),
|
||||||
'易': string(空),
|
'易': string(EmptyMark),
|
||||||
'象': "🐘",
|
'象': "🐘",
|
||||||
'馬': "🐎",
|
'馬': "🐎",
|
||||||
'𢊁': string(空),
|
'𢊁': string(EmptyMark),
|
||||||
'鹿': "🦌",
|
'鹿': "🦌",
|
||||||
'麤': string(空),
|
'麤': string(EmptyMark),
|
||||||
'㲋': string(空),
|
'㲋': string(EmptyMark),
|
||||||
'兔': "🐰",
|
'兔': "🐰",
|
||||||
'萈': string(空),
|
'萈': string(EmptyMark),
|
||||||
'犬': "🐶",
|
'犬': "🐶",
|
||||||
'㹜': string(空),
|
'㹜': string(EmptyMark),
|
||||||
'鼠': "🐭",
|
'鼠': "🐭",
|
||||||
'能': string(空),
|
'能': string(EmptyMark),
|
||||||
'熊': "🐻",
|
'熊': "🐻",
|
||||||
'火': "🔥",
|
'火': "🔥",
|
||||||
'炎': "🔥",
|
'炎': "🔥",
|
||||||
'黑': string(空),
|
'黑': string(EmptyMark),
|
||||||
'囪': string(空),
|
'囪': string(EmptyMark),
|
||||||
'焱': string(空),
|
'焱': string(EmptyMark),
|
||||||
'炙': "🍖",
|
'炙': "🍖",
|
||||||
'赤': string(空),
|
'赤': string(EmptyMark),
|
||||||
'大': string(空),
|
'大': string(EmptyMark),
|
||||||
'亦': string(空),
|
'亦': string(EmptyMark),
|
||||||
'夨': string(空),
|
'夨': string(EmptyMark),
|
||||||
'夭': string(空),
|
'夭': string(EmptyMark),
|
||||||
'交': string(空),
|
'交': string(EmptyMark),
|
||||||
'尣': string(空),
|
'尣': string(EmptyMark),
|
||||||
'壺': string(空),
|
'壺': string(EmptyMark),
|
||||||
'壹': string(空),
|
'壹': string(EmptyMark),
|
||||||
'㚔': string(空),
|
'㚔': string(EmptyMark),
|
||||||
'奢': string(空),
|
'奢': string(EmptyMark),
|
||||||
'亢': string(空),
|
'亢': string(EmptyMark),
|
||||||
'夲': string(空),
|
'夲': string(EmptyMark),
|
||||||
'夰': string(空),
|
'夰': string(EmptyMark),
|
||||||
'亣': string(空),
|
'亣': string(EmptyMark),
|
||||||
'夫': string(空),
|
'夫': string(EmptyMark),
|
||||||
'立': string(空),
|
'立': string(EmptyMark),
|
||||||
'竝': string(空),
|
'竝': string(EmptyMark),
|
||||||
'囟': string(空),
|
'囟': string(EmptyMark),
|
||||||
'思': string(空),
|
'思': string(EmptyMark),
|
||||||
'心': string(空),
|
'心': string(EmptyMark),
|
||||||
'惢': string(空),
|
'惢': string(EmptyMark),
|
||||||
'水': "💧",
|
'水': "💧",
|
||||||
'沝': "💦",
|
'沝': "💦",
|
||||||
'瀕': string(空),
|
'瀕': string(EmptyMark),
|
||||||
'𡿨': "🫗",
|
'𡿨': "🫗",
|
||||||
'巜': "⛜",
|
'巜': "⛜",
|
||||||
'川': "💦",
|
'川': "💦",
|
||||||
'泉': string(空),
|
'泉': string(EmptyMark),
|
||||||
'灥': string(空),
|
'灥': string(EmptyMark),
|
||||||
'永': string(空),
|
'永': string(EmptyMark),
|
||||||
'𠂢': string(空),
|
'𠂢': string(EmptyMark),
|
||||||
'谷': string(空),
|
'谷': "🌄",
|
||||||
'仌': string(空),
|
'仌': string(EmptyMark),
|
||||||
'雨': string(空),
|
'雨': "🌧️",
|
||||||
'雲': string(空),
|
'雲': "☁️",
|
||||||
'魚': string(空),
|
'魚': "🐟",
|
||||||
'𩺰': string(空),
|
'𩺰': "🐠",
|
||||||
'燕': string(空),
|
'燕': string(EmptyMark),
|
||||||
'龍': string(空),
|
'龍': "🐉",
|
||||||
'飛': string(空),
|
'飛': string(EmptyMark),
|
||||||
'非': string(空),
|
'非': string(EmptyMark),
|
||||||
'卂': string(空),
|
'卂': string(EmptyMark),
|
||||||
'𠃉': string(空),
|
'𠃉': string(EmptyMark),
|
||||||
'不': string(空),
|
'不': string(EmptyMark),
|
||||||
'至': string(空),
|
'至': string(EmptyMark),
|
||||||
'西': string(空),
|
'西': string(EmptyMark),
|
||||||
'鹵': string(空),
|
'鹵': string(EmptyMark),
|
||||||
'鹽': string(空),
|
'鹽': string(EmptyMark),
|
||||||
'戶': string(空),
|
'戶': string(EmptyMark),
|
||||||
'門': string(空),
|
'門': string(EmptyMark),
|
||||||
'耳': string(空),
|
'耳': string(EmptyMark),
|
||||||
'𦣞': string(空),
|
'𦣞': string(EmptyMark),
|
||||||
'手': "✋",
|
'手': "✋",
|
||||||
'𠦬': string(空),
|
'𠦬': string(EmptyMark),
|
||||||
'毋': string(空),
|
'毋': string(EmptyMark),
|
||||||
'民': string(空),
|
'民': string(EmptyMark),
|
||||||
'丿': string(空),
|
'丿': string(EmptyMark),
|
||||||
'𠂆': string(空),
|
'𠂆': string(EmptyMark),
|
||||||
'乁': string(空),
|
'乁': string(EmptyMark),
|
||||||
'氏': string(空),
|
'氏': string(EmptyMark),
|
||||||
'氐': string(空),
|
'氐': string(EmptyMark),
|
||||||
'戈': string(空),
|
'戈': string(EmptyMark),
|
||||||
'戉': string(空),
|
'戉': string(EmptyMark),
|
||||||
'我': string(空),
|
'我': string(EmptyMark),
|
||||||
'亅': string(空),
|
'亅': string(EmptyMark),
|
||||||
'珡': string(空),
|
'珡': string(EmptyMark),
|
||||||
'𠃊': string(空),
|
'𠃊': string(EmptyMark),
|
||||||
'亾': string(空),
|
'亾': string(EmptyMark),
|
||||||
'匸': string(空),
|
'匸': string(EmptyMark),
|
||||||
'匚': string(空),
|
'匚': string(EmptyMark),
|
||||||
'曲': string(空),
|
'曲': string(EmptyMark),
|
||||||
'甾': string(空),
|
'甾': string(EmptyMark),
|
||||||
'瓦': string(空),
|
'瓦': string(EmptyMark),
|
||||||
'弓': string(空),
|
'弓': string(EmptyMark),
|
||||||
'弜': string(空),
|
'弜': string(EmptyMark),
|
||||||
'弦': string(空),
|
'弦': string(EmptyMark),
|
||||||
'系': string(空),
|
'系': string(EmptyMark),
|
||||||
'糸': string(空),
|
'糸': string(EmptyMark),
|
||||||
'素': string(空),
|
'素': string(EmptyMark),
|
||||||
'絲': string(空),
|
'絲': string(EmptyMark),
|
||||||
'率': string(空),
|
'率': string(EmptyMark),
|
||||||
'虫': string(空),
|
'虫': string(EmptyMark),
|
||||||
'䖵': string(空),
|
'䖵': string(EmptyMark),
|
||||||
'蟲': string(空),
|
'蟲': string(EmptyMark),
|
||||||
'風': string(空),
|
'風': string(EmptyMark),
|
||||||
'它': string(空),
|
'它': string(EmptyMark),
|
||||||
'龜': string(空),
|
'龜': string(EmptyMark),
|
||||||
'黽': string(空),
|
'黽': string(EmptyMark),
|
||||||
'卵': string(空),
|
'卵': string(EmptyMark),
|
||||||
'二': string(空),
|
'二': string(EmptyMark),
|
||||||
'土': string(空),
|
'土': string(EmptyMark),
|
||||||
'垚': string(空),
|
'垚': string(EmptyMark),
|
||||||
'堇': string(空),
|
'堇': string(EmptyMark),
|
||||||
'里': string(空),
|
'里': string(EmptyMark),
|
||||||
'畕': string(空),
|
'畕': string(EmptyMark),
|
||||||
'黃': string(空),
|
'黃': string(EmptyMark),
|
||||||
'男': string(空),
|
'男': string(EmptyMark),
|
||||||
'力': string(空),
|
'力': string(EmptyMark),
|
||||||
'劦': string(空),
|
'劦': string(EmptyMark),
|
||||||
'金': "💰",
|
'金': "💰",
|
||||||
'幵': string(空),
|
'幵': string(EmptyMark),
|
||||||
'勺': string(空),
|
'勺': string(EmptyMark),
|
||||||
'几': string(空),
|
'几': string(EmptyMark),
|
||||||
'且': string(空),
|
'且': string(EmptyMark),
|
||||||
'斤': string(空),
|
'斤': string(EmptyMark),
|
||||||
'斗': string(空),
|
'斗': string(EmptyMark),
|
||||||
'矛': string(空),
|
'矛': string(EmptyMark),
|
||||||
'車': "🚲",
|
'車': "🚲",
|
||||||
'𠂤': string(空),
|
'𠂤': string(EmptyMark),
|
||||||
'𨸏': string(空),
|
'𨸏': string(EmptyMark),
|
||||||
'𨺅': string(空),
|
'𨺅': string(EmptyMark),
|
||||||
'厽': string(空),
|
'厽': string(EmptyMark),
|
||||||
'四': string(空),
|
'四': string(EmptyMark),
|
||||||
'宁': string(空),
|
'宁': string(EmptyMark),
|
||||||
'叕': string(空),
|
'叕': string(EmptyMark),
|
||||||
'亞': string(空),
|
'亞': string(EmptyMark),
|
||||||
'五': string(空),
|
'五': string(EmptyMark),
|
||||||
'六': string(空),
|
'六': string(EmptyMark),
|
||||||
'七': string(空),
|
'七': string(EmptyMark),
|
||||||
'九': string(空),
|
'九': string(EmptyMark),
|
||||||
'禸': string(空),
|
'禸': string(EmptyMark),
|
||||||
'嘼': string(空),
|
'嘼': string(EmptyMark),
|
||||||
'甲': string(空),
|
'甲': string(EmptyMark),
|
||||||
'乙': string(空),
|
'乙': string(EmptyMark),
|
||||||
'丙': string(空),
|
'丙': string(EmptyMark),
|
||||||
'丁': string(空),
|
'丁': string(EmptyMark),
|
||||||
'戊': string(空),
|
'戊': string(EmptyMark),
|
||||||
'己': string(空),
|
'己': string(EmptyMark),
|
||||||
'巴': string(空),
|
'巴': string(EmptyMark),
|
||||||
'庚': string(空),
|
'庚': string(EmptyMark),
|
||||||
'辛': string(空),
|
'辛': string(EmptyMark),
|
||||||
'辡': string(空),
|
'辡': string(EmptyMark),
|
||||||
'壬': string(空),
|
'壬': string(EmptyMark),
|
||||||
'癸': string(空),
|
'癸': string(EmptyMark),
|
||||||
'子': "🚼",
|
'子': "🚼",
|
||||||
'了': string(空),
|
'了': string(EmptyMark),
|
||||||
'孨': string(空),
|
'孨': string(EmptyMark),
|
||||||
'𠫓': string(空),
|
'𠫓': string(EmptyMark),
|
||||||
'丑': string(空),
|
'丑': string(EmptyMark),
|
||||||
'寅': string(空),
|
'寅': string(EmptyMark),
|
||||||
'戼': string(空),
|
'戼': string(EmptyMark),
|
||||||
'辰': string(空),
|
'辰': string(EmptyMark),
|
||||||
'巳': string(空),
|
'巳': string(EmptyMark),
|
||||||
'午': string(空),
|
'午': string(EmptyMark),
|
||||||
'未': "🐐",
|
'未': "🐐",
|
||||||
'申': string(空),
|
'申': string(EmptyMark),
|
||||||
'酉': string(空),
|
'酉': string(EmptyMark),
|
||||||
'酋': string(空),
|
'酋': string(EmptyMark),
|
||||||
'戌': string(空),
|
'戌': string(EmptyMark),
|
||||||
'亥': string(空),
|
'亥': string(EmptyMark),
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ func WrapRawEmoziString(s string) EmoziString {
|
|||||||
if len(rs) < 4 {
|
if len(rs) < 4 {
|
||||||
diff := 4 - len(rs)
|
diff := 4 - len(rs)
|
||||||
for i := 0; i < diff; i++ {
|
for i := 0; i < diff; i++ {
|
||||||
rs = append(rs, 空)
|
rs = append(rs, EmptyMark)
|
||||||
}
|
}
|
||||||
s = string(rs)
|
s = string(rs)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user