1

Add term rules for zuru verbs

This commit is contained in:
toasted-nutbread 2020-12-05 23:48:34 -05:00
parent fc189b9b83
commit 3cb4f0e386
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ const jmdictRevision = "jmdict4"
func jmdictBuildRules(term *dbTerm) { func jmdictBuildRules(term *dbTerm) {
for _, tag := range term.DefinitionTags { for _, tag := range term.DefinitionTags {
switch tag { switch tag {
case "adj-i", "v1", "vk": case "adj-i", "v1", "vk", "vz":
term.addRules(tag) term.addRules(tag)
default: default:
if strings.HasPrefix(tag, "v5") { if strings.HasPrefix(tag, "v5") {

View File

@ -41,7 +41,7 @@ type rikaiEntry struct {
func rikaiBuildRules(term *dbTerm) { func rikaiBuildRules(term *dbTerm) {
for _, tag := range term.DefinitionTags { for _, tag := range term.DefinitionTags {
switch tag { switch tag {
case "adj-i", "v1", "vk": case "adj-i", "v1", "vk", "vz":
term.addRules(tag) term.addRules(tag)
default: default:
if strings.HasPrefix(tag, "v5") { if strings.HasPrefix(tag, "v5") {