Running the MaxEnt rule learning

From Apertium
Jump to navigation Jump to search

There are two methods based on maximum entropy models for lexical selection rule learning, a monolingual and a bilingual one.

Monolingual rule learning

First run the monolingual-rule-learning to obtain the .ambig and .annotated files. You you should also have yasmet compiled in your Apertium-lex-tools folder.

Next, run the following script to extract lexical selection rules: