Coder Social home page Coder Social logo

omicsnlp / auto-corpus Goto Github PK

View Code? Open in Web Editor NEW
17.0 1.0 8.0 55.75 MB

Auto-CORPus pipeline developed by a University of Nottingham and Imperial College London collaboration to standardize text and table data extracted from full text publications. See Open Access publication at: https://doi.org/10.3389/fdgth.2022.788124.

License: GNU General Public License v3.0

Python 100.00%
nlp text-processing bioc semantics

auto-corpus's People

Stargazers

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

Watchers

 avatar

auto-corpus's Issues

Change location of logfile

@Tom-Shorter can we place the log file in the target_dir rather than base AC directory?
I think it's easier for users to see it there when inspecting their files?

License

Thanks for the useful library! I wonder if the authors could please clarify under which license the code is released?

attrs for paragraphs - no longer uses ID

The config_pmc.json file will fail for new HTML files from PMC due to the fact that the id tag is gone from the paragraph tag.

I suggest to change it to (where the first part includes Valentina's fix for some articles, and the second part is new to work on new PMC files):

"paragraphs": {
  "data": {},
  "defined-by": [
    {
      "tag": "p",
      "attrs": {"id": "_*[pP\\-|pP|Par]*\\d+"}
    },
	{
      "tag": "p",
      "attrs": {"class": "p"}
    }
  ]
},

Change to abbreviation algorithm

I noticed a change compared to a previous version of the algorithm:

if key.lower() not in lc_author_keys:

Above only new terms from full text are added to those found from an abbreviations section.
There is an exception for which this is not ideal: when the same abbreviation is used for different terms in the same text.
It will only keep the first one (likely the one in the abbreviation section).

@Tom-Shorter, can we change the output to a list and if the abbreviation section and full text algorithm are the same, then skip, but otherwise list both abbreviations. Test with PMC4068805 (where RP is defined in abbreviation section as reverse phase, but in the text as reversed phase (this one is correct actually)).

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.