Giter Club home page Giter Club logo

limesoup's Introduction

LimeSoup

LimeSoup is a package to parse HTML or XML papers from different publishers. It can be used to feed a database.

Build Status

Usage

Full Usage:

from LimeSoup import (
    ACSSoup, 
    AIPSoup,
    APSSoup, 
    ECSSoup, 
    ElsevierSoup, 
    IOPSoup, 
    NatureSoup, 
    RSCSoup, 
    SpringerSoup, 
    WileySoup,
)


with open(article, 'r', encoding = 'utf-8') as f:
    html_str = f.read()

***Choose correct publisher
data = ECSSoup.parse(html_str)

with open('file_test.json', 'w', encoding = 'utf-8') as f:
    json.dump(data, f, sort_keys=True, indent=4, ensure_ascii=False)

Currently, we have implemented the following parsers:

Development documentation

Please refer to the wiki pages.

Change logs

Please see change logs.

Credits

LimeSoup was contributed to by these genius people:

  • Tiago Botari
  • Ziqin Rong
  • Vahe Tshitoyan
  • Nicolas Mingione
  • Jason Madeano
  • Haoyan Huo
  • Tanjin He
  • Zach Jensen
  • Alex van Grootel
  • Edward Kim
  • Haihao Liu
  • Zheren Wang

If you are planning to use LimeSoup in your work, please consider citing the following paper:

  • Kononova et. al "Text-mined dataset of inorganic materials synthesis recipes", Scientific Data 6 (1), 1-11 (2019) 10.1038/s41597-019-0224-1

limesoup's People

Contributors

hhaoyan avatar tiagobotari avatar vtshitoyan avatar zherenwang avatar zjensen262 avatar eddotman avatar shaunrong avatar grootel avatar nicolas-mng avatar jmadeano avatar hhliu0 avatar olgagkononova 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.