Difference between revisions of "Afrikaans and Dutch"

From Apertium
Jump to navigation Jump to search
Line 22: Line 22:
 
I've installed the Tadpole morphological analyser and are able to use it on text from nl.wp. The next step would be to see if the output has sufficient detail to be converted into the Apertium format.
 
I've installed the Tadpole morphological analyser and are able to use it on text from nl.wp. The next step would be to see if the output has sufficient detail to be converted into the Apertium format.
   
Sample output:
+
'''Sample output:'''
   
 
Orania SPEC(deeleigen) Orania [Orania]
 
Orania SPEC(deeleigen) Orania [Orania]
Line 41: Line 41:
 
provincie N(soort,ev,basis,zijd,stan) provincie [provincie]
 
provincie N(soort,ev,basis,zijd,stan) provincie [provincie]
 
Noord-Kaap SPEC(deeleigen) Noord-Kaap [Noord-Kaap]
 
Noord-Kaap SPEC(deeleigen) Noord-Kaap [Noord-Kaap]
  +
  +
'''Key:'''
  +
  +
* Col 1 = Word/ Surface form
  +
* col 2 = Analysis/ CGN tag for each word
  +
** ADJ = Bijvoeglijk naamwoord (adjective)
  +
** LID = Lidwoord (article)
  +
** N = Zelfstandig naamwoord (noun)
  +
** SPEC = ???
  +
** VZ = Voorzetsel (preposition)
  +
** WW = Werkwoord (verb)
  +
* col 3 = Lemmas
  +
* col 4 = Morphological segmentation/ Rule for inflection
  +
  +
'''Further analysis'''
   
 
<pre>
 
<pre>
Line 59: Line 74:
 
dorpje; dorp; soort.ev.dim; n.m
 
dorpje; dorp; soort.ev.dim; n.m
 
provincie; provincie; soort.ev.basis; n.f
 
provincie; provincie; soort.ev.basis; n.f
 
 
</pre>
 
</pre>
   

Revision as of 17:26, 10 July 2008

apertium-af-nl 0.1

The first version of the af-nl language pack is now in SVN -- and can be found in the attic. However, the Dutch (NL) morphological dictionary doesn't contain enough words to do proper translations. Here are some of the words that should be added to the NL dictionary (from the first sentence I've tried to translate):

  • trein
  • vertrekt
  • uur
  • Etc.

If you can help, please do let us know!

What is needed

To fix the Dutch morphological dictionary, we need a word list that contains forms or paradigms like this:

bier,bier,n.sg
bier,biere,n.pl

Where n=noun, sg=singular, pl=plural, etc.

A list that can be converted to this format will also do.

Tadpole morphological analyser

I've installed the Tadpole morphological analyser and are able to use it on text from nl.wp. The next step would be to see if the output has sufficient detail to be converted into the Apertium format.

Sample output:

Orania SPEC(deeleigen) Orania [Orania]
is WW(pv,tgw,ev) zijn [zijn]
een LID(onbep,stan,agr) een [een]
Zuid-Afrikaans SPEC(deeleigen) Zuid-Afrikaans [Zuid-Afrikaans]
dorpje N(soort,ev,dim,onz,stan) dorp [dorp][je]
gelegen WW(vd,vrij,zonder) liggen [ge][lig][en]
aan VZ(init) aan [aan]
de LID(bep,stan,rest) de [de]
Oranjerivier SPEC(deeleigen) Oranjerivier [Oranjerivier]
in VZ(init) in [in]
de LID(bep,stan,rest) de [de]
droge ADJ(prenom,basis,met-e,stan) droog [droog][e]
Karoostreek SPEC(deeleigen) Karoostreek [Karoostreek]
van VZ(init) van [van]
de LID(bep,stan,rest) de [de]
provincie N(soort,ev,basis,zijd,stan) provincie [provincie]
Noord-Kaap SPEC(deeleigen) Noord-Kaap [Noord-Kaap]

Key:

  • Col 1 = Word/ Surface form
  • col 2 = Analysis/ CGN tag for each word
    • ADJ = Bijvoeglijk naamwoord (adjective)
    • LID = Lidwoord (article)
    • N = Zelfstandig naamwoord (noun)
    • SPEC = ???
    • VZ = Voorzetsel (preposition)
    • WW = Werkwoord (verb)
  • col 3 = Lemmas
  • col 4 = Morphological segmentation/ Rule for inflection

Further analysis

droge     ADJ(prenom,basis,met-e,stan) droog  [droog][e] 

Surface   Analysis                     Lemma  Rule
 form                                         for inflection

Speling equiv: 
 
 droog; droge; prenom; adj

dorpje N(soort,ev,dim,onz,stan) dorp [dorp][je]
provincie N(soort,ev,basis,zijd,stan) provincie [provincie]

Speling equiv:

 dorpje; dorp; soort.ev.dim; n.m
 provincie; provincie; soort.ev.basis; n.f

Dictionaries

Links