diff --git a/jmdict_constants.go b/jmdict_constants.go index 99287c5..d1a69cb 100644 --- a/jmdict_constants.go +++ b/jmdict_constants.go @@ -9,7 +9,7 @@ const ( edrdgAttribution = "This publication has included material from the JMdict (EDICT, etc.) dictionary files in accordance with the licence provisions of the Electronic Dictionaries Research Group. See http://www.edrdg.org/" prioritySymbol = "★" - rareKanjiSymbol = "🅁" + rareSymbol = "🅁" irregularSymbol = "⚠" outdatedSymbol = "⛬" defaultSymbol = "㊒" diff --git a/jmdict_forms.go b/jmdict_forms.go index ab84ca5..409eadb 100644 --- a/jmdict_forms.go +++ b/jmdict_forms.go @@ -13,8 +13,8 @@ func (h *headword) InfoSymbols() string { if h.IsPriority { infoSymbols = append(infoSymbols, prioritySymbol) } - if h.IsRareKanji { - infoSymbols = append(infoSymbols, rareKanjiSymbol) + if h.IsRareKanji || h.IsRareKana { + infoSymbols = append(infoSymbols, rareSymbol) } if h.IsIrregular { infoSymbols = append(infoSymbols, irregularSymbol)