aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/deinflector.js
Commit message (Collapse)AuthorAge
* Dictionary data structure improvements (#877)toasted-nutbread2020-10-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Simplify object structure of deinflections * Modify existing array when removing duplicates * Update _sortDefinitions to not return a value * Use explicit argument value * Use a Collator for string comparisons * Simplify order comparison * Improve tag creation and sanitization * Switch .map to a for loop, skip null meta * Add _createKanjiStat * Move _sortDefinitions definition * Fix kanji stat sorting * Remove return value from _sortTags * Add _sortKanji * Add fast exits for sorting * Add _sortDefinitionsByIndex * Combine sort function * Improve creation of kanji definition data * Use "databaseDefinitions" instead of "definitions" to disambiguate * Simplify * Simplify further * Simplify max length calculation * More destructuring * Use databaseDefinitions variable name * Move _mergeBySequence body into _getSequencedDefinitions * Use databaseDefinitions field name * Move maxLength calculation * Use shared _createTermDefinitionFromDatabaseDefinition * Simplify map * Move definition sorts for better consistency and less redundancy * Move _createExpression function * Update setup of sequenced definitions * Simplify for loop
* Update license author field to broader to explicitly reflect thatAlex Yatskov2020-04-10
| | | | | Yomichan is an ongoing community project. It really does take a village, and everyone who contributes code owns a part of it :)
* Use Object.entries rather than for intoasted-nutbread2020-02-25
|
* Validate Deinflector.ruleTypestoasted-nutbread2020-02-02
|
* Update license info URLtoasted-nutbread2020-01-01
|
* Update copyrighttoasted-nutbread2020-01-01
|
* Remove trailing commastoasted-nutbread2019-11-26
|
* Replace string.substr and string.slice with string.substringtoasted-nutbread2019-11-24
| | | | Improves semantic clarity, and it's recommended to not use substr.
* Optimize internal data structure used by the Deinflector classtoasted-nutbread2019-10-05
|
* Use bulk database searchestoasted-nutbread2019-09-28
|
* lots of fixes to backendAlex Yatskov2017-08-14
|
* move deinflector to asyncAlex Yatskov2017-07-10
|
* fixing reason sortingAlex Yatskov2017-03-25
|
* wipAlex Yatskov2017-02-26
|
* workaround for broken const in firefoxAlex Yatskov2017-01-28
|
* fixing various deinflection issuesAlex Yatskov2016-12-20
|
* deinflector optimizationsAlex Yatskov2016-12-19
|
* Fixing deinflectionAlex Yatskov2016-12-19
|
* WIPAlex Yatskov2016-12-17
|
* CleanupAlex Yatskov2016-09-19
|
* Work on progress barAlex Yatskov2016-09-16
|
* Working with IndexDbAlex Yatskov2016-09-11
|
* WIPAlex Yatskov2016-09-10
|
* Work on deinflectorAlex Yatskov2016-09-10
|
* Performance improvementsAlex Yatskov2016-08-20
|
* Better control over result ordering. This fixes #12Alex Yatskov2016-08-20
|
* CleanupAlex Yatskov2016-08-07
|
* Get rid of addon hackAlex Yatskov2016-08-07
|
* Reduce file sizeAlex Yatskov2016-08-06
|
* Use `let` instead of `const` in for loops.Alex Yatskov2016-06-14
|
* Handle intermediate tags through addonsAlex Yatskov2016-04-19
|
* Fixes to deinflection logicAlex Yatskov2016-04-16
|
* File reorgAlex Yatskov2016-04-04