> X-Mailer: Evolution 3.2.2-1+b1 
> Date: Mon, 10 Sep 2012 08:13:26 +0000
> From: Francis Tyers <[email protected]>
> To: [email protected]
> Reply-To: [email protected], [email protected]
> Subject: Re: [Apertium-stuff] Danish - Swedish Nouns

> El dl 10 de 09 de 2012 a les 09:51 +0200, en/na Per Tunedal va escriure:
> > Hi,
> > I happened to add some nouns to the dictionaries but got into troubles:
> > I don't know anything at all of danish grammar. I cannot specify gender
> > nor choose an appropriate paradigm.
> > 
> > Exemples: veranda-veranda (veranda/porch), åra-åre (oar).
> > 
> > Are there any available dictionaries on the internet that supply the
> > needed information?
>
> Sometimes you'll find it on Wiktionary:
>
> http://en.wiktionary.org/wiki/veranda#Noun_3
>
> http://en.wiktionary.org/wiki/%C3%A5re#Danish
>
> F.
>
>

After finding the gender, and also the plural form, you may have to
chose between dozens of paradigms (the same for Swedish, or any birth
language).

For that, I made a shell counting how often the different paradigms are
used in a monodix :

#!/bin/bash

fgrep "<e lm=" $1 |
sed "s/.*n=\"//
     s/\".*//" | sort | uniq -c | sort -rn

$1 is the name of the monodix, and if you want to keep only paradigms
for nouns, just add   | grep "_n$"   at the end.

The script works, with word descriptions <e lm=...>....</e>
on one line. If it is not the case for every word, change it.

After that, you will see for every big categories of word (nouns,
proper nouns, adjectives, verbs), really few paraddigms are used
very often (about 3 main paradigms, and not far from every word of
the category with 5 paradigms).

So let examinate what is written in these main paradigms (gender +
plural form). Your new words may have a good probability to mach
one of these main paradigms. If not, go further on the list.
In that case, let wach paradigms with a name like   root/suffix__n
(there will be a  /  in the name). If you find a paradigm with a
suffix matching the last letters of your noun (for singular form),
it may be the good one.





--------------------------------
Bernard Chardonneau (France)
Phone : [33] 1 64 90 87 04 (from Sept to June except holidays)
GSM phone : [33] 6 49 95 13 95 (french scholl holidays, C zone)

Multilingual websites for my free softwares :
http://libremail.free.fr and http://libremail.tuxfamily.org
http://cyloop.tuxfamily.org (mainly translated with Apertium)

My general website (in french only)
http://bech.free.fr

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to