commit 942ba4991301d5d39e59101a0125672b53b07daf Author: Eiji Miyamoto Date: Wed Aug 23 21:14:55 2023 +0100 added one adverb and added some rules in rlx diff --git a/apertium-jpn.jpn.lexc b/apertium-jpn.jpn.lexc index 18aeb88..5e7a0fe 100644 --- a/apertium-jpn.jpn.lexc +++ b/apertium-jpn.jpn.lexc @@ -558375,6 +558375,7 @@ LEXICON Adverbs ぴりっと%:ぴりっと # ; ぼーっと%:ぼーっと # ; なけれ%:なけれ # ; +せめて%:せめて # ; !LEXICON Interjections diff --git a/apertium-jpn.jpn.rlx b/apertium-jpn.jpn.rlx index 3e11cc5..345c264 100644 --- a/apertium-jpn.jpn.rlx +++ b/apertium-jpn.jpn.rlx @@ -304,6 +304,18 @@ SELECT (n) IF (0 ("者"))(-2 (n)) ; SELECT (suff) IF (0 ("年"))(-1 (num)) ; +SELECT (adv) IF (0 ("せめて"))(-1 (cm)) ; + +SELECT (adj) IF (0 ("いい"))(-1 (suff))(1 (suff)) ; + +SELECT (n) IF (0 ("もと"))(-1 (suff))(1 (suff)) ; + +SELECT (det) IF (0 ("それ"))(1 (suff)) ; + +SELECT (n) IF (0 ("沢"))(-1 (adv))(1 (suff)) ; + +SELECT (v) IF (0 ("記し"))(-1 (suff))(1 (suff)) ; + # Resources: # http://visl.sdu.dk/cg3.html # http://groups.google.com/group/constraint-grammar