Git Product home page Git Product logo

cochrane-nlp's People

Contributors

bwallace avatar ijmarshall avatar joelkuiper avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cochrane-nlp's Issues

incorrect tokenization of e.g. 'N=192' in tokenizer.py

change to tokenize 'N=192' as 'N', '=', '192'

NLTK's word_tokenizer retains 'N=192' as a single word token; which means that our ML tools are retrieving 'N=192' as the population size.

Ideally, it would be tokenized as 'N', '=', '192', to be able to use the 'N=' as features, but also since the distant supervision requires the integer in order to match between the Cochrane and pubmed datasets.

However, the old hack way of doing it (re substitution pre-processing) will not work for any annotated data, since pretty much all instances will be tagged as e.g. 'N=<n>192</n>'

quality.py - Dealing with multiple quotes in Cochrane risk of bias data

Currently quality.py uses the regex "Quote\:\s*[\'\"](.*?)[\'\"]") to get the first quotation from the Cochrane data.

This mostly works, but misses some data in the case where there are multiple quotes given to justify a domain

Quote: "… randomized into intervention (n = 1718) and control
(n = 1714) groups by an based on simple randomization. " "The
subjects were informed by letter to which group they were
randomized. The letter contained information concerning the
trial and the prescription for the intervention."

The code should identify and tag the text from both quotes in the full text of the study, rather than just the first where this happens.

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.