Package: exsclaim
AutomaticEXtraction,Separation, andCaption-based naturalLanguageAnnotation ofIMages from scientific figures
[wiki] [paper]🤔 Consider CollaborationIf you find this tool or any of its derived capabilities useful, please consider registering as a user of Center for Nanoscale Materials. We will keep you posted of latest developments, as well as opportunities for computational resources, relevant data, and collaboration. Please contact Maria Chan (mchan@anl.gov) for details.IntroductionEXSCLAIM! is a Python package that can be used for the automatic generation of datasets of labelled images from published papers. It in three main steps:JournalScraper: scrap journal websites, acquiring figures, captions, and metadataCaptionDistributor: separate figure captions into the component chunks that refer to the figure's subfiguresFigureSeparator: separate figures into subfigures, detect scale information, label, and type of imageYou can use exsclaim as a:direct python importfrom exsclaim.pipeline import Pipeline
test_pipeline = Pipeline(query)
results = test_pipeline.run()command line interface$ exsclaim run /path/to/query.jsonuser interfaceUsing EXSCLAIMRequirementsEXSCLAIM works with Python 3.6+. We recommend using a conda or python environment to install dependencies. To use the pipeline, you need a Query on which to run the pipeline. The query can be a JSON or Python dictionary (depending on how you are accessing the pipeline) and must have the parameters(/keys/attributes) defined in theQuery JSON schemaand examples can be foundin the query directory.InstallationThere are multiple ways to use EXSCLAIM. If you wish to develop or modify the source code, seeGit Cloneinstallation instructions. If you simply wish to utilize the package, see thePipinstallation instructions. For utilizing EXSCLAIM's User Interface (which is useful if you want to avoid writing any code or want an easy to way to view results), seeUIinstructions.PipTo install the latest stable release:pip install exsclaim
python -m spacy download en_core_web_smGit CloneTo install directly from github, run the following commands (it is recommended to run in a conda or python virtual environment):git clone https://github.com/MaterialEyes/exsclaim.git
cd exsclaim
pip setup.py install
python -m spacy download en_core_web_smIf you run into errors, please checkTroubleshooting. If they persist, please open an issue.AcknowledgementsThis material is based upon work supported by Laboratory Directed Research and Development (LDRD) funding from Argonne National Laboratory, provided by the Director, Office of Science, of the U.S. Department of Energy under Contract No. DE-AC02-06CH11357This work was performed at the Center for Nanoscale Materials, a U.S. Department of Energy Office of Science User Facility, and supported by the U.S. Department of Energy, Office of Science, under Contract No. DE-AC02-06CH11357.We gratefully acknowledge the computing resources provided on Bebop, a high-performance computing cluster operated by the Laboratory Computing Resource Center at Argonne National Laboratory.CitationIf you find EXSCLAIM! useful, please encourage its development by citing the followingpaperin your research:Schwenker, E., Jiang, W. Spreadbury, T., Ferrier N., Cossairt, O., Chan M.K.Y., EXSCLAIM! - An automated pipeline for the construction and
labeling of materials imaging datasets from scientific literature. arXiv e-prints (2021): arXiv-2103Bibtex@article{schwenker2021exsclaim,
  title={EXSCLAIM! - An automated pipeline for the construction of labeled materials imaging datasets from literature},
  author={Schwenker, Eric and Jiang, Weixin and Spreadbury, Trevor and Ferrier, Nicola and Cossairt, Oliver and Chan, Maria KY},
  journal={arXiv e-prints},
  pages={arXiv--2103},
  year={2021}
}