aboutsummaryrefslogtreecommitdiff
path: root/test/language
diff options
context:
space:
mode:
authorStefanVukovic99 <stefanvukovic44@gmail.com>2024-06-03 19:25:51 +0200
committerGitHub <noreply@github.com>2024-06-03 17:25:51 +0000
commit7955fc85ac089d856b44bdea78eccd26ffbd690c (patch)
tree6a7cfc6464612f9f129b25fa59a46f9c7c0e72b5 /test/language
parentd2fce502ecb00e3c9202295c93fbb8c554ddbd69 (diff)
display inflection rule descriptions (#1000)24.6.3.0
* load descriptions in deinflector * description functions in deinflectors * show descriptions in title * use toaster * use names without internal * css lint * reformat transform descriptors * fix merge errors * done? * rename method
Diffstat (limited to 'test/language')
-rw-r--r--test/language/japanese-transforms.test.js46
1 files changed, 23 insertions, 23 deletions
diff --git a/test/language/japanese-transforms.test.js b/test/language/japanese-transforms.test.js
index 64d935d5..d0ff131e 100644
--- a/test/language/japanese-transforms.test.js
+++ b/test/language/japanese-transforms.test.js
@@ -1108,65 +1108,65 @@ const tests = [
category: '-ku stem of kansai-ben adjectives',
valid: true,
tests: [
- {term: '宜しい', source: '宜しゅう', rule: null, reasons: ['adv', 'kansai-ben']},
- {term: 'よろしい', source: 'よろしゅう', rule: null, reasons: ['adv', 'kansai-ben']},
- {term: '良い', source: '良う', rule: null, reasons: ['adv', 'kansai-ben']},
- {term: 'よい', source: 'よう', rule: null, reasons: ['adv', 'kansai-ben']},
+ {term: '宜しい', source: '宜しゅう', rule: null, reasons: ['adv', 'kansai-ben -ku']},
+ {term: 'よろしい', source: 'よろしゅう', rule: null, reasons: ['adv', 'kansai-ben -ku']},
+ {term: '良い', source: '良う', rule: null, reasons: ['adv', 'kansai-ben -ku']},
+ {term: 'よい', source: 'よう', rule: null, reasons: ['adv', 'kansai-ben -ku']},
],
},
{
category: '-te form of kansai-ben adjectives',
valid: true,
tests: [
- {term: 'よろしい', source: 'よろしゅうて', rule: null, reasons: ['-te', 'kansai-ben']},
- {term: '宜しい', source: '宜しゅうて', rule: null, reasons: ['-te', 'kansai-ben']},
- {term: 'よい', source: 'ようて', rule: null, reasons: ['-te', 'kansai-ben']},
- {term: '良い', source: '良うて', rule: null, reasons: ['-te', 'kansai-ben']},
+ {term: 'よろしい', source: 'よろしゅうて', rule: null, reasons: ['-te', 'kansai-ben adjective -te']},
+ {term: '宜しい', source: '宜しゅうて', rule: null, reasons: ['-te', 'kansai-ben adjective -te']},
+ {term: 'よい', source: 'ようて', rule: null, reasons: ['-te', 'kansai-ben adjective -te']},
+ {term: '良い', source: '良うて', rule: null, reasons: ['-te', 'kansai-ben adjective -te']},
],
},
{
category: 'Negative form of kansai-ben adjectives',
valid: true,
tests: [
- {term: 'よろしい', source: 'よろしゅうない', rule: null, reasons: ['negative', 'kansai-ben']},
- {term: '宜しい', source: '宜しゅうない', rule: null, reasons: ['negative', 'kansai-ben']},
- {term: 'よい', source: 'ようない', rule: null, reasons: ['negative', 'kansai-ben']},
- {term: '良い', source: '良うない', rule: null, reasons: ['negative', 'kansai-ben']},
+ {term: 'よろしい', source: 'よろしゅうない', rule: null, reasons: ['negative', 'kansai-ben adjective negative']},
+ {term: '宜しい', source: '宜しゅうない', rule: null, reasons: ['negative', 'kansai-ben adjective negative']},
+ {term: 'よい', source: 'ようない', rule: null, reasons: ['negative', 'kansai-ben adjective negative']},
+ {term: '良い', source: '良うない', rule: null, reasons: ['negative', 'kansai-ben adjective negative']},
],
},
{
category: 'Negative form of kansai-ben verbs',
valid: true,
tests: [
- {term: '食べる', source: '食べへん', rule: null, reasons: ['negative', 'kansai-ben']},
- {term: '食べる', source: '食べへんかった', rule: null, reasons: ['negative', 'past', 'kansai-ben']},
+ {term: '食べる', source: '食べへん', rule: null, reasons: ['negative', 'kansai-ben negative']},
+ {term: '食べる', source: '食べへんかった', rule: null, reasons: ['negative', 'past', 'kansai-ben negative']},
],
},
{
category: '-te form of kansai-ben verbs',
valid: true,
tests: [
- {term: '買う', source: '買うて', rule: null, reasons: ['-te', 'kansai-ben']},
- {term: 'かう', source: 'こうて', rule: null, reasons: ['-te', 'kansai-ben']},
- {term: 'はう', source: 'ほうて', rule: null, reasons: ['-te', 'kansai-ben']},
+ {term: '買う', source: '買うて', rule: null, reasons: ['-te', 'kansai-ben -te']},
+ {term: 'かう', source: 'こうて', rule: null, reasons: ['-te', 'kansai-ben -te']},
+ {term: 'はう', source: 'ほうて', rule: null, reasons: ['-te', 'kansai-ben -te']},
],
},
{
category: 'past form of kansai-ben terms',
valid: true,
tests: [
- {term: '買う', source: '買うた', rule: null, reasons: ['past', 'kansai-ben']},
- {term: 'かう', source: 'こうた', rule: null, reasons: ['past', 'kansai-ben']},
- {term: 'はう', source: 'ほうた', rule: null, reasons: ['past', 'kansai-ben']},
+ {term: '買う', source: '買うた', rule: null, reasons: ['past', 'kansai-ben past']},
+ {term: 'かう', source: 'こうた', rule: null, reasons: ['past', 'kansai-ben past']},
+ {term: 'はう', source: 'ほうた', rule: null, reasons: ['past', 'kansai-ben past']},
],
},
{
category: '-tara form of kansai-ben terms',
valid: true,
tests: [
- {term: '買う', source: '買うたら', rule: null, reasons: ['-tara', 'kansai-ben']},
- {term: 'かう', source: 'こうたら', rule: null, reasons: ['-tara', 'kansai-ben']},
- {term: 'はう', source: 'ほうたら', rule: null, reasons: ['-tara', 'kansai-ben']},
+ {term: '買う', source: '買うたら', rule: null, reasons: ['-tara', 'kansai-ben -tara']},
+ {term: 'かう', source: 'こうたら', rule: null, reasons: ['-tara', 'kansai-ben -tara']},
+ {term: 'はう', source: 'ほうたら', rule: null, reasons: ['-tara', 'kansai-ben -tara']},
],
},
];