GSoC/GCI Archive
Google Code-in 2010 The Apertium project

Create disambiguation rules for Dutch and Afrikaans

completed by: AureiAnimus

mentors: Francis Tyers

The purpose of the task is to write a series of disambiguation rules for Dutch and Afrikaans. First find a test sentence. Then make a rule in English, then implement it. Eg.

 

======================================================================================================================

'Ek werk' (inf/pres)  -> 'Ik werken'

Forbid infinitive if there is a personal pronoun immediately to the left and the current word can be either infinitive or present tense.

 

         <label-sequence>
          <label-item label="PRNSUBJ"/>
          <label-item label="VBLEXINF"/>
        </label-sequence>

'Ek werk' -> Ik werk.

======================================================================================================================