Coder Social home page Coder Social logo

scidt-pipeline's Introduction

This system is specfically designed to prepare data for the 'Science Discourse Tagger' https://github.com/BMKEG/sciDT orignally developed by Ed Hovy's group at CMU. These are UIMA pipelines that process open access articles from PubMed Central to generate split-clause data to be processed by sciDT. We also provide scripts to facilitate gathering training data from human annotations and export functions to our preferred output formats.

Instructions for Mac

  1. Install the necessary dependencies for nxml2txt:
sudo port install texlive-latex texlive-latex-recommended texlive-latex-extra py-lxml
  1. Install nxml2txt and add the binary to your $PATH:
git clone https://github.com/spyysalo/nxml2txt.git
cd nxml2txt
chmod 755 nxml2txt nxml2txt.sh
  1. Clone and build this library
git clone https://github.com/BMKEG/sciDT-pipeline
cd sciDT-pipeline
mvn -DskipTests clean assembly:assembly

This will build a fully assembled jar file here:

  1. Running the system is best performed using the provided shell script that executes the edu.isi.bmkeg.sciDT.bin.SciDT_0_Nxml2SciDT class.
./runPipeline /path/to/folder/ #nThreads /path/to/nxml2txt/executable

Where #nThreads is the number of threads we want to run the preprocessing pipeline on.

This should run to generate a number of files in subfolders. These are:

  • nxml2txt
  • bioc
  • preprocessed_bioc_results
  • scidt
  • tsv

The input files for the main sciDT system are in (A) the scidt folder and (B) the tsv folder

scidt-pipeline's People

Contributors

gullyapcburns avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.