aboutsummaryrefslogtreecommitdiff
path: root/db/db.ts
diff options
context:
space:
mode:
Diffstat (limited to 'db/db.ts')
-rw-r--r--db/db.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/db/db.ts b/db/db.ts
index 5605f40..7bb315c 100644
--- a/db/db.ts
+++ b/db/db.ts
@@ -1,7 +1,7 @@
import { Database, Statement } from "https://deno.land/x/sqlite3@0.9.1/mod.ts";
import * as path from 'https://deno.land/std@0.102.0/path/mod.ts';
-import { TokenTags } from "../language/tags.ts";
+import { TokenTags } from "../search/tags.ts";
import "../util/string.ts";
export interface DBDictInfo {
@@ -20,7 +20,7 @@ export interface FindResult {
depth: number;
original: string;
match: {
- kanji: boolean;
+ writing: boolean;
reading: boolean;
};
}
@@ -97,7 +97,7 @@ export default class DB {
depth: term.depth,
original: term.original,
match: {
- kanji: term.expression == term.deinflected,
+ writing: term.expression == term.deinflected,
reading: term.reading == term.deinflected,
},
};