Sign up

Widgets » Danish to English

  • 15 downloads last 7 days
  • 588 total downloads
  • Rating: +2 (login to vote)
Danish to English V4.1 May 7, 2008 2:08:07 AM

A "motor" dictionary which translates Danish into fairly readable English. It can guess compound words.

This is a "motor" dictionary, it replaces each Danish word in the original text with an english word which in some context made sense to me. The majority of the words are translated off the top of my head without consulting an authorized dictionary. This does not make "pretty" english sentences, but with a little effort, you can get the essence of the Danish text.
This version has a binary search as suggested by "CBH" and an array of word sets which has been sorted in a special way to work with the Danish letters "Æ","Ø" and "Å". It now has 12640 words. March 2. 2008. This update added 900 words, an export feature so the translations can be further processed and it now works in linux. There is a small issue with transparency in the scrolbar of the textarea.
May 5. 2008. 15600 words and a newfeature which will guess compound words. Improved export function. It has a help page. The source is divided into several documents.


Comments 6 posts

Log in at the top of the page to post a comment.

1 - 6 of 6

I was just testing the update. I an article from the Norwegian Newspaper "Morgenbladet". It actually works on Norwegian text too roughly 66%. See the excerpt:

Rolf Aaberge , RESEARCHER IN(YOU) Statistisk sentralbyrå ( SSB ) , HAVE FOR(TOO) FIRST TIME(HALLWAY) satt TOGETHER statistikken FOR(TOO) IT(THE) NORWEGIAN overklassens SHARE av samfunnskaken THEY(THE) siste 100 THE YEARS . IT(THE/THAT) DEALS WITH ABOUT(IN/IF) IT(THE) ALONE prosenten ON(AT/IN) THE TOP av inntektsstatistikken . THE NUMBERS SHOWS TO(THAT) THEY(THE) rikeste blant oss IN(YOU) DAY forsyner seg WITH ONE(A/AN) BIGGER SHARE av THE POPULATIONS inntekter enn THEY(THE) HAVE DONE ON(AT/IN) 60 YEAR .

By SinCdn, # May 7, 2008 2:43:12 AM

Added 900 words, an export feature so translations can be further processed and it now works and displayes properly in Linux (see the new screenshot) with the exception of the transparency problem in the scrolbar

By SinCdn, # Mar 3, 2008 3:49:41 AM

Updated Oct. 5.
I just uploaded a new wordlist. 12640 words.

By SinCdn, # Oct 6, 2007 7:04:25 AM

Simpelt, men det virker ganske fint :wink:

Lige et hurtigt råd: Så vidt jeg kan se, er ordlisten sorteret. Du kan gøre translate-funktionen meget hurtigere, når listen nu er sorteret. Som det er nu, skal der i gennemsnit gennemløbes/tjekkes halvdelen af alle de 10.000 ord, dvs. 5.000, før det passende ord findes. Du kan nøjes med blot at skullle gennemløbe/tjekke log_2(10.000) = 14 ord ved hjælp af en simpel binær søgning.

Happy hacking :smile:

By cbh, # Jun 4, 2007 6:40:42 PM

I'm working on a couple of things, but for now I am strugling with the basics of widgetry. You may notice that I use old fashion buttons.

By SinCdn, # May 17, 2007 0:00:26 AM

OMG. The top 10k Danish words :smile: At least it works offline :yes:

Can you improve it, e.g. add declinations/conjugations ?

By dantesoft, # May 15, 2007 4:39:35 PM

Copyright © 2001 - 2008 Opera Software. All rights reserved. About | Contact | Privacy | Disclaimer | Web analytics powered by HitsLink.HitsLink Logo