Natural Language Processing to detect sentences are positive or negative
Project description
Reuters News
Natural Language Processing to detect sentences are positive or negative
Install
pip install NLP-python
Usage
- Initializing
from NLP import NLP
nlp = NLP()
- Traning Input a list of sentences, it will create a model file
nlp.training(list)
- Get model file
nlp.getModel()
- Match your sentence(list) to model, it will return a score
nlp.match(sentence)
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
NLP-python-1.1.0.tar.gz
(1.9 kB
view details)
Built Distribution
File details
Details for the file NLP-python-1.1.0.tar.gz
.
File metadata
- Download URL: NLP-python-1.1.0.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eabe1fc7d5f8752bf19bea3da8f1bacab237be1d6ca4fe0f79719f9095c7d026 |
|
MD5 | 8467b40a577c8a48a8d996f2e1692d55 |
|
BLAKE2b-256 | 5c47f025d9d1ae48b8ca2a0dc84eb72189c13616f5389b478b3bf4cec781b60f |
File details
Details for the file NLP_python-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: NLP_python-1.1.0-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c75c4e6a3eb4fb2d4471b733c6c61046384d34ba8fe7caec0d4469538252e61 |
|
MD5 | 5273bb60a1c30000f948629e6a2ac5c7 |
|
BLAKE2b-256 | 962a0e8c25691190780f5e65f32b29907a852e5632b2074b7fa96a7c7679d2f0 |