Rundown is a simple Natural Language Processor built with Ruby, inspired by Knwl.js. Rundown scans through text, user data, or just about anything for likely data of interest, phone numbers, dates, locations, emails, times, phrase frequency and overall emotion.
This project is under active development. A lot of methods won't be the most efficient or accurate ways to find the information, however the focus is getting in a good approximation of these functions so as to be usable and further improving on them as we go.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install rundown
rd = Rundown.parse("I'll see you on the 18th, give me a ring on 07912 345 678. - Jerertt, firstname.lastname@example.org") rd.emails => ["email@example.com"] rd.phones => ["07912 345 678"] rd.sentiment => -0.5333 rd.dates => [#<Date: 2013-12-18>]
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request
- Phone numbers need country code
Project released under an MIT license.