aboutsummaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2024-01-31 08:28:05 -0500
committerGitHub <noreply@github.com>2024-01-31 13:28:05 +0000
commit3e419aa562aab03ca20421aaf7e4d1a39194a5b4 (patch)
tree15e8bfe81fa5e3fae55e54802f14d94a7502a469 /dev
parent6807b05e9bd41f013364fae0cbcce83cf1ed37b6 (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 'dev')
-rw-r--r--dev/jsconfig.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/dev/jsconfig.json b/dev/jsconfig.json
index c0ff07d0..db38b6df 100644
--- a/dev/jsconfig.json
+++ b/dev/jsconfig.json
@@ -18,7 +18,6 @@
"core": ["../types/ext/core"],
"css-style-applier": ["../types/ext/css-style-applier"],
"database": ["../types/ext/database"],
- "deinflector": ["../types/ext/deinflector"],
"dictionary": ["../types/ext/dictionary"],
"dictionary-data": ["../types/ext/dictionary-data"],
"dictionary-data-util": ["../types/ext/dictionary-data-util"],
@@ -30,6 +29,8 @@
"event-listener-collection": ["../types/ext/event-listener-collection"],
"japanese-util": ["../types/ext/japanese-util"],
"ext/json-schema": ["../types/ext/json-schema"],
+ "language-transformer": ["../types/ext/language-transformer"],
+ "language-transformer-internal": ["../types/ext/language-transformer-internal"],
"log": ["../types/ext/log"],
"settings": ["../types/ext/settings"],
"structured-content": ["../types/ext/structured-content"],
@@ -64,7 +65,7 @@
"../ext/js/general/cache-map.js",
"../ext/js/general/regex-util.js",
"../ext/js/general/text-source-map.js",
- "../ext/js/language/deinflector.js",
+ "../ext/js/language/language-transformer.js",
"../ext/js/dictionary/dictionary-importer.js",
"../ext/js/dictionary/dictionary-database.js",
"../ext/js/dictionary/dictionary-data-util.js",