Commit Graph

123 Commits

Author SHA1 Message Date
f819280268 migrations: combine score tables 2025-05-23 15:27:56 +02:00
03a8e11d91 JMdict_BaseAndFurigana: move isFirst column out of dart query 2025-05-22 19:57:46 +02:00
fdd15df344 lib/search/filter_kanji: init 2025-05-22 19:45:10 +02:00
0ea8331298 nix: clean up formatting 2025-05-22 16:57:07 +02:00
9215807b5c migrations: move RADKFILE view to Views migration 2025-05-22 16:57:07 +02:00
72a58bc299 migrations: fix file indices 2025-05-22 16:57:06 +02:00
c208ef75f2 migrations: precalculate word search score with triggers 2025-05-22 16:57:06 +02:00
bfcb2bfc97 lib/cli: allow specifying query for kanji/word 2025-05-22 16:57:06 +02:00
52a686ac29 lib/search/word: fix english sql query 2025-05-22 16:57:05 +02:00
8bff2c6799 KANJIDIC: add orderNum to yomi + meaning 2025-05-21 12:57:08 +02:00
b8eba03000 lib/search: use const table names 2025-05-21 12:38:25 +02:00
4d75bef208 migrations: create virtual col common on jmdict kanji/reading elements 2025-05-20 13:08:16 +02:00
08f25f6277 lib/models/jmdict_pos: add shortDescription 2025-05-20 00:03:32 +02:00
7fee0435e8 pubspec.lock: bump packages 2025-05-19 21:46:19 +02:00
73640d01f6 lib/search/kanji: make taughtIn into int? 2025-05-19 20:18:36 +02:00
2875f7a65f lib/search/kanji: allow empty names for radicals 2025-05-19 19:48:17 +02:00
155a3aa658 treewide: format 2025-05-19 16:40:37 +02:00
0351b7a9df lib/search: make optional word args available in public api 2025-05-19 16:40:36 +02:00
3cc61e6ba9 .gitignore: add /doc 2025-05-19 16:40:36 +02:00
ebe29db092 lib/search: document public search functions 2025-05-19 16:40:36 +02:00
128dd14a0d lib/search: generate list of ? instead of interpolation 2025-05-19 16:40:35 +02:00
501d3a089e lib/search/radical_search: implement 2025-05-19 16:40:35 +02:00
e0ffd89ff4 lib/search/word_search: use map comprehensions 2025-05-19 16:40:35 +02:00
e30ed8ba9b lib/search/kanji: add more data to result 2025-05-19 16:40:34 +02:00
d508b5e244 migrations: add constraint for kanjidic skip misclassifications 2025-05-19 16:40:34 +02:00
31c3fb807e treewide: redo handling of kanjidic radicals 2025-05-19 16:40:34 +02:00
60d2017473 lib/search/kanji: add codepoints 2025-05-19 16:40:33 +02:00
135d81db80 lib/search/kanji: query kanji parts 2025-05-19 16:40:33 +02:00
f8549bf55a lib/_data_ingestion/kanjidic: correctly parse radical names from xml 2025-05-19 16:40:33 +02:00
69d86b34ff migrations: remove already fixed TODO 2025-05-19 16:40:30 +02:00
6d7c068e7b lib/search/word_search: query reading/kanji elements in correct order 2025-05-18 23:53:30 +02:00
b6661c734f lib/search/word_search: add word count search 2025-05-16 23:50:01 +02:00
080638e7ef lib/search/word_search: assert no missing rubys 2025-05-16 21:30:33 +02:00
03d536d7d1 nix: add package for database with WAL enabled 2025-05-16 21:29:53 +02:00
3f267b78d3 lib: format 2025-05-16 21:06:19 +02:00
84ae7eca9e lib/search/word_search: move some score calculation to virtual column 2025-05-16 21:03:37 +02:00
45c4c5f09a lib/cli/query-word: stringify 2025-05-16 18:47:26 +02:00
369fcdbd4b lib/search/word_search: fix rubification 2025-05-16 18:46:57 +02:00
33cf5028f4 lib/search/word_search: score and order results by several metrics 2025-05-16 18:46:39 +02:00
90d5717928 migrations: move JMdict views to 0009_views 2025-05-16 18:43:58 +02:00
bb9550380c lib/search/word_search: limit entry id query to single column 2025-05-16 17:06:01 +02:00
3680827176 lib/search/word_search: use const table names 2025-05-16 17:06:01 +02:00
9d9ce840fa lib/search/word_search: split 2025-05-16 17:06:00 +02:00
6c580e95e2 lib/search/word_search: pagination 2025-05-16 17:06:00 +02:00
2db99e76f0 lib/_data_ingestion: perform VACUUM after data ingestion 2025-05-16 17:06:00 +02:00
42db69e57a lib/cli/create_db: make WAL mode optional 2025-05-16 17:05:59 +02:00
4407c06f12 lib/cli: add timing logs to query commands 2025-05-16 17:05:59 +02:00
fc0956d5c3 lib/text_filtering: add kanjiRegex 2025-05-16 17:05:57 +02:00
d7f7f9cd19 Filter data out into separate files 2025-05-16 09:22:28 +02:00
cf95f85caa Add kanji filtering utility 2025-05-16 09:17:18 +02:00