chemnlp-2023.3.4
توضیحات
chemnlp
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | chemnlp-2023.3.4 |
| نام | chemnlp |
| نسخه کتابخانه | 2023.3.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Kamal Choudhary, Mathew Kelley |
| ایمیل نویسنده | kamal.choudhary@nist.gov |
| آدرس صفحه اصلی | https://github.com/usnistgov/chemnlp |
| آدرس اینترنتی | https://pypi.org/project/chemnlp/ |
| مجوز | - |
[](https://colab.research.google.com/github/knc6/jarvis-tools-notebooks/blob/master/ChemNLP_Example.ipynb)
# ChemNLP
# Table of Contents
* [Introduction](#intro)
* [Installation](#install)
* [Examples](#example)
* [Web-app](#webapp)
* [Reference](#reference)
<a name="intro"></a>
Introduction
-------------------------
ChemNLP is a software-package to process chemical information from the scientific literature.
<a name="install"></a>
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
```
<a name="example"></a>
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
```
<a name="webapp"></a>
Using the webapp
---------
The webapp is available at: https://jarvis.nist.gov/jarvischemnlp

<a name="reference"></a>
Reference
---------
[ChemNLP: A Natural Language Processing based Library for Materials Chemistry Text Data](https://arxiv.org/abs/2209.08203)
نیازمندی
| مقدار | نام |
|---|---|
| >=1.22.0 | numpy |
| >=1.6.3 | scipy |
| >=2021.07.19 | jarvis-tools |
| >=1.3.0 | ChemDataExtractor |
| >=3.4.1 | matplotlib |
| >=3.9.1 | flake8 |
| >=2.7.0 | pycodestyle |
| >=6.0.0 | pydocstyle |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl chemnlp-2023.3.4:
pip install chemnlp-2023.3.4.whl
نصب پکیج tar.gz chemnlp-2023.3.4:
pip install chemnlp-2023.3.4.tar.gz