summaryrefslogtreecommitdiff
path: root/test/data
Commit message (Collapse)AuthorAge
* Improve source term exact match count (#1674)toasted-nutbread2021-05-14
| | | | | * Update sourceTermExactMatchCount to be based on headword count * Update tests
* Improve term grouping (#1653)toasted-nutbread2021-05-08
| | | | | | | | | | | | | | | * 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
* Translator alphanumeric improvement (#1635)toasted-nutbread2021-04-28
| | | | | * Simplify alphanumeric check * Update option name for clarity
* 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
* Fix incorrect sorting (#1557)toasted-nutbread2021-03-25
| | | | | | | * Sort by the maximum length of transformedText instead of deinflectedText * Update docs * Update tests
* 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
* Update simple test (#1551)toasted-nutbread2021-03-23
| | | | | * Test null for simple mode * Update test data
* Test AnkiNoteBuilder (#1550)toasted-nutbread2021-03-23
| | | | | * Add test for AnkiNoteBuilder * Add test data
* 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
|
* Fix invalid commas in HTML (#1533)toasted-nutbread2021-03-15
|
* Improve translator test data (#1531)toasted-nutbread2021-03-15
| | | | | | | * Organize files * Split translator test data into two files * Add test for AnkiNoteData
* Refactor term frequency data (#1503)toasted-nutbread2021-03-07
| | | | | | | | | | | * Add getTermFrequency * Update DisplayGenerator to use getTermFrequency * Remove termFrequency from Translator data * Backwards compatibility * Update tests
* Refactor furigana segment data (#1502)toasted-nutbread2021-03-07
| | | | | | | | | | | * Remove redundant language assignment * Segment furigana from DisplayGenerator * Remove furiganaSegments from translator data * Add backwards compatibility for furiganaSegments * Update tests
* Split dictionary order and index sorting (#1491)toasted-nutbread2021-03-06
| | | | | | | | | * Refactor expression comparison * Rename function * Add dictionary index sorting * Update test data
* Translator refactor (#1473)toasted-nutbread2021-03-01
| | | | | | | | | | | | | * 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
* Improve definition ordering (#1456)toasted-nutbread2021-02-27
| | | | | | | * Update dictionary priority * Replace dictionaryPriority with dictionaryOrder * Update tests
* Improve term meta ordering (#1455)toasted-nutbread2021-02-27
| | | | | | | | | | | | | | | | | | | * 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
* Header lint (#1444)toasted-nutbread2021-02-25
| | | | | | | | | * Add eslint-plugin-header * Add rule for header format * Add missing header * Fix header issues
* Fix translation regex replacements (#1423)toasted-nutbread2021-02-19
| | | | | | | * Fix regex replacements having issues at the start of scanned text * Fix test cases * Add tests
* Html lint (#1336)toasted-nutbread2021-01-30
| | | | | | | | | | | | | | | | | | | | | | | * Move style rules * Fix non-unique IDs * Remove erroneous ids * Add title * Fix invalid closing tag * Install html-validate * Add .htmlvalidate.json * Update HTML and styles * Add test-lint-html * Update test files * Update test-lint-html/css commands to have more explicit targets
* Remove the dictionary tag from the definitionTags (#1324)toasted-nutbread2021-01-28
| | | | | | | | | | | * Remove dictionary tag from term definitionTags and kanji tags * Update test data * Update templates * Update tests * Update information
* Refactor sentence parsing (#1215)toasted-nutbread2021-01-09
| | | | | | | | | | | | | * Rename sentenceExtent with sentenceScanExtent * Update TextScanner.setOptions * Change function argument order * Rename quote map variables * Fix edge case quote handling * Update terminator maps to support character inclusion
* Refactor sentence scanning (#1213)toasted-nutbread2021-01-09
| | | | | | | | | * Update tests * Update extractSentence implementation * Remove old extractSentence implementation * Optimize maps/sets
* CSS lint (#1201)toasted-nutbread2021-01-03
| | | | | | | | | | | | | * Use single quotes instead of double * Install stylelint * Set up config * Update package/tests * Fix lint issues * Update CSS rules
* Translator regex replacements (#1199)toasted-nutbread2021-01-03
| | | | | | | | | | | | | | | | | | | * Add support for regex replacements during the translation process * Allow assignment of textReplacements * Rename * Set up test data * Write expected data * Set up options * Prevent infinite loop if regex matches empty string * Implement setting controller * Add support for testing pattern replacements
* Translator frequency data improvements (#1184)toasted-nutbread2020-12-30
| | | | | | | * Specify if a frequency has a specific reading * Make frequency data creation more standardized * Update test data
* Update termTags for termGrouped mode to include all definition tags (#1138)toasted-nutbread2020-12-19
| | | | | * Update termTags for termGrouped mode to include all definition tags * Update tests
* Database test updates (#1086)toasted-nutbread2020-12-08
| | | | | | | | | | | | | | | * Remove unused * Create DatabaseVM * Update sequences in test dictionary * Update documentation * Add second valid testing dictionary * Set up translator tests * Write expected data
* Add tests for data: and blob: iframe URLs (#757)toasted-nutbread2020-08-24
|
* XMLDocument handling (#738)toasted-nutbread2020-08-22
| | | | | | | * Add tests for SVGs * Add more null checks for Frontend._popup * Use null popup when on an XMLDocument
* Simplify shadow test and add an open shadow DOM test (#533)toasted-nutbread2020-05-10
|
* Text scanning update (#507)toasted-nutbread2020-05-06
| | | | | * Fix unity test missing a parameter * Update docSentenceExtract to not rescan content
* Dom text scanner fixes (#505)toasted-nutbread2020-05-06
| | | | | | | | | * Fix test case * Add test-dom-text-scanner * Ensure that DOMTextScanner._node never becomes null * Add remainder
* DOMTextScanner (#458)toasted-nutbread2020-05-02
| | | | | | | * Create new class for scanning text in a document * Update test styles * Add tests
* Add teststoasted-nutbread2020-04-18
|
* add manual performance testssiikamiika2020-04-18
|
* support iframes inside open shadow domsiikamiika2020-04-18
|
* Add support for filtering frequency metadata based on readingstoasted-nutbread2020-04-11
|
* Merge pull request #385 from toasted-nutbread/pitch-accentstoasted-nutbread2020-04-05
|\ | | | | Pitch accents
| * Update dictionary schema to support pitch accent datatoasted-nutbread2020-03-28
| |
* | Add allowfullscreen="true"toasted-nutbread2020-04-04
| |
* | Create some tests for fullscreen elements, <iframe>s, and shadow DOMstoasted-nutbread2020-04-04
|/
* Test seeking functionstoasted-nutbread2020-02-22
|
* Add some basic document teststoasted-nutbread2020-02-22
|
* Add some basic invalid dictionaries to testtoasted-nutbread2020-02-22
|
* Update location of test dictionary datatoasted-nutbread2020-02-22