Any (rough) equivalent to iOS NSLinguisticTagger for android?

408 views Asked by At

In iOS, you can use the NSLinguisticTagger to do things like part-of-speech tagging, and even lemmatizing a word (like recognizing that "went" is a form of the verb "to go") for several different languages.

Is there anything like this for use with android development, that's available for several different languages, as is the case for iOS? I'm aware of stuff like the Stanford NLP, but it seems to only work with a limited number of languages (English + 5 others), which is not sufficient for my purposes. Plus, I'm not even sure if it could work on android. (but correct me if I'm wrong)

It would need to work without accessing the network, so it must do everything on the device without connecting to a service.

I'm afraid the answer is "no"...but asking anyway just in case, before I spend a huge amount of time trying to develop my own workaround.

1

There are 1 answers

0
Alikbar On

You can use any java-based nlp toolkits in android applications. Here is a list of popular ones with a simple description :

Stanford CoreNLP

I don't know exactly how many you mean by several but if you ever want to make a toolkit you can train coreNLP with a corpus.

Apache OpenNLP

Apache Lucene and Solr

Apache's toolkits and analyzers do support more languages and you can also train models with openNLP as well. You can see a list of languages supported here : Languages supported by Solr.

GATE