Hello!
I would like to use an english dictionary in one of my programs. I remember that MR. Erven implemented it in the Brainstation demo. How it is supposed to work and where I can look for it?
Telegram: Nuno69a
E-Mail: nuno69a (at) gmail (dot) com
You are not logged in. Please login or register.
AudioGames.net Forum → Developers room → Any english dictionary API out there?
Hello!
I would like to use an english dictionary in one of my programs. I remember that MR. Erven implemented it in the Brainstation demo. How it is supposed to work and where I can look for it?
Usually APIs require keys to limit the usage and offer different pricing and also to prevent denial of service attacks. However, I did find one that doesn't require any key. It uses dict.org, there is a C# client app consuming this api on this web page: http://www.aonaware.com/dictservicesample.htm.
It seemed a bit dated, so I tried it out and it still works. You can download the zip on that page and try the command line tool for yourself, just pass the arguments "define wheel" to the exe and it will output the definition of wheel. It supports a lot of different sources, you can limit your search to only one dictionary if you like. There is a help on all of the command line options of course.
You have access to the C# source code, it shouldn't be too complicated if you know C# or Java. Don't get confused with all the command line parsing code. If you are doing your app in a different language, you will only care about the calls made to the API, just read the code or use the app while capturing the HTTP traffic with Fiddler, it's a web proxy and it's fairly accessible. Hope it helps.
You can also download this text file and parse it: https://sites.google.com/a/vhhscougars. … ionary.txt
Take a look at it, as if it suits your needs, it's gonna be really fast in your program. You can transform this file into a preprocessed format for your application, load it when it starts and have offline really fast lookup. I don't know if it is obvious to you, but use a hashed associative collection for constant time lookup, linear lookup could get long with that many words.
Thank you. Ot really helped. I will look in all of it later.
Thank you once more!
Yeah, don't know what happened there, I fixed the link and clicked it to see that it really works this time. sorry for that.
AudioGames.net Forum → Developers room → Any english dictionary API out there?
Generated in 0.016 seconds (49% PHP - 51% DB) with 11 queries