diff options
Diffstat (limited to 'db/db.ts')
| -rw-r--r-- | db/db.ts | 6 | 
1 files changed, 3 insertions, 3 deletions
| @@ -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,  				},  			}; |