mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-07-29 01:01:34 -07:00
Anki maturity-based known-word highlighting (#172)
This commit is contained in:
@@ -42,6 +42,12 @@ export function createBuildTokenizerDepsMainHandler(deps: TokenizerMainDeps) {
|
||||
deps.recordLookup(hit);
|
||||
return hit;
|
||||
},
|
||||
...(deps.getKnownWordTier
|
||||
? {
|
||||
getKnownWordTier: (text, reading, options) =>
|
||||
deps.getKnownWordTier!(text, reading, options),
|
||||
}
|
||||
: {}),
|
||||
getKnownWordMatchMode: () => deps.getKnownWordMatchMode(),
|
||||
...(deps.getKnownWordsEnabled
|
||||
? {
|
||||
|
||||
Reference in New Issue
Block a user