Difference between revisions of "Running the MaxEnt rule learning"

From Apertium
Jump to navigation Jump to search
Line 3: Line 3:
 
==Monolingual rule learning==
 
==Monolingual rule learning==
   
First run the [[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:
  +
  +
<pre>
  +
  +
</pre>

Revision as of 10:45, 17 June 2013

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: