Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

Commit

Permalink
Add additional vz deinflection rule (#1367)
Browse files Browse the repository at this point in the history
  • Loading branch information
toasted-nutbread authored Feb 13, 2021
1 parent 98975d5 commit f70464e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ext/bg/lang/deinflect.json
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,7 @@
],
"potential or passive": [
{"kanaIn": "られる", "kanaOut": "", "rulesIn": ["v1"], "rulesOut": ["v1"]},
{"kanaIn": "ざれる", "kanaOut": "ずる", "rulesIn": ["v1"], "rulesOut": ["vz"]},
{"kanaIn": "ぜられる", "kanaOut": "ずる", "rulesIn": ["v1"], "rulesOut": ["vz"]},
{"kanaIn": "せられる", "kanaOut": "する", "rulesIn": ["v1"], "rulesOut": ["vs"]},
{"kanaIn": "為られる", "kanaOut": "為る", "rulesIn": ["v1"], "rulesOut": ["vs"]},
Expand Down
1 change: 1 addition & 0 deletions test/test-deinflector.js
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,7 @@ function testDeinflections() {
{term: '論ずる', source: '論じました', rule: 'vz', reasons: ['polite past']},
{term: '論ずる', source: '論じて', rule: 'vz', reasons: ['-te']},
{term: '論ずる', source: '論ぜられる', rule: 'vz', reasons: ['potential or passive']},
{term: '論ずる', source: '論ざれる', rule: 'vz', reasons: ['potential or passive']},
{term: '論ずる', source: '論じされる', rule: 'vz', reasons: ['passive']},
{term: '論ずる', source: '論ぜされる', rule: 'vz', reasons: ['passive']},
{term: '論ずる', source: '論じさせる', rule: 'vz', reasons: ['causative']},
Expand Down

0 comments on commit f70464e

Please sign in to comment.