diff options
author | Cashew <52880648+Scrub1492@users.noreply.github.com> | 2024-02-04 14:04:17 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-04 07:04:17 +0000 |
commit | 63a381743de94d2487a929cd3ef3f15e8166be0e (patch) | |
tree | 36c559019024bab851ac405a1a0969843380694e /test/data | |
parent | ea53ab5c59b33a30ab3cfb92c3a8a7624ab7f3ae (diff) |
Deinflect Json overhaul (#433)
* 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
Diffstat (limited to 'test/data')
-rw-r--r-- | test/data/anki-note-builder-test-results.json | 2 | ||||
-rw-r--r-- | test/data/translator-test-results-note-data1.json | 7 | ||||
-rw-r--r-- | test/data/translator-test-results.json | 7 |
3 files changed, 15 insertions, 1 deletions
diff --git a/test/data/anki-note-builder-test-results.json b/test/data/anki-note-builder-test-results.json index 07b3182d..526beec7 100644 --- a/test/data/anki-note-builder-test-results.json +++ b/test/data/anki-note-builder-test-results.json @@ -3232,7 +3232,7 @@ "cloze-body": "のたもうた", "cloze-prefix": "cloze-prefix", "cloze-suffix": "cloze-suffix", - "conjugation": "past", + "conjugation": "<ul><li>past</li><li>past « kansai-ben</li></ul>", "dictionary": "Test Dictionary 2", "document-title": "title", "expression": "のたまう", diff --git a/test/data/translator-test-results-note-data1.json b/test/data/translator-test-results-note-data1.json index 610bb451..510b1bb5 100644 --- a/test/data/translator-test-results-note-data1.json +++ b/test/data/translator-test-results-note-data1.json @@ -29913,6 +29913,13 @@ "inflectionRules": [ "past" ] + }, + { + "source": "algorithm", + "inflectionRules": [ + "past", + "kansai-ben" + ] } ], "score": 1, diff --git a/test/data/translator-test-results.json b/test/data/translator-test-results.json index 8cf257ff..2b43e4bc 100644 --- a/test/data/translator-test-results.json +++ b/test/data/translator-test-results.json @@ -16893,6 +16893,13 @@ "inflectionRules": [ "past" ] + }, + { + "source": "algorithm", + "inflectionRules": [ + "past", + "kansai-ben" + ] } ], "score": 1, |