commit 6c2e8f47eb1c6f9fa25a5ba207a870f494a581f7 Author: Eiji Miyamoto Date: Fri Jul 28 12:59:07 2023 +0100 new rule is added on rlx and i rule cannot be skipped by index happens. But it works. diff --git a/apertium-jpn.jpn.lexc b/apertium-jpn.jpn.lexc index 274ded2..1c50172 100644 --- a/apertium-jpn.jpn.lexc +++ b/apertium-jpn.jpn.lexc @@ -63106,6 +63106,7 @@ LEXICON NounRoot ワールド:ワールド NounTag ; ヴァイオリン:ヴァイオリン NounTag ; ヴォーカル:ヴォーカル NounTag ; +悩み:悩み Nountag ; LEXICON ProperNouns 日本:日本 NPTop ; ! Japan @@ -415301,7 +415302,6 @@ LEXICON VerbRoot げんず:げんず UVerbInflCP ; げんぜ:げんぜ UVerbInflCP ; げんじろ:げんじろ UVerbInflCP ; -恋:恋 UVerbInflCP ; 恋する:恋する UVerbInflCP ; 恋さ:恋さ UVerbInflCP ; 恋しよう:恋しよう UVerbInflCP ; @@ -415517,7 +415517,6 @@ LEXICON VerbRoot こいねがって:こいねがって UVerbInflCP ; こいねがったり:こいねがったり UVerbInflCP ; こいねがっちゃ:こいねがっちゃ UVerbInflCP ; -恋:恋 UVerbInflCP ; 恋う:恋う UVerbInflCP ; 恋わ:恋わ UVerbInflCP ; 恋おう:恋おう UVerbInflCP ; diff --git a/apertium-jpn.jpn.rlx b/apertium-jpn.jpn.rlx index ae89963..b397c92 100644 --- a/apertium-jpn.jpn.rlx +++ b/apertium-jpn.jpn.rlx @@ -11,6 +11,9 @@ REMOVE (n) OR (v) IF (1 (n s)) ; # If there is a conjunction followed by a certain cohort of the same CASE as me, choose me. SELECT $$Case IF (1 (cnjcoo) LINK 1C $$Case) ; +# If cm is after the verb and noun tag, select verb +SELECT (v) IF (1 ("、")) ; + # Resources: # http://visl.sdu.dk/cg3.html # http://groups.google.com/group/constraint-grammar