From 3d8c170838f679e9c848eda6f0ba8d543d9675f7 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Thu, 22 Dec 2016 20:59:19 -0800 Subject: [PATCH] tag ordering fixes --- edict.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/edict.go b/edict.go index 8060960..42785ff 100644 --- a/edict.go +++ b/edict.go @@ -70,10 +70,10 @@ func jmdictAddPriorities(term *dbTerm, priorities ...string) { func jmdictBuildTagMeta(entities map[string]string) map[string]dbTagMeta { tags := map[string]dbTagMeta{ - "news": {Notes: "appears frequently in Mainichi Shimbun", Category: "frequent"}, - "ichi": {Notes: "listed as common in Ichimango Goi Bunruishuu", Category: "frequent"}, - "spec": {Notes: "common words not included in frequency lists", Category: "frequent"}, - "gai": {Notes: "common loanword", Category: "frequent"}, + "news": {Notes: "appears frequently in Mainichi Shimbun", Category: "frequent", Order: -2}, + "ichi": {Notes: "listed as common in Ichimango Goi Bunruishuu", Category: "frequent", Order: -2}, + "spec": {Notes: "common words not included in frequency lists", Category: "frequent", Order: -2}, + "gai": {Notes: "common loanword", Category: "frequent", Order: -2}, "P": {Notes: "popular term", Category: "popular", Order: -10}, }