Open Source Dictionary?

Started by
3 comments, last by Zahlman 17 years, 4 months ago
Is there any such thing as an open source dictionary (English), so that you can run a text through it and words can be singled out as errors, and suggestions provided? Anyone knows of such a library?
Advertisement
ispell has several of these.
aspell is better.
Quote:Original post by ToohrVyk
ispell has several of these.


Awesome, thank you, but is that Windows compatible / C++ ?
The program would need to be recompiled from source, but it's probably written in either C or C++.

The dictionaries themselves are just text files, and are therefore automatically everything-compatible. ;) But you if you just want the dictionary, you'll have to write the logic yourself for looking up the words. The data structure you probably want is called a 'trie'; [google] it.

This topic is closed to new replies.

Advertisement