views:

178

answers:

2

Hello,

For my GAE app I need to do some natural language processing to extract the subject and object from an input sentence.

Apparently NLTK can't be installed (easily) on GAE so I am looking for another solution. I noticed GAE comes with Antlr3 but from browsing their documentation it solves a different kind of grammar problem.

Any ideas?

+1  A: 

With regards to the NLTK problem specifically, my solution would probably be to fix the weird imports that NLTK is doing, and use that as originally planned. When you're done, submit a patch of course.

That said, if this ultimately involves touching the data store, the answer is that it probably can't be done in a performant way, unless your data set is small or for some reason your NLP stuff doesn't need to hit some kind of full-text index. The GAE guys are working on it, but they have indicated that no one should be expecting a quick resolution to this particular issue.

Bob Aman
+1  A: 

You can easily build and NTLK RPC server on some machine and access it.

Another option is to find another web based service that already does that (such as opencalais).

lazy1