Giter Site home page Giter Site logo

gsoc_2013's Introduction

What I did till can be majorly broken into two parts:

  1. To make dictionary for Apache cTAKES
  2. Use the extracted terms and look-up using Lucene to get the HPO code

For first I wrote python code (getDictionary.py) to build the dictionary (dictionary1.csv) and the file to be indexed using Lucene for later search (indexing.csv). This codes reads data from hp.obo file

Second one is a java code having four methods. First it loads the terms from indexing.csv file. Second it creates the index-directory using Lucene. Third it reads from the file.txt (which holds the extracted terms from cTAKES) and Fourth one searches for the term.

The Workflow:

Need to change cTAKES_HOME/desc/ctakes-dictionary-lookup/desc/analysis_engine/DictionaryLookupAnnotatorCSV.xml to include dictionary1.csv

Change cTAKES_HOME/desc/ctakes-clinical-pipeline/desc/analysis_engine/AggregatePlainTextProcessor.xml to use DictionaryLookupAnnotatorCSV.xml as the dictionary Annotator

Also change cTAKES_HOME/resources/org/apache/ctakes/dictionary/lookup/LookupDesc_csv_sample.xml as given.

The input test data can be obtained from omim.org.

Now the extracted terms were manually written in the file.txt (integration of cTAKES to automatically pass the extracted terms was left) and then searched for using Lucene.

gsoc_2013's People

Contributors

ravigarg27 avatar

Watchers

James Cloos 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.