Deinflection now same as in Yomichan for Anki
This commit is contained in:
parent
125df215dd
commit
1b27832054
@ -46,7 +46,7 @@ class Translator {
|
|||||||
|
|
||||||
findTerm(text) {
|
findTerm(text) {
|
||||||
const groups = {};
|
const groups = {};
|
||||||
for (let i = text.length; i >= 0; --i) {
|
for (let i = text.length; i > 0; --i) {
|
||||||
const term = text.slice(0, i);
|
const term = text.slice(0, i);
|
||||||
|
|
||||||
const dfs = this.deinflector.deinflect(term, t => {
|
const dfs = this.deinflector.deinflect(term, t => {
|
||||||
|
Loading…
Reference in New Issue
Block a user