> Is there a lexicon with this AFTER-SECTIONS I could use as a model ?

I was about to say "apertium-nob", but I see our defaults are actually
in a regular (but late) SECTION. The difference is that AFTER-SECTIONS
is only run once, after all regular sections are done, while a SECTION
can run many times (until no more changes are made by the rules). So a
simple rule file using AFTER-SECTIONS would be

LIST n = n;
LIST pr = pr;
LIST imp = imp;

SECTION # general rules

SELECT n IF (-1C pr) ;
# etc.

AFTER-SECTIONS

"<còsta>"i REMOVE:default pr; # if for example pr was not very likely

Also a nice place to put general fallback rules like "REMOVE imp IF (0 pri)" 
if imperatives are less likely than pri if above rules didn't have a match.




_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to