Commit Graph

215 Commits

Author SHA1 Message Date
toasted-nutbread
0aed27b66d Replace hasOwnProperty with simplified hasOwn function 2019-11-26 22:06:27 -05:00
toasted-nutbread
cf18e3b42e Replace string.substr and string.slice with string.substring
Improves semantic clarity, and it's recommended to not use substr.
2019-11-24 11:02:52 -05:00
toasted-nutbread
7333873244 Add support for wildcards 2019-11-10 14:02:43 -05:00
toasted-nutbread
3a225c3f91 Add details field to apiTermsFind 2019-11-10 14:02:43 -05:00
toasted-nutbread
58c0997999 Give findKanji the same API as findTerms 2019-11-10 14:02:43 -05:00
toasted-nutbread
af1662acad Update how apiTermsFind works 2019-11-10 14:02:43 -05:00
toasted-nutbread
fe82913991 Rename function 2019-11-10 14:02:43 -05:00
toasted-nutbread
a9ab774a3f Move function 2019-11-10 14:02:43 -05:00
toasted-nutbread
e091c7ebe2 Add support for deleting individual dictionaries 2019-11-07 20:30:55 -05:00
toasted-nutbread
7a3315d75d Use chrome.runtime.getURL instead of chrome.extension.getURL 2019-10-22 20:23:03 -04:00
toasted-nutbread
eea95eb130 Simplify score to term frequency conversion 2019-10-19 14:18:57 -04:00
toasted-nutbread
610c2b9cca Move tagCache out of Database and into Translator 2019-10-19 13:32:05 -04:00
toasted-nutbread
97de7883a3 Update getMergedSecondarySearchResults to use findTermsExactBulk 2019-10-19 12:42:26 -04:00
toasted-nutbread
4446cbeabb Create getMergedSecondarySearchResults 2019-10-19 12:28:33 -04:00
toasted-nutbread
96f37fd9dc Create function for body of findTermsMerged's sequencedDefinitions loop 2019-10-19 12:16:38 -04:00
toasted-nutbread
a08cbebeb3 Use findTermsBySequenceBulk instead of findTermsBySequence 2019-10-19 11:34:12 -04:00
toasted-nutbread
a25167df73 Use findKanjiBulk and findKanjiMetaBulk in Translator.findKanji 2019-10-19 10:39:08 -04:00
toasted-nutbread
50a47348a7 Optimize internal data structure used by the Deinflector class 2019-10-05 18:28:30 -04:00
toasted-nutbread
44119eea2c Fix deinflections not being handled correctly 2019-09-30 22:09:16 -04:00
toasted-nutbread
1286b5115f Use bulk database searches 2019-09-28 22:05:10 -04:00
toasted-nutbread
664a318d7f Use non-async function for cache lookups 2019-09-28 21:54:18 -04:00
toasted-nutbread
aae971a09e Pass options directly to translator.findTerms* 2019-09-10 20:09:33 -04:00
toasted-nutbread
b90dea0e6d Use string.substr instead of string.split 2019-09-02 20:25:30 -04:00
toasted-nutbread
fc4a961412 Replace some instances of Array.concat
.push or .unshift can accomplish the same operation without constructing new arrays.
2019-09-02 20:25:30 -04:00
siikamiika
1682850970 merged mode: expand termTags earlier
Fixes errors with main dictionary other than JMdict
2017-11-09 17:25:28 +02:00
siikamiika
73d542547b translator.js: coding style 2017-10-24 23:10:47 +03:00
siikamiika
27a56dc236 expand tags before dictTermsMergeByGloss 2017-10-24 18:31:18 +03:00
siikamiika
78442fff1a settings: main dictionary selection as dropdown 2017-10-24 16:23:13 +03:00
siikamiika
e034ca3ad4 add tag meta score 2017-10-24 12:38:05 +03:00
siikamiika
f54f909701 merged mode: rewrite term frequency (use score) 2017-10-19 18:35:42 +03:00
siikamiika
04def64521 merged mode: fix another OBOE related to sequence 2017-10-19 18:15:50 +03:00
siikamiika
81f0a61651 merged mode: Anki support 2017-10-17 11:16:38 +03:00
siikamiika
1edeabdaa8 merged mode: tags -> termTags (inside expressions) 2017-10-17 09:27:47 +03:00
siikamiika
03f7ca23e1 merged mode: add secondary searches 2017-10-15 05:19:16 +03:00
siikamiika
7ec28bea54 change db format, rename tags to definitionTags 2017-10-13 02:40:20 +03:00
siikamiika
8d660e2829 add compact tags 2017-10-12 09:59:09 +03:00
siikamiika
4e57fa1ad1 merged mode: remove options.dictionary.main 2017-10-12 01:10:05 +03:00
siikamiika
4fb983a70c add termTags
The dictionary tags field can now have a '\t' in it, and it is used to
separate tags associated with definitions and terms.
2017-10-11 09:18:55 +03:00
siikamiika
94d590fc85 merged mode: support audio and tags for terms 2017-10-07 07:02:50 +03:00
siikamiika
981d9eddb6 merged mode: rewrite previous commit 2017-10-07 01:19:40 +03:00
siikamiika
72fe83d353 merged mode: merge other results with main dict 2017-10-05 06:56:45 +03:00
siikamiika
cfad3b3099 merged mode: add main dictionary selection 2017-10-05 05:21:07 +03:00
siikamiika
69ad4a7c9b merged mode: implement missing stuff, refactoring
- use correct tags
- indicate popular and rare terms
- indicate definitions restricted to specific terms
- frequencies (Innocent Corpus)
2017-10-03 07:20:02 +03:00
siikamiika
803ccc1661 merged: first draft, only supports JMdict 2017-10-01 04:17:02 +03:00
siikamiika
b24c705234 basic structure for feature-merge-similar-results 2017-09-29 05:41:29 +03:00
8651c11d36 frequency fixup 2017-09-23 13:31:03 -07:00
8d85321cf9 update database for new format 2017-09-23 08:46:34 -07:00
3d87615917 sort stats 2017-09-21 23:20:51 -07:00
65ce976423 wip 2017-09-21 09:21:32 -07:00
119def2beb wip 2017-09-20 23:15:02 -07:00
e90274519a combine indices and stats 2017-09-17 19:57:39 -07:00
d9d16613f8 wip 2017-09-17 19:16:08 -07:00
7f55f1c8d2 display term frequencies 2017-09-15 13:32:49 -07:00
d3d760ed6c cleanup 2017-09-14 10:15:54 -07:00
f5009cd63c cleanup 2017-09-13 23:22:41 -07:00
33d9d6ff57 cleanup 2017-09-13 18:03:55 -07:00
4d4b819d6c tag caching 2017-09-13 17:26:02 -07:00
13961e6a10 better tag handling 2017-09-13 16:42:04 -07:00
ba8451f429 cleanup 2017-09-13 15:45:53 -07:00
79b99131f6 add frequency table support for kanji 2017-09-12 20:20:03 -07:00
3b29893072 add frequency table support for terms 2017-09-12 18:29:16 -07:00
190c749527 improved furigana support 2017-08-26 11:57:34 -07:00
a4c3ba434a fixing syntax issues 2017-08-23 20:56:52 -07:00
Yoitsumi
c89678f5db Improve {furigana} marker for anki export 2017-08-20 16:07:55 +02:00
fe137e94c9 cleanup 2017-07-19 21:28:09 -07:00
b0cdf59bd8 move anki to async 2017-07-10 16:24:31 -07:00
a73b8fbab7 cleanup 2017-07-10 15:20:07 -07:00
28bc1449d1 cleanup 2017-07-10 15:00:38 -07:00
49352c5fa1 move deinflector to async 2017-07-10 14:30:34 -07:00
b6f3919ef6 move translator to async 2017-07-10 14:10:58 -07:00
6e986bf1f5 cleanup 2017-07-09 16:29:52 -07:00
867f7dd24f make soft katakana search be implicit 2017-05-24 20:29:50 -07:00
e661c4bd43 add option to disable searching of alphanumeric text, fixes #47 2017-04-22 13:02:06 -07:00
e799aa5e5f cleanup 2017-03-04 19:53:28 -08:00
a01ca1f17c renaming things to make more sense 2017-03-02 21:01:49 -08:00
0d2e9be0ce wip 2017-02-26 11:12:54 -08:00
8efe5b1fbf workaround for broken const in firefox 2017-01-28 18:46:15 -08:00
268e00435f support for dictionary priority sorting 2017-01-16 20:54:01 -08:00
e8840465f0 WIP 2017-01-15 22:17:49 -08:00
8fe82573cc WIP 2017-01-13 21:06:33 -08:00
148291d3a7 WIP 2017-01-08 15:33:45 -08:00
d7b4aa681c fixing dictionary tags 2017-01-08 11:18:55 -08:00
a5efe50322 add dictionary tags 2017-01-07 21:11:52 -08:00
c7e9179b68 fixing bug that was preventing katakana terms from being searchable 2016-12-27 18:56:28 -08:00
09b2db4fdf file management 2016-12-23 16:25:14 -08:00
3047f8c4fc fixing various deinflection issues 2016-12-23 15:44:16 -08:00
45bf72b40b dictionary result caching 2016-12-20 22:43:27 -08:00
dd3db8faad fixing various deinflection issues 2016-12-20 21:54:01 -08:00
28b8bae6a7 deinflector optimizations 2016-12-19 21:23:17 -08:00
e5275560ce Fixes 2016-12-17 23:38:14 -08:00
d44f0c5764 WIP 2016-12-17 21:42:53 -08:00
5be864bb6f WIP 2016-12-17 21:26:46 -08:00
5c755043fa CWIP 2016-12-17 19:30:26 -08:00
15e1cf3358 Fixes 2016-12-17 19:08:28 -08:00
d98f4566bc WIP 2016-12-17 18:45:19 -08:00
5c94923264 WIP 2016-12-17 17:42:41 -08:00
72ed8be877 WIP 2016-11-13 21:53:56 -08:00
dab46eda3e WIP 2016-11-13 11:58:23 -08:00
b5cc47a9d1 WIP 2016-11-12 19:29:30 -08:00
5ad4782bfb Fixes 2016-11-07 19:15:51 -08:00