Skip to content

Commit

Permalink
Update jpn.morpho.mjs
Browse files Browse the repository at this point in the history
fix verb type mismatched bugs that ends with げる
  • Loading branch information
shilik authored Oct 19, 2023
1 parent 818daed commit bd7bae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jpn/jpn.morpho.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ function __jslinguaJpnStemmer(word) {
//==========================================

function __getVerbType(verb){
 if (/(.)()$/g.test(verb)) return VType.V1;
 if (/(.)(|)$/g.test(verb)) return VType.V1;
if (/(|||||)$/g.test(verb)) return VType.V1;
if (/(|)$/g.test(verb)) return VType.V1;
 if (/(||)$/g.test(verb)) return VType.SK;
Expand Down

0 comments on commit bd7bae5

Please sign in to comment.