Project

abstractor

0.01
No commit activity in last 3 years
No release in over 3 years
A Rails engine gem for deriving discrete data points from narrative text via natural language processing (NLP). The gem includes a user interface to present the abstracted data points for confirmation/revision by curator.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.4.3, ~> 1.4.3
>= 2.4.0, ~> 2.4.0
>= 1.4.0, ~> 1.4.0
>= 1.3.0, ~> 1.3.0
>= 4.4.0, ~> 4.4.0
>= 3.1.1, ~> 3.1.1
>= 3.0.0, ~> 3.0.0
>= 2.42.0, ~> 2.42.0
>= 2.12.1, ~> 2.12.1
>= 1.3.9, ~> 1.3.9
>= 1.2.0, ~> 1.2
>= 0.8.7.3, ~> 0.8.7.3

Runtime

>= 4.0.0, ~> 4.0
>= 4.0.5, ~> 4.0.5
>= 0.13.3, ~> 0.13.0
>= 4.0.0, ~> 4.0.0
>= 4.2.0, ~> 5.0
>= 3.0.0, ~> 3.0.0
~> 4.1
>= 1.1.0, ~> 1.1.0
>= 4.0.0
 Project Readme

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