Skip to main content

chemnlp

Project description

name

ChemNLP

Table of Contents

Introduction

ChemNLP is a software-package to process chemical information from the scientific literature.

Installation

First create a conda environment: Install miniconda environment from https://conda.io/miniconda.html Based on your system requirements, you'll get a file something like 'Miniconda3-latest-XYZ'.

Now,

bash Miniconda3-latest-Linux-x86_64.sh (for linux)
bash Miniconda3-latest-MacOSX-x86_64.sh (for Mac)

Download 32/64 bit python 3.8 miniconda exe and install (for windows) Now, let's make a conda environment, say "chemnlp", choose other name as you like::

conda create --name chemnlp python=3.8
source activate chemnlp

Method 1 (using setup.py):

Now, let's install the package:

git clone https://github.com/usnistgov/chemnlp.git
cd chemnlp
python setup.py develop
cde data download

Method 2 (using pypi):

As an alternate method, ChemNLP can also be installed using pip command as follows:

pip install chemnlp
cde data download

Examples

Parse chemical formula

run_chemnlp.py --file_path="chemnlp/tests/XYZ"

Text classification example

python chemnlp/classification/scikit_class.py --csv_path chemnlp/sample_data/cond_mat_small.csv

Using the webapp

The webapp is available at: https://jarvis.nist.gov/jarvischemnlp

JARVIS-ChemNLP

Reference

ChemNLP: A Natural Language Processing based Library for Materials Chemistry Text Data

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chemnlp-2023.3.4.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

chemnlp-2023.3.4-py2.py3-none-any.whl (16.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file chemnlp-2023.3.4.tar.gz.

File metadata

  • Download URL: chemnlp-2023.3.4.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for chemnlp-2023.3.4.tar.gz
Algorithm Hash digest
SHA256 071b68f37ea3f121ea7b48bd3669a9be802e4cc624185a13de0f659e459ac6ba
MD5 cd40425f33f9bc6cfe9f3e02a4153beb
BLAKE2b-256 dd7816afd91c12cb44a37daefcfe6a2327a834d05d39cf77dfac3561bd449503

See more details on using hashes here.

File details

Details for the file chemnlp-2023.3.4-py2.py3-none-any.whl.

File metadata

  • Download URL: chemnlp-2023.3.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for chemnlp-2023.3.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 874943e24db7b8c8f6d4d227c023ecfbe327eae5ddfe784b3053594ef2b91612
MD5 4acdb28e229932026ef2ca2cf837cc07
BLAKE2b-256 d083f3e63ba40c653876c5083d332c0ef396fa56b7b03ae29d438afd6e942397

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page