mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-11-10 04:46:07 -08:00
Anki maturity-based known-word highlighting (#172)
This commit is contained in:
1 parent
08c6807cb1
commit
987b325edb
54 files changed
+3046
-381
No files matched your search
@@ -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