Fix Yomitan token headword frequency matching and add frequency tests

This commit is contained in:
kyasuda
2026-02-16 13:21:19 -08:00
parent e142d2dc3b
commit 0eb2868805
7 changed files with 1586 additions and 80 deletions

View File

@@ -56,6 +56,7 @@ export interface MergedToken {
isNPlusOneTarget: boolean;
jlptLevel?: JlptLevel;
frequencyRank?: number;
frequencyLookupTerms?: string[];
}
export type FrequencyDictionaryLookup = (term: string) => number | null;