tags:

views:

92

answers:

1
+2  Q: 

Ruby NLP Libraries

Hi,

Does anyone know of any good NLP frameorks for ruby?

I am considering using the Java open-nlp librabrary http://opennlp.sourceforge.net/ via JRuby.

I am reluctant to go down the JRuby route for a few reasons and mainly because I have no Java background.

Are there any ruby frameworks or should I go down the JRuby route with open-nlp?

Thanks for your time

Paul

+3  A: 

The good news is, you need practically no knowledge of Java to be able to use a library like OpenNLP in JRuby. If you can identify method names, you will be able to get things done. Plus, you will probably start picking up Java if you do need to know more, which will be a win for you.

I wrote up a blog post a while back about NLP libraries in Ruby, but I'm afraid you are not going to find anything with the breadth of OpenNLP or LingPipe (another Java NLP library). The closest may be Ruby Linguistics, which is sadly lacking in my opinion. It may be fine for your purposes.

ealdent
Which Java library would you recommend? I am looking for something that is efficient at recognising organization names and locations.
dagda1
The Stanford NER system is good: http://nlp.stanford.edu/ner/index.shtml
ealdent