Take the 2-minute tour ×
German Language Stack Exchange is a question and answer site for speakers of German wanting to discuss the finer points of the language and translation. It's 100% free, no registration required.

I'm looking for a list of German words in a digital format that is simple and easy to parse by a computer. It should encompass almost all words, but it doesn't matter whether inflections are included. Acronyms and proper names are not interesting, but those are easy to filter.

The Wiktionary dump does not fulfill the criterion of being simple to parse, since I'd have to check each article whether it is a German word or not, nor the all-encompassing criterion.

Bonus points if lexical class is included and the license is open.

share|improve this question
2  
Dictionary attack? ;-) –  Sebastian May 28 '11 at 7:41
1  
@Sebastian: I'm writing a rep bot :) Actually, it was prompted by the closed transposition question. –  Tim May 28 '11 at 7:47
    
What is "rep" in rep bot? –  Alenanno May 28 '11 at 9:11
    
@Alenanno: Reputation, for this site. But it wasn't for real. –  Tim May 28 '11 at 9:14
    
Rainbow tables are better :D –  Florian Peschka May 28 '11 at 9:30

5 Answers 5

up vote 13 down vote accepted

Here are some places where you can download such lists:

share|improve this answer
    
If only that list had definitions :D By the way, is it free to use?^ –  Alenanno May 28 '11 at 9:44

http://www.wortschatz.uni-leipzig.de/html/wliste.html offers lists of the most used words up to 10.000 words. These lists are plain text, they should be easy to parse.

share|improve this answer
    
The format looks great. Dudens Universalwörterbuch lists half a million words, though, so 10,000 doesn't come close to all words. –  Tim May 28 '11 at 7:18

In most recent Linux distributions there are two files:

/usr/share/dict/ogerman
/usr/share/dict/ngerman

These contain a list of line-separated German words. ogerman is for the old-spelling and ngerman is for reformed spelling. On my system, ogerman contains about 76000 words, while ngerman has about 330000 words.

It may be needed to install a package containing those files, and the path may be different either. Under debian, those are released under the GPL license, the package names are wogerman and wngerman.

share|improve this answer
    
Which package provides these? –  mbx May 28 '11 at 10:37
    
@mbx Please see the question. Under Debian the names are wngerman and wogerman. –  FUZxxl May 28 '11 at 13:41
    
I just wondered, as dpkg -S ngerman only gave me texlive packages. But I guess it only uses installed packages. –  mbx May 28 '11 at 14:56
1  
@mbx There is a w in fornt of ngerman. You could use apt-file to find that package. AFAIK, wogerman is preinstalled if you have full German language support. BTW, using these packages is great too, since you can easily put them as a dependency of your project instead of shipping them. –  FUZxxl May 28 '11 at 15:07

Google's NGramViewer also offers the raw datasets for download. The datasets also contain the number of occurences of the word (and for combinations of up to five words) in any given year. This may be useful for statistics on how differend word usages evolved; it's used all the time on EL&U.

share|improve this answer

I found a postgresql-database-dict on my Ubuntu system

/var/cache/postgresql/dicts/de_de.dict

The size is about 1Mb, it isn't compressed, and the content around Ab-Ac looks like this:

Abzug/STpm
Abzugs/hij
Abzweig/hij
Abzweigen/SJm
Accessoire/Sm
Account/Sm
Accounting/Sm
Aceton/Sm
Achilles/ijm
Achim/S
Achs/hij
Achse/Nm

Then there is

 /usr/share/hunspell/de_DE.dic

nearly of same size and format as the postgres file.

Additionally, there are, beside (n|o)german-files, mentioned by FUZxxl, aspell- and ispell-files, which are compressed somehow, but I don't know how. Using gunzip and word-list-compress -d didn't work, as mentioned in the manpage.

/var/lib/aspell/de-alt-common.rws
/usr/share/aspell/de-alt-common.cwl.gz
/usr/share/aspell/de-common.cwl.gz
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.