summaryrefslogtreecommitdiff
path: root/test/test-japanese.js
Commit message (Collapse)AuthorAge
* Move mixed/lib/ to lib/ (#1382)toasted-nutbread2021-02-13
|
* Update copyright year (#1194)toasted-nutbread2021-01-01
| | | | | * Update copyright year * Remove redundant Author info
* Furigana distribution improvements (#1157)toasted-nutbread2020-12-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Improve furigana when reading kana is not an exact match * Simplify group structure * Return consistent type * Add more tests * Remove redundant isAmbiguous assignment * Simplify group usage * Add helper function * Optimize returned arrays * Use variable * Remove s(p)lice calls * Reduce number of convertKatakanaToHiragana calls * Optimize text length access * Optimize reading substring * Move segmentize to a separate function * Use var * Use _createFuriganaSegment * Optimize distributeFuriganaInflected
* JapaneseUtil normalization (#1076)toasted-nutbread2020-11-29
| | | | | * Use JapaneseUtil as a class which is manually instantiated * Use alias function for toKana
* Frequencies marker (#1074)toasted-nutbread2020-11-28
| | | | | | | | | | | * Update japanese.js tests * Simplify fallback/early exit * Add overloads to furigana and furiganaPlain handlebars helper functions * Expose unique expression/reading arrays (and subsequently counts) * Add {frequencies} marker
* Return an error code when promise main() functions fail (#1002)toasted-nutbread2020-11-07
|
* Dev/test script organization (#846)toasted-nutbread2020-09-19
| | | | | | | | | | | | | | | | | | | * Move lint scripts * Move dictionary-validate.js * Move schema-validate.js * Move createTestDictionaryArchive, remove yomichan-test.js * Rename yomichan-util.js to util.js * Move test/yomichan-vm.js to dev/vm.js * Move getArgs into util.js (and fix name) * Create test-all.js * Update test-code script
* Japanese util refactor (#510)toasted-nutbread2020-05-06
| | | | | | | | | | | * Convert mixed japanese.js to utility class * Copy functions from bg/js/japanese.js into mixed/js/japanese.js * Remove bg/js/japanese.js * Make wanakana dependency optional * Update tests
* Update teststoasted-nutbread2020-04-22
|
* remove "fragment" from jp.convertReading variablessiikamiika2020-04-13
|
* assume and propagate strings for text parsingsiikamiika2020-04-13
|
* Merge pull request #440 from toasted-nutbread/collapse-emphatic-sequencestoasted-nutbread2020-04-12
|\ | | | | Add support for collapsing emphatic character sequences
| * Add tests, remove logstoasted-nutbread2020-04-11
| |
| * Add teststoasted-nutbread2020-04-10
| |
* | 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 :)
* Merge pull request #423 from toasted-nutbread/text-source-maptoasted-nutbread2020-04-05
|\ | | | | Text source map
| * Create simplified source map classtoasted-nutbread2020-03-28
| |
* | Move Japanese utility functions out of display-generator.jstoasted-nutbread2020-03-28
|/
* Add more tests for convertReadingtoasted-nutbread2020-03-21
|
* Move basic string/character testing functions into a mixed/js/japanese.jstoasted-nutbread2020-03-21
|
* Add unit teststoasted-nutbread2020-03-15