commit ce26ced211157cbf8d9b4490e294bbd83c48dcae Author: Eiji Miyamoto Date: Sun Jul 30 12:05:32 2023 +0100 deleted do noun as it is too ambiguous and added some rules to choose proper det tag diff --git a/apertium-jpn.jpn.lexc b/apertium-jpn.jpn.lexc index 0f38aee..efcd385 100644 --- a/apertium-jpn.jpn.lexc +++ b/apertium-jpn.jpn.lexc @@ -42535,7 +42535,6 @@ LEXICON NounRoot トーナメント:トーナメント NounTag ; トーン:トーン NounTag ; 度:度 NounTag ; -ど:ど NounTag ; ドア:ドア NounTag ; 度合い:度合い NounTag ; どあい:どあい NounTag ; @@ -395578,7 +395577,6 @@ LEXICON VerbRoot 型どったり:型どったり UVerbInflCP ; 型どっちゃ:型どっちゃ UVerbInflCP ; 型どりゃ:型どりゃ UVerbInflCP ; -象:象 UVerbInflCP ; 象る:象る UVerbInflCP ; 象ら:象ら UVerbInflCP ; 象ろう:象ろう UVerbInflCP ; @@ -477854,7 +477852,6 @@ LEXICON VerbRoot どうず:どうず UVerbInflCP ; どうぜ:どうぜ UVerbInflCP ; どうじろ:どうじろ UVerbInflCP ; -ど:ど UVerbInflCP ; どく:どく UVerbInflCP ; どか:どか UVerbInflCP ; どこう:どこう UVerbInflCP ; diff --git a/apertium-jpn.jpn.rlx b/apertium-jpn.jpn.rlx index 7049f44..5307a7c 100644 --- a/apertium-jpn.jpn.rlx +++ b/apertium-jpn.jpn.rlx @@ -39,6 +39,12 @@ SELECT (adj) IF (1 ("な")) ; #ni me ga choose noun, not suffix SELECT (n) IF (-1 ("に"))(1 (suff)) ; +# kara with noun +SELECT (suff) IF (-1 (n))(0 ("から")) ; + +# doko choose det with ga +SELECT (det) IF (-1 ("、"))(1 (suff)) ; + # Resources: # http://visl.sdu.dk/cg3.html # http://groups.google.com/group/constraint-grammar