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."
- 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.
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.
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:
- Fork this repository
- Download the word embeddings model and configuration file - Available here: http://superalloydigger.mgedata.cn/#/home
- Download all files and place in the tableextractor/bin folder
- Place all files in superalloydigger/data
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
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.
All source code is licensed under the MIT license.