How to call WordNet from Android? [Wordnet api for Android]
I used rita framework in Java to use WordNet. It worked fine but how can I use it in android? Is there any framework/API to access WordNet from android?
JAWS requires WordNet to be installed (on say Windows) and access it from Java! 开发者_如何学PythonAny work around?
I'm not entirely sure about your requirements but I have been toying around with WordNet hoping to use it as a dictionary source.
I discovered your issue where a number of interfaces access the installed WordNet API which won't be happening on Android.
I think I'm on to a winner with JWI as it appears to be accessing the dictionary files directly (these can be downloaded independently on the WordNet download page)
I'll update this once I've looked further into the interface and confirm / retract this comment.
I tried to use the JWI API for using WordNet on Android. Most of the basic functions I have tried out - looking up a word in the glossary, getting the WordStem and different senses of the word all work. And this is straight out of the box, with minimal alterations to the code that is already there.
Using JWI, you could copy all wordnet' files in asset directory. Then, you should copy all files to external storage, so you can access to the dictionary.
精彩评论