GithubHelp home page GithubHelp logo

raymondwkwong / superalloydigger Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mgedata/superalloydigger

0.0 0.0 0.0 957 KB

The functions of superalloyDigger toolkit include batch downloading documents in XML and TXT format from the Elsevier database, locating target sentences from the full text and automatically extracting triple information in the form of <material name, property specifier, value>.

License: MIT License

Python 99.51% Jupyter Notebook 0.49%

superalloydigger's Introduction

Website

SuperalloyDigger.org

Website Supported Python versions

Automatic extraction of chemical compositions and properties from the scientific literature of superalloy, covering specific chemical composition, density, γ' solvus temperature, solidus temperature, and liquidus temperature. Starting with a corpus of scientific articles scraped in XML, HTML or plain text format, NLP techniques are used to preprocess the raw archived corpus, followed by text classifier and table parser, named entity recognition, relation extraction of text and table, and dependency parser automatically. Finally, the extracted tuple entities containing article doi, alloy named entity, property specifier, property value, element and fraction, are compiled into a highly structured format for materials database.

This package is released under MIT License, please see the LICENSE file for details.

This code and data is a companion to the paper, "Automated pipeline for superalloy data by text mining."

Features

  • An automated chemical composition and property data extraction pipeline for superalloy.
  • Rule-based named entity recognition for superalloy.
  • Algorithm based on distance and number of entities, processing multiple relationship extraction for text without labeling samples.
  • Table parser and table relation extraction algorithms to mine data from tables in documents
  • An interdependency parser to extract the information contain composition and property data simultaneous.

Function

Articles archive

Automatically archive relevant articles mainly from Elsevier and some other publishers. Combined with the CrossRef search Application Programming Interface (APIs) and Elsevier’s Scopus and Science Direct application programming interfaces (APIs), full text or abstract of corresponding field can be easily obtained. The premise is you have already got the copyright of the Elsevier database and applied for the APIkey of Elsevier. Users can find our source code at GitHub to use this function locally.

Superalloy word embedding

The word embedding model for superalloy corpus was pre-trained on ~9000 unlabeled full-text superalloy articles by Word2Vec continuous bag of words (CBOW) in gensim(https://radimrehurek.com/gensim/), which use information about the co-occurrences of words by assigning high-dimensional vectors (embeddings) to words in a text corpus, to preserve their syntactic and semantic relationships.

Superalloy property extractor

Automatic extraction of properties from the scientific literature of superalloy, covering density, γ' solvus temperature, solidus temperature, and liquidus temperature. Starting with a corpus of scientific articles scraped in XML or plain text format, NLP techniques are used to preprocess the raw archived corpus, followed by sentence classification, named entity recognition and relation extraction automatically. Finally, the extracted entities containing alloy named entity, property specifier and property value, are compiled into a highly structured format for materials database.

SuperalloyDigger Code

This code extracts data of property from TXT files. These TXT files need to be supplied by the researcher. The code is written in Python3. To run the code:

  1. Fork this repository
  2. Download the word embeddings model and configuration file - Available here: http://superalloydigger.mgedata.cn/#/home
  3. Download all files and place in the tableextractor/bin folder
  4. Place all files in superalloydigger/data

Usage

Clone this github repository and run

python3 setup.py install

Or simply use the code in your own project.

Note:The xlrd library version needs to be 1.2.0, run

pip install xlrd==1.2.0

Citing

If you use this work (data or code), please cite the following work as appropriate:

Wang W, Jiang X, Tian S, et al. Automated pipeline for superalloy data by text mining[J]. npj Computational Materials, 2022, 8(1): 1-12.

License

All source code is licensed under the MIT license.

superalloydigger's People

Contributors

weiren1996 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.