Coder Social home page Coder Social logo

ag-sc / jlink Goto Github PK

View Code? Open in Web Editor NEW
3.0 5.0 0.0 151 KB

A Joint Entity Recognition and Linking Tool for technical Domains using Undirected Probabilistic Graphical Models with BiGram (former BIRE)

License: Apache License 2.0

Java 100.00%

jlink's Introduction

JLink

A Joint Entity Recognition and Linking Tool for Technical Domains using Undirected Probabilistic Graphical Models with BiGram (former BIRE)

NOTE: The documentation is far from being complete. If you have any issues feel free to write me an email. I will try to add more documentation by time.

Quick start:

  1. Clone BIRE simplified-api branch from: https://github.com/ag-sc

  2. Clone this project.

  3. Import projects into your IDE-workspace (preferably eclipse).

  4. Build maven. (If necessary)

  5. Update config file "config/BC5_test_dataset.properties" and create folder structure in workspace project.

  6. Download files from:

    6.1 CDR_Corpus http://www.biocreative.org/resources/corpora/biocreative-v-cdr-corpus/

    6.2 CTD_diseases "CTD_diseases.tsv.gz" (tsv-version) http://ctdbase.org/downloads/

    6.3 CTD_chemicals "CTD_chemicals.tsv.gz" (tsv-version) http://ctdbase.org/downloads/

    6.4 Stanford-postagger (english-bidirectional-distsim.tagger) https://nlp.stanford.edu/software/tagger.shtml

  7. Copy requiered files according to your config-file. Training, Dev, and Test data can be found in the downloaded zip-folder in CDR_Data/CDR.Corpus.vxxxxxxx/*PubTator.txt.

  8. Since a lot of things are loaded to memory, we need approx. 8g to run smooth. In Eclipse add -Xmx8g to VM Arguments.

  9. Run the Main.java

HINT:

If you want to test only on test data, merge training and development files from CDR_Corpus into one file. Use this as training data corpus.

If you want to apply a learned model to completely new data, merge all three files (train, develop, test) into one big file and use this for training.

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.