aboutsummaryrefslogtreecommitdiff
path: root/test/data/translator-test-results-note-data1.json
Commit message (Collapse)AuthorAge
* Add eslint eol-last rule (#662)Cashew2024-02-10
| | | | | | | * add eol-last eslint rule * fix lint * update css-json.test
* Add cloze-body-kana handlebar (#650)Kuuuube2024-02-08
| | | | | * Add cloze-body-kana handlebar * Convert if else to ternary
* allow inflection rule chains with "polite" (#627)StefanVukovic992024-02-04
| | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Deinflect Json overhaul (#433)Cashew2024-02-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 frequency number handlebars (#600)Kuuuube2024-02-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* add translator text transformation tests (#565)StefanVukovic992024-01-28
| | | | | | | | | | | | | | | | | | | | * 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>
* Dictionary deinflections (#503)StefanVukovic992024-01-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* add phonetic transcriptions term meta type (#434)StefanVukovic992023-12-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Add JSDoc type annotations to project (rebased)toasted-nutbread2023-11-27
|
* Update structured content tests (#2134)toasted-nutbread2022-05-14
|
* Update anki card frequency (#2065)toasted-nutbread2022-02-05
| | | | | * Prefer to use displayValue for Anki card frequency values * Update test data
* String frequency support (#1989)toasted-nutbread2021-10-14
| | | | | | | | | | | | | | | | | | | | | | | | | * Restore support for string frequency values * Add support for {value, displayValue} frequencies * Update test data * Improve number parsing of string frequencies * Improve reading detection * Expose a displayValue property for frequency information * Update docs * Expose displayValue to Anki note data * Fix translator * Update display generation * Update test data * Update counts
* Update pronunciation anki templates (#1842)toasted-nutbread2021-07-18
| | | | | | | | | * Update anki pronunciation templates * Expose nasalPositions/devoicePositions * Update templates to support nasal/devoice positions * Update test data
* Update valid-dictionary1 data (#1841)toasted-nutbread2021-07-18
| | | | | | | * Add example definitions for pronunciation metadata * Update counts * Update tests
* Template renderer media updates (#1802)toasted-nutbread2021-07-06
| | | | | | | | | | | | | | | | | * Add TemplateRendererMediaProvider to abstract media-related functionality * Update representation of injected media * Update templates * Update upgrade file * Update tests * Update test data * Force media to be an object * Update test data
* Update test valid dictionaries (#1688)toasted-nutbread2021-05-18
| | | | | | | | | | | * Update test data for valid-dictionary1 * Use valid-dictionary1 instead of valid-dictionary2 * Update test data * Remove test of valid-dictionary2 * Remove valid-dictionary2 data
* Expose search query to anki template renderer (#1686)toasted-nutbread2021-05-17
| | | | | | | | | | | * Expose query and fullQuery to Anki context * Add {search-query} marker * Update test data * Update tests * Wrap search query in multiLine
* Improve source term exact match count (#1674)toasted-nutbread2021-05-14
| | | | | * Update sourceTermExactMatchCount to be based on headword count * Update tests
* Remove redundant dictionary entry sequence (#1618)toasted-nutbread2021-04-18
| | | | | | | | | * Remove sequence/sequenceDictionary from dictionary entry objects * Expose isPrimary on definitions * Update sequence * Update test data
* Improve dictionary sequence info (#1617)toasted-nutbread2021-04-18
| | | | | | | | | | | * Ensure negative sequence is always -1 * Expose sequence on definition objects * Update how sequence is exposed for definitions * Update test data * Update TS docs
* Improve term dictionary entry sequence (#1591)toasted-nutbread2021-04-03
| | | | | | | | | | | * 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 (#1561)toasted-nutbread2021-03-26
| | | | | | | | | | | | | | | | | | | * 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
* Refactor Translator and dictionary entry format (#1553)toasted-nutbread2021-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Remove node data for 'simple' mode, since this is never used (#1538)toasted-nutbread2021-03-17
|
* Fix incorrect mode in translator test (#1537)toasted-nutbread2021-03-17
|
* Improve translator test data (#1531)toasted-nutbread2021-03-15
* Organize files * Split translator test data into two files * Add test for AnkiNoteData