Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

API for English dictionary in java

 
Ranch Hand
Posts: 446
1
Eclipse IDE MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 151
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 446
1
Eclipse IDE MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 151
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 446
1
Eclipse IDE MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 231
Android IntelliJ IDE Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Kevin Workman
Ranch Hand
Posts: 151
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic