From b9b95bf29c945767a01d6cb5b74ec0d09d8b7606 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Mon, 10 Jul 2023 19:05:54 +0200 Subject: all deinflection tests passing again --- search/tags.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'search') diff --git a/search/tags.ts b/search/tags.ts index fa70fe8..22ea315 100644 --- a/search/tags.ts +++ b/search/tags.ts @@ -198,6 +198,7 @@ export function parseTags(input: string) { if (tag == Tag.Inflection.Suffix.Te && [ Tag.Inflection.Tense.Continuous, // base for continuous tense Tag.Inflection.Obligatory, // base for obligatory inflection + Tag.Inflection.Temporary.ObligatoryParticle, // base for obligatory inflection Tag.Inflection.Attempt.Miru, // base for 〜みる attempt ].includes(lastTag as any)) continue; @@ -210,6 +211,7 @@ export function parseTags(input: string) { if (tag == Tag.Inflection.Conditional.Ba && [ Tag.Inflection.Obligatory, Tag.Inflection.Temporary.ObligatoryResult, + Tag.Inflection.Temporary.ObligatoryParticle, ].includes(lastTag as any)) continue; // normalize multiple Inflection.Negative to single Inflection.Affirmative or Inflection.Negative -- cgit v1.2.3