Thank you!
I've changed the script to my needs and it works like a charm! Combined
with the sources supplied by Bernard Chardonneau and Trosterud Trond it
offers a neat system for adding new words.
Maybe there are some net resources for Norwegian as well? It might be
convenient, although I've acquired some books.
Yours,
Per Tunedal

On Mon, Sep 10, 2012, at 22:21, Jacob Nordfalk wrote:
> Per, you can also make a list of the words and send to Keld and I and we
> can put the right paradigm on them. Keld or I could do that relatively
> fast
> for the monodix (and then you would have to edit the bidix to make the
> gender match)
> 
> 
> Jacob
> 
> 2012/9/10 Bernard Chardonneau <bechapert...@free.fr>
> 
> > > X-Mailer: Evolution 3.2.2-1+b1
> > > Date: Mon, 10 Sep 2012 08:13:26 +0000
> > > From: Francis Tyers <fty...@prompsit.com>
> > > To: apertium-stuff@lists.sourceforge.net
> > > Reply-To: fty...@prompsit.com, apertium-stuff@lists.sourceforge.net
> > > 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
> > Apertium-stuff@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/apertium-stuff
> >
> 
> 
> 
> -- 
> Jacob Nordfalk <http://profiles.google.com/jacob.nordfalk>
> javabog.dk
> Androidudvikler og -underviser på
> IHK<http://cv.ihk.dk/diplomuddannelser/itd/vf/MAU>og
> Lund&Bendsen
> <https://www.lundogbendsen.dk/undervisning/beskrivelse/LB1809/>
> ------------------------------------------------------------------------------
> 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
> Apertium-stuff@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/apertium-stuff

------------------------------------------------------------------------------
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
Apertium-stuff@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to