Skip to content

Commit

Permalink
Merge branch 'main' into patch-3
Browse files Browse the repository at this point in the history
  • Loading branch information
kariminf authored Oct 17, 2023
2 parents 0a2bf9a + 1090067 commit 176d47b
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions src/jpn/jpn.morpho.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,27 @@ class JpnMorpho extends Morpho {
desc: "Potential",
mood: Morpho.Mood.Pot
},
"pass": {// I can go
"pres_pass": {// someone goes and causes me to get into trouble
desc: "Passive",
voice: Morpho.Voice.P,
tense: Morpho.Tense.Pr
},
"caus_pass": {// I can go
"past_pass": {// someone goes and causes me to get into trouble
desc: "Passive",
voice: Morpho.Voice.P,
tense: Morpho.Tense.Pa
},
"pres_caus_pass": {// I am forced to go
desc: "Causative Passive",
voice: Morpho.Voice.P,
tense: Morpho.Tense.Pr,
cause: 1
},
"past_caus_pass": {// I was forced to go
desc: "Causative Passive",
voice: Morpho.Voice.P,
tense: Morpho.Tense.Pa,
cause: 1
}
};
};
Expand Down Expand Up @@ -412,7 +423,7 @@ function __getVerbType(verb){
}

{//If it ends with these; it is Godan
let v5r = /(|||||||||||||)$/g;
let v5r = /(||||||||||||)$/g;
if (v5r.test(verb) || ruV5List[bend]) return VType.V5;
}

Expand Down

0 comments on commit 176d47b

Please sign in to comment.