| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
* add translator benches
* fix path
* update test names
* remove unnecessary window, rename bench to translator
|
|
|
|
|
| |
* Add cloze-body-kana handlebar
* Convert if else to ternary
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add json test
* Update vscode settings to better handle json
* Collapse eslint rules for easier readability
* Reorganize
* Update no-multi-spaces rule for JSON
* Rules updates
* Switch to @stylistic/eslint-plugin
* Update deprecated stylistic rules
* Group stylistic rules
* Simplify rules
* Move eslint env overrides to end of file
* Add test
* Move promiseAnimationFrame to separate file
* Remove unneeded eslint disable
* Remove unneeded
|
|
|
|
|
|
|
| |
* Add test for handlebars
* Add another test
* Fix header
|
|
|
|
|
|
|
|
|
|
|
| |
* Unify repeated code for getting anki field markers
* Throw because type safety exists
* Simplify
* Update order
* Update test data
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fix deinflection bug
* add test
* fix polite te and past
* expand verb flag
* fix polite negative
* fix polite volitional
* fix polite past negative
* remove unneeded rules in
* new deinflector format
* make nicer
* lint
* remove extra line
|
|
|
|
|
| |
* Remove eol whitespace
* Add setting
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* deinflect overhaul template
* remove duplicates with -e rule
* deinflection updates
* add neba deinflections
* kansaiben updates
* remove redundancy
* Revert "remove redundancy"
This reverts commit de714066851680314c988b577e77e6bd4c9db26a.
* update deinflect.json
* move deinflect.json to japanese-transforms.json
* remove trailing spaces
* wip add tests
* update deinflect.json, add tests
* run 'npm run test-code-write'
* rename to kansai-ben
* update tests
* run 'npm run test-code-write' again
* add -tara deinflection
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add basic benches
* add package.json script
* fix header
* add codspeed plugin
* add benchmark GitHub action
* add env
* revert change
* merge upstream
* update names
|
|
|
|
|
|
|
| |
* Move functionality into TextSourceGenerator
* Move extractSentence
* Move isWhitespace
|
|
|
|
|
| |
* Add type identifier
* Improve type correctness of translator test utilities
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add frequencies-num handlebar
* Fix handlebar name
* Fix inconsistent variable name format
* Add frequency-number to anki tests
* Use full names for total and frequency variables
* Migrate handlebars to JS, split rank and occurance, add average
* Remove left behind frequency-number
* Fix "occurrence" spelling
* Cleanup types
* Add frequency support for kanji cards
* Fix code style
* Clean up most of duplicate code and merge functions
* Fix frequencies.length check
* Use less witchcraft and remove redundant type casting
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Rename Yomitan class to Application, change initialization style
* Rename file
* Update init
* Update config
* Remove dead code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Convert PronunciationGenerator into static functions
* Convert DictionaryDataUtil into static functions
* Convert AnkiNoteDataCreator into static functions
* Convert MediaUtil into static functions
* Convert RegexUtil into static functions
* Convert StringUtil into static functions
* Convert ArrayBufferUtil into static functions
* Convert AnkiUtil into static functions
* Convert PermissionsUtil into static functions
* Convert ProfileConditionsUtil into static functions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Set up new deinflection data file
* Define types
* Test
* Add internal types
* Set up loading for transforms
* Add getPartOfSpeechFlags
* Convert static methods
* Add note
* Add transform function
* Update trace structure
* Add a language tag to the language transform descriptor
* Add clear function
* Add function for multiple parts of speech
* Clarify naming
* Add getConditionFlagsFromConditionType
* Add plural function
* Replace usages of Deinflector
* Update tests
* Update config
* Remove old
* Rename
* Rename files
|
|
|
|
|
|
|
|
|
|
|
| |
content (#556)
* Allow `clip-path` and `background` styles in structured content
* Allow `text-emphasis` style in structured content
---------
Co-authored-by: stephenmk <stephenmk@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Copy functions from JapaneseUtil
* Remove JapaneseUtil
* Update usages of JapaneseUtil functions
* add tests
* Copy functions from JapaneseUtil
* Remove JapaneseUtil
* Update usages of JapaneseUtil functions
---------
Co-authored-by: toasted-nutbread <toasted-nutbread@users.noreply.github.com>
Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* update tests
* refactor types
* relocate test cases
* indentation
* fix
* fix lint
* fix
* fix lint
|
|
|
|
|
|
|
| |
* Copy functions from JapaneseUtil
* Remove JapaneseUtil
* Update usages of JapaneseUtil functions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add ReasonRaw
* Set up cycle checks
* Use Deinflector.rulesMatch
* Remove checkRules
* Use Deinflector.rulesMatch
* Convert to test
* Rename
* Rename
|
|
|
|
|
|
|
|
|
| |
* Add border styling options for structured content images
* Replace border style, width, and color properties with shorthand
---------
Co-authored-by: stephenmk <stephenmk@users.noreply.github.com>
|
|
|
|
|
| |
* Fix Ajv validation warning
* Add test
|
|
|
|
|
| |
* Install eslint-plugin-eslint-comments
* Update rules, fix issues
|
|
|
|
|
| |
* fix deinflection bug
* add test
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update copyright year
* Update lib files
* Rebase updates
* Update dates
* Update years to range
* Update permitted pattern
|
|
|
|
|
| |
* Fix args issues in regex functions
* Add tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* wip
* wip
* fix v3
* wip
* fix tests
* fix maxitems
* hide deinflection definitions
* fix anki template
* undo unnecessary change
* delete console.log
* refactor
* add set false to handlebars
* lint
* fix tests
* fix comments
* fix
* use Map in areArraysEqualIgnoreOrder
* move inflection source icons to css
* lint
* improve naming
* fix tests
* add test
* typescript
* use for of
* wip
* comments
* anki template upgrade
* update descriptions
|
|
|
| |
Co-authored-by: stephenmk <stephenmk@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
| |
* test updates
* remove duplicate
* fix indentation
* fix
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* pos filter wip
* add part of speech filter option
* add part of speech filter option
* remove from deinflector
* update test
* remove return
* tie to dictionary
* duplicate to welcome page
* delete unused html
* fix ts
* typo
|
|
|
|
|
|
|
| |
* update tests
* japanese-util updates
* update json-schema tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* data-* to json
* update tests
* fix tests
* fix tests
* test fixes
* fix types
* fix types
|
|
|
|
|
| |
* fix document-util tests
* fix unintentional line deletion
|
|
|
|
|
| |
* remove redundancy
* fix lint
|
|
|
|
|
| |
* Update vitest dependencies
* Fix issues
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Initial changes
* Move test
* Disable async
* Add createCustomDataTest
* Move test case data to JSON file
* Update tests
* Cleanup
* Simplify
* Add dedicated test for database clearing
* Remove previous clear testing
* Remove unused test function
* Update values
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add search resolution setting
* move finding next substring to method
* use regex literal
* fix comments
* fix comments
* add options update function
* update test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* move dictionary files to dictionary folder
* wip
* move dictionary files to dictionary folder
* add ipa term meta
* wip
* fixing comments wip
* fixing comments wip
* fixing comments wip
* fixing comments wip
* fixing comments wip
* fixing comments wip
* fix comments
* fix comments
* update test data
* fix gitignore
* engines
* add tests
* update database test
* fix test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
content (#450)
* Add support for more HTMl attributes and style declarations
* Update test term to use new `margin` property
* Allow string values for 'padding' and 'margin' properties
* Remove newly added default 'unset' values from term bank schema
---------
Co-authored-by: stephenmk <stephenmk@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* style updates
* style updates
* style updates
* revert changes to dev/lib/handlebars
* revert changes to dev/lib/handlebars
* revert changes to dev/lib/handlebars
|
| |
|
|
|
|
|
| |
* Update whitespace rules
* Typescript rules
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Add support for alt attribute on structured content images
* Add new `alt` property for structured content images
* Update test script with new media file count
---------
Co-authored-by: stephenmk <stephenmk@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
| |
* Deinflect できる to する
* Unit test できる→する deinflection
* Deinflect 出来る to する
---------
Co-authored-by: Tom Dong <tomtung@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Rename test
* Refactor
* Create new dictionary-data.test.js
* Move utility functions
* Remove old tests
* Slight refactor
* Add command to rebuild test data
* Clarify name
* Don't expect in write mode
* Ignore config file
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Set up JSON testing
* Add schema validation
* Use parseJson
* Finish types
* Disambiguate ext/json-schema from node dependency with the same name
* Add support for specifying the jsconfig file
* Don't expose types
* Update types
* Use dictionary map type
* Fix types
* Fix AJV warnings
* Move types
* Move anb rename file
* Move common mocks
* Simplify types
|