Abstractor is a Rails engine gem for deriving and curating discrete data points from narrative text via natural language processing (NLP).
Abstractor is a Rails engine gem for deriving discrete data points
from narrative text via natural language processing. The gem includes
a user interface to present the abstracted data points for
confirmation/revision by a curator.
Abstractor works with:
= Rails 4.1
Some key dependencies are:
Gems
JavaScript
Java
Add abstractor to your Gemfile:
gem 'abstractor'
or if using Rails 3
gem 'abstractor', :git => 'https://github.com/NUBIC/abstractor', branch: 'rails-3'
Add our foked and released version of stanford-core-nlp gem to your Gemfile. Currently we need to use our fork until the official gem releases a new version:
gem 'stanford-core-nlp-abstractor'
Also add the paper_trail gem to your Gemfile (if it is not already there):
gem 'paper_trail'
Bundle, install, and migrate. The abstractor:install generator can take a long time because it needs to download and intall the Stanford CoreNLP library into your application’s lib directory:
Install the paper_trail gem (if it is not already installed in your application).
Test me