PDA

View Full Version : Dictionary ?



c_olin
November 9th, 2007, 02:39 AM
I'm writing a function in C++ that takes an English word as the input, and outputs the type of word (article, noun, verb, preposition, etc) and the definition (if needed).

Is there a dictionary for linux that I can access through C++?

Thanks,
Colin

meatpan
November 9th, 2007, 06:58 PM
I've had some luck with this third-party-app:

http://wordnet.princeton.edu/wn2.0.shtml

When (if) you install the package, take a look at
man wnintro for information on how to link with the wordnet libs.