Dictionary API?
Date: 03/02/05
(PHP Community) Keywords: php, web, google
Hey,
So I made this AIM bot using the PHP:TOC class that plays a word game. See, you give it a word, let's say "cow" and he replies with another 3 letter word that's different from your word by a letter, like "how". It gets its words from a list I found on the internet, about 26,870 words.
Here's the thing: I wanna get it to learn new words. Let's say someone says "mow" after "cow" but it's not in the listing. Right now, it'll say that "mow" isn't a real word, but I want some way of verifying if in fact it is a real word, and adding it to the list. Is there some web API for dictionary.com or something similar I could talk to with PHP?
I'm think Google API might do it, but I haven't gotten to poke around with it yet. Anyone familiar with that API? How easy is it to use with PHP5?
Source: http://www.livejournal.com/community/php/268380.html