Skip to content

Latest commit

 

History

History
78 lines (56 loc) · 2.05 KB

README.md

File metadata and controls

78 lines (56 loc) · 2.05 KB

Abstractor

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.

Status

Gem Version

Requirements

Abstractor works with:

Some key dependencies are:

Install

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:

  • bundle install
  • bundle exec rails g abstractor:install
  • bundle exec rake db:migrate
  • bundle exec rake abstractor:setup:system

Install the paper_trail gem (if it is not already installed in your application).

  • bundle exec rails g paper_trail:install
  • bundle exec rake db:migrate

Test me