新規登録

ウィジェット » Danish to English

Danish to English V4.1 2008/05/07 2:08:07

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.


コメント 6 通

ページのトップからログインしコメントする

1 - 6 中 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 .

発言者 SinCdn, # 2008/05/07 2:43:12

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

発言者 SinCdn, # 2008/03/03 3:49:41

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

発言者 SinCdn, # 2007/10/06 7:04:25

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:

発言者 cbh, # 2007/06/04 18:40:42

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.

発言者 SinCdn, # 2007/05/17 0:00:26

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

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

発言者 dantesoft, # 2007/05/15 16:39:35

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