| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
| |
* Change enableTerminationCharacters to terminationCharacterMode
* Update settings
* Update sentence extraction
* Update tests
* Add tests
|
|
|
|
|
| |
* Update sourceTermExactMatchCount to be based on headword count
* Update tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Rename _addUniqueStrings to _addUniqueSimple
* Update definition merging to not depend the sequence number
* Improve naming
* Update AnkiNoteDataCreator
* Update docs
* Remove fields that no longer exist
* Update test data
|
|
|
|
|
|
|
| |
* Move utility function
* Expose dictionary entry as a hidden property for internal use
* Add pitchCategories helper
|
|
|
|
|
| |
* Simplify alphanumeric check
* Update option name for clarity
|
| |
|
| |
|
|
|
|
|
|
|
| |
* Remove unused argument
* Improve naming in _groupDictionaryEntriesByHeadword
More consistent with _getRelatedDictionaryEntries.
|
|
|
|
|
|
|
|
|
| |
* Remove sequence/sequenceDictionary from dictionary entry objects
* Expose isPrimary on definitions
* Update sequence
* Update test data
|
|
|
|
|
|
|
|
|
|
|
| |
* Ensure negative sequence is always -1
* Expose sequence on definition objects
* Update how sequence is exposed for definitions
* Update test data
* Update TS docs
|
|
|
|
|
| |
* Use "reading" instead of "furigana" for reading distribution
* Update tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update terminology
* Update display
* Rename expression-list to headword-list
* Rename expression-current-indicator
* Rename expression classes
* Update dictionary entry container
* Rename glossary => gloss
* Rename heading
* Rename gloss classes to gloss-content
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update terminology
* Update terminology in display.js
* Update terminology in display-audio.js
* Update terminology in text-scanner.js
* Update terminology in backend.js
* Update terminology in mecab.js
* Update terminology in audio-downloader.js
* Update terminology in translator-vm.js
* Update terminology in dictionary-data-util.js
* Update terminology in dictionary-database.js
* Update terminology in japanese-util.js
* Change/upgrade {expression} to {term}
* Update terminology in test-japanese.js
* Update terminology in test-database.js
* Update terminology in anki-templates-controller.js
* Update terminology in anki-note-builder.js
* Update terminology in backend.js
* Update terminology in text-scanner.js
* Update terminology in display.js
* Update terminology in display.js
|
|
|
|
|
|
|
|
|
|
|
| |
* Improve sequence for merged entries and add sequenceDictionary
* Update docs
* Expose sequence in definitions
* Expose sequence in root definition
* Update test data
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add part of speech info to headwords
* Expose parts of speech to Anki template rendering
* Expose parts of speech
* Update pitch accent categories
* Update docs
* Add part-of-speech
* Update options and tests
* Update markers
* Update test data
|
| |
|
|
|
|
|
|
|
| |
* Sort by the maximum length of transformedText instead of deinflectedText
* Update docs
* Update tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update test data
* Move translator.js
* Create new version of Translator
* Update Backend
* Update DictionaryDataUtil
* Update DisplayGenerator
* Create AnkiNoteDataCreator
* Replace AnkiNoteData with AnkiNoteDataCreator
* Update tests
* Remove AnkiNoteData
* Update test data
* Remove translator-old.js
* Add TypeScript interface definitions for the new translator data format
|
|
|
|
|
| |
* Fix furigana distribution when source/expression kana differs
* Add an additional test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update formatting
* Add _findMultiBulk
* Update implementation of findTermsBySequenceBulk
* Update tests
* Generalize query creation
* Remove _findGenericBulk
* Reduce function creation
* Add more bindings
* Simplify findTermsExactBulk implementation
* Update var names
* Update _findMultiBulk to support multiple index queries
* Update findTermsBulk
* Update getMedia implementation
* Pass data arg to getAll and findFirst to avoid having multiple closures
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix content security policy for images
* Add createBlobFromBase64Content to MediaUtil
* Update MediaLoader to use MediaUtil
* Use blob URLs when importing dictionaries
* Update VM's URL to support createObjectURL and revokeObjectURL
* Fix test
|
| |
|
| |
|
|
|
|
|
| |
* Add Database.findFirst
* Add DictionaryDatabase.findTagMetaBulk
|
| |
|
|
|
|
|
| |
* Improve distributeFuriganaInflected implementation
* Update tests
|
|
|
|
|
|
|
|
|
| |
* Move function
* Add _onSearchClick function
* Move _onSearchClick after event prevention
* Prevent search if selection is changed before a click occurs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove unused: _removeUsedDefinitions
* Remove unused: _scoreToTermFrequency
* Remove unused: _getTermTagsScoreSum
* Add RegexUtil
* Update Translator to use RegexUtil
* Update sw.js
* Update tests
|
|
|
|
|
|
|
|
|
|
|
| |
* Add getTermFrequency
* Update DisplayGenerator to use getTermFrequency
* Remove termFrequency from Translator data
* Backwards compatibility
* Update tests
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove redundant language assignment
* Segment furigana from DisplayGenerator
* Remove furiganaSegments from translator data
* Add backwards compatibility for furiganaSegments
* Update tests
|
|
|
|
|
|
|
|
|
| |
* Make Deinflector._ruleTypes private
* Add createDeinflection helper
* Remove unnecessary field assignments from Deinflector
Move them to Translator instead
|
|
|
|
|
| |
* Update _createTermDetailsList usage and docs
* Update source of expression/reading/furiganaSegments
|
|
|
|
|
|
|
| |
* Handle empty readings earlier in the definition creation process
* Remove empty reading check
* Remove special handling of empty readings
|
|
|
|
| |
remainder characters (#1496)
|
| |
|
|
|
|
|
|
|
|
|
| |
* Refactor expression comparison
* Rename function
* Add dictionary index sorting
* Update test data
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove sourceDefinitions
* Add id
* Remove related definitions from unsequencedDefinitions
* Add separate _addRelatedDefinitions function
* Add secondary definitions
* Update how secondary definitions are added
* Update expression/reading source
* Move _mergeByGlossary body
* Refactor _createTermDetailsListFromTermInfoMap
* Move _addUniqueTermInfos body
* Rename function
* Organize
* Simplify duplicate check
* Rename relatedDefinitionIds to definitionIds
* Refactor secondary definition adding
* Early exit
* Add matching unsequencedDefinitions to secondaryDefinitions
* Clean
* Fix incorrect condition
* Move _addSecondaryDefinitions call
* Add comments
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Refactor _groupTerms and add doc comment
* Update where expression/reading is acquired from
* Add doc comment
* Add isPrimary field
* Update test data
* Add definition which has "isPrimary": false definitions
|
|
|
|
|
|
|
|
| |
* Add api.textHasJapaneseCharacters
* Add support for empty query
* Add support for showing the query parser for TextSourceElement
with content that does not start with Japanese text
|
| |
|
|
|
|
|
|
|
| |
* Update dictionary priority
* Replace dictionaryPriority with dictionaryOrder
* Update tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update implementation of _buildTermMeta
* Remove old implementation
* Expose dictionaryPriority on frequencies and pitch accents
* Update how meta data is generated; add index
* Update order
* Update names
* Expose expressionIndex as part of pitch/frequency data
* Implement meta sorting
* Update test data
|
|
|
|
|
| |
* Refactor _sortDefinitions
* Remove use of useDictionaryPriority
|
|
|
|
|
| |
* Improve edge case furigana distribution for mixed hiragana/katakana
* Update/add tests
|
|
|
|
|
|
|
| |
* Fix regex replacements having issues at the start of scanned text
* Fix test cases
* Add tests
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Create Logger class and log instance
* Replace yomichan.logWarning with log.warn
* Replace yomichan.logError with log.error
* Replace yomichan.log with log.log
* Update the Yomichan class to use the global log object
* Update lint rules
|
|
|
|
|
|
|
|
|
|
|
| |
* Move cross frame API from API to Yomichan
* Add API instance to Yomichan
* Move api global to yomichan.api
* Pass yomichan to API
* Remove IIFE
|