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

Add genitives to paradigms in Dutch morphological analyser

completed by: AureiAnimus

mentors: Francis Tyers

Currently the Dutch analyser only has genitives for proper nouns, but genitives are also possible with common nouns. The task is to add the genitives to the noun paradigms in the Dutch analyser where necessary allowing for the different genitives in Dutch -s -' and -'s.

E.g. take:

  <pardef n="roe__n_mf">
    <e><p><l></l><r><s n="n"/><s n="mf"/><s n="sg"/></r></p><par n="cmp"/></e>
    <e><p><l>s</l><r><s n="n"/><s n="mf"/><s n="pl"/></r></p><par n="cmp-R"/></e>
  </pardef>

and output:

  <pardef n="roe__n_mf">
    <e><p><l></l><r><s n="n"/><s n="mf"/><s n="sg"/></r></p><par n="cmp"/></e>
    <e><p><l>'s</l><r><s n="n"/><s n="mf"/><s n="sg"/><j/>s<s n="gen"/></r></p></e>
    <e><p><l>s</l><r><s n="n"/><s n="mf"/><s n="pl"/></r></p><par n="cmp-R"/></e>
    <e><p><l>s'</l><r><s n="n"/><s n="mf"/><s n="pl"/><j/>s<s n="gen"/></r></p></e>
  </pardef>

For all of the noun paradigms in the Dutch analyser.