aboutsummaryrefslogtreecommitdiff
path: root/test/data/translator-test-inputs.json
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/translator-test-inputs.json')
-rw-r--r--test/data/translator-test-inputs.json75
1 files changed, 75 insertions, 0 deletions
diff --git a/test/data/translator-test-inputs.json b/test/data/translator-test-inputs.json
index ce449c1e..588929de 100644
--- a/test/data/translator-test-inputs.json
+++ b/test/data/translator-test-inputs.json
@@ -352,6 +352,81 @@
"mode": "split",
"text": "のたもうた",
"options": "default"
+ },
+ {
+ "name": "Test text transformations - convertNumericCharacters",
+ "func": "findTerms",
+ "mode": "split",
+ "text": "39",
+ "options": [
+ "default",
+ {
+ "convertNumericCharacters": "true",
+ "removeNonJapaneseCharacters": false
+ }
+ ]
+ },
+ {
+ "name": "Test text transformations - convertAlphabeticCharacters",
+ "func": "findTerms",
+ "mode": "split",
+ "text": "utsu",
+ "options": [
+ "default",
+ {
+ "convertAlphabeticCharacters": "true",
+ "removeNonJapaneseCharacters": false
+ }
+ ]
+ },
+ {
+ "name": "Test text transformations - convertKatakanaToHiragana",
+ "func": "findTerms",
+ "mode": "split",
+ "text": "ウツ",
+ "options": [
+ "default",
+ {
+ "convertKatakanaToHiragana": "true"
+ }
+ ]
+ },
+ {
+ "name": "Test text transformations - convertHiraganaToKatakana",
+ "func": "findTerms",
+ "mode": "split",
+ "text": "てきすと",
+ "options": [
+ "default",
+ {
+ "convertHiraganaToKatakana": "true"
+ }
+ ]
+ },
+ {
+ "name": "Test text transformations - convertHalfWidthCharacters, convertKatakanaToHiragana",
+ "func": "findTerms",
+ "mode": "split",
+ "text": "ウツ",
+ "options": [
+ "default",
+ {
+ "convertHalfWidthCharacters": "true",
+ "convertKatakanaToHiragana": "true"
+ }
+ ]
+ },
+ {
+ "name": "Test text transformations - collapseEmphaticSequences",
+ "func": "findTerms",
+ "mode": "split",
+ "text": "すっっごーーい",
+ "options": [
+ "default",
+ {
+ "collapseEmphaticSequences": "full"
+ }
+ ]
}
]
} \ No newline at end of file