-1

I'm trying to find a ruby gem that allows me to process English.

I wonder if there's a gem that can detect a subject in a phrase and its predicate easily.

If there's not a gem, is there an easy algorithm in ruby to do that?

4

1 に答える 1

1

They key search phrase you need is Natural Language Processing, or NLP. Here are some older SO questions on the topic:

https://stackoverflow.com/questions/3776361/ruby-nlp-libraries

Natural Language Processing in Ruby

于 2012-09-17T02:07:05.287 に答える