Commit Graph

165 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