-
Validating a word.
This is what my program does. It takes an input as letters and forms as many possible combination of words.
I need to validate how many of these words are legal scrabble words and how many are not. Is there a google api or some other webservice which will help me validate the legality of the word?
Cheers,
Abhijit
-
Re: Validating a word.
Why not use the functionality of the Winword to check if the word is legal or not. You can use the Dictonary.
-
Re: Validating a word.
This program is for checking scrabble words. Most of them are not available in the winword dictionary.
Secondly, you might find this strange, but everyone does not have MS office installed.
-
Re: Validating a word.
Well there is nothing strange about not having MS Office installed.
The closest I could get was to the Dictionary used by Ms - Office. You might want to check the internet to see if there is any service that you can utilize to check if the word is correct or not.
-
Re: Validating a word.
You might be able to download a wordlist from:
http://home.teleport.com/~stevena/sc...wordlists.html
and use that to validate the words. Though I don't know the licenses on those lists and you may not be allowed to use them for commercial use (if you plan on making a product).
Once you have that wordlist, you could load it into memory and do a search there, or if the list is really large, put it into a DB and do a query for each word.