Giter Club home page Giter Club logo

os_ai_cd's Introduction

Example pdf parser application using GROBID

DOI
This project has been developed within the Open Science and Artificial Intelligence in Research Software Engineering class.
This framework shows the power of the pdf parser grobid in combination with different xml parser by showing result for the following questions for scientific papers provided by the user.

  1. Keywordcloud of the abstract
  2. Number of figures
  3. List of links

##How to start

  1. Make sure you have GROBID installed and running
  • For example by using docker. Run:
    docker pull lfoppiano/grobid:0.7.2
    to install and
    docker run -t --rm -p 8070:8070 lfoppiano/grobid:0.7.2
    to start GROBID
  • For further information see the documentation
  1. Set up your environment
  • By running conda create --name <env> --file requirements.txt
  1. Provide your pdfs and run
  • Move your pdf to the resources directory OR choose your own directory by changing the RESOURCE_DIRECTORY constant in xml_parser.py
  • Start the application by running python xml_parser.py

XML Mode

If you want parse existing xml files. Set the MODE constant in xml_parser.py to "XML" provide your xml files in a directory and assign your directory to the XML_RESSOURCE_DIRECTORY constant in xml_parser.py

  • Now just start the feature extraction for xml files by running python xml_parser.py

Documentation

See full documentation at https://os-ai-cd.readthedocs.io/en/latest/

os_ai_cd's People

Contributors

frozd avatar

Watchers

 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.