aspose file tools*
The moose likes Java in General and the fly likes API  for English dictionary in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "API  for English dictionary in java" Watch "API  for English dictionary in java" New topic
Author

API for English dictionary in java

Prasad Kharkar
Ranch Hand

Joined: Mar 07, 2010
Posts: 446
    
    1

Hello everyone
can anyone tell me how to access the dictionary in java?
I need API for that such that I can access all the dictionary words
thanks


SCJP 6 [86%], OCPWCD [84%], OCEJPAD [83%]
If you find any post useful, click the "plus one" sign on the right
Kevin Workman
Ranch Hand

Joined: Sep 28, 2010
Posts: 151
Prasad Kharkar wrote:Hello everyone
can anyone tell me how to access the dictionary in java?
I need API for that such that I can access all the dictionary words
thanks


Do you need an actual API (if so, what do you need from it?)?

Or do you just need a list of words? Do you need their definitions, synonyms, etc?

If all you need is a list of words, then you don't need an entire API. A single file containing the list would suffice, and those are pretty readily available (I think they come with most Linux distributions). Did you find anything on google?
Prasad Kharkar
Ranch Hand

Joined: Mar 07, 2010
Posts: 446
    
    1

actually I found fake links on google
I don't know much about the functionality
but I would prefer the API which can
1. have all the words and their definitions
2. the voice for the words
3. ability to search words using methods or our own logic
4. ability to find synonyms


as I am new to this, and you seem much experienced
can you just provide me some links where you have found useful information
thanks
Kevin Workman
Ranch Hand

Joined: Sep 28, 2010
Posts: 151
Prasad Kharkar wrote:actually I found fake links on google
I don't know much about the functionality
but I would prefer the API which can
1. have all the words and their definitions
2. the voice for the words
3. ability to search words using methods or our own logic
4. ability to find synonyms


Okay. Well now you're talking about a few different functions, probably found in a few different APIs. I'd concentrate on them one at a time. For the dictionary functionality, I'd recommend googling something lke "java dictionary API" and checking out those options. I found a few promising links in just a few seconds. It's up to you to figure out which one best fits your needs. For the "voice" (I'm assuming you mean something along the lines of Text-to-Speech), I'd recommend googling something along the lines of "java text to speech API" and again checking those out.


Prasad Kharkar wrote:as I am new to this, and you seem much experienced
can you just provide me some links where you have found useful information
thanks

There is no mystery to it. Just use google and don't be afraid to experiment. If you have a specific question about something you find, feel free to post it here (or on a forum run by the API in question). Break your problem up into smaller pieces, and then break those pieces up into even smaller pieces. Focus on the getting the little pieces to work perfectly by themselves before you even think about combining them.

One more word of caution- What you're biting off is not exactly trivial. Are you sure you don't want to start with something a little smaller?
Prasad Kharkar
Ranch Hand

Joined: Mar 07, 2010
Posts: 446
    
    1

thanks for the response
yes I will surely check them
and yes, I don't want a BIG start,
just was curios about the availability of API

thanks again
cheers
James Elsey
Ranch Hand

Joined: Dec 21, 2007
Posts: 228

Good thread.

I was looking for something similar recently (but never found an answer)

Basically I was looking for an API or something that would give me all English words, and possibly words from Spanish/French etc.

I was planning to pick random ones and create a crossword / wordsearch game


Kind Regards, James. OCPJP 1.6 || My SCJP / OCJCP Study Notes
Interested in : SCJP, Google App Engine, Stripes, Android;|| My Bite-Size SCJP Study Blog
Kevin Workman
Ranch Hand

Joined: Sep 28, 2010
Posts: 151
James Elsey wrote:Basically I was looking for an API or something that would give me all English words, and possibly words from Spanish/French etc.


For your purposes, it seems a simple text file listing the words would be sufficient.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: API for English dictionary in java