diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2024-01-31 08:28:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-31 13:28:05 +0000 |
commit | 3e419aa562aab03ca20421aaf7e4d1a39194a5b4 (patch) | |
tree | 15e8bfe81fa5e3fae55e54802f14d94a7502a469 /test/data | |
parent | 6807b05e9bd41f013364fae0cbcce83cf1ed37b6 (diff) |
Language transformer (#582)
* 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
Diffstat (limited to 'test/data')
-rw-r--r-- | test/data/json.json | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/data/json.json b/test/data/json.json index 83b1b4e0..fe7df57d 100644 --- a/test/data/json.json +++ b/test/data/json.json @@ -30,11 +30,6 @@ "type": "ManifestConfig" }, { - "path": "ext/data/deinflect.json", - "typeFile": "types/ext/deinflector.d.ts", - "type": "ReasonsRaw" - }, - { "path": "ext/data/pronunciation-style.json", "typeFile": "types/ext/css-style-applier.d.ts", "type": "RawStyleData" @@ -95,6 +90,11 @@ "type": "AjvSchema" }, { + "path": "ext/data/language/japanese-transforms.json", + "typeFile": "types/ext/language-transformer.d.ts", + "type": "LanguageTransformDescriptor" + }, + { "path": "test/data/translator-test-inputs.json", "typeFile": "types/test/translator.d.ts", "type": "TranslatorTestInputs", |