Results 1 to 5 of 5

Thread: Validating a word.

  1. #1

    Thread Starter
    PowerPoster abhijit's Avatar
    Join Date
    Jun 1999
    Location
    Chit Chat Forum.
    Posts
    3,228

    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
    Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
    save a blobFileStreamDataTable To Text Filemy blog

  2. #2
    Shared Member
    Join Date
    May 2005
    Location
    Kashmir, India
    Posts
    2,277

    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.
    Use [code] source code here[/code] tags when you post source code.

    My Articles

  3. #3

    Thread Starter
    PowerPoster abhijit's Avatar
    Join Date
    Jun 1999
    Location
    Chit Chat Forum.
    Posts
    3,228

    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.
    Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
    save a blobFileStreamDataTable To Text Filemy blog

  4. #4
    Shared Member
    Join Date
    May 2005
    Location
    Kashmir, India
    Posts
    2,277

    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.
    Use [code] source code here[/code] tags when you post source code.

    My Articles

  5. #5
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width