Search code examples
javaandroiddictionaryofflineapps

How can I get access to and display an offline english dictionary in my android app?


I'm currently building a vocabulary Android mobile app, and I want to allow the users to be able to look up different words with their definitions on the app.

I was thinking of using a database to manually store each word along with its definition, but I am looking for an easier solution (considering there are 1 million words).

Are there any built-in classes or libraries that I can use to import dictionary/words data to my app?


Solution

  • You can use the Princeton Wordnet dictionary (details at http://wordnet.princeton.edu/)

    A Java API to interface to this dictionary can be found at http://projects.csail.mit.edu/jwi/.