Skip to main content

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.

Files for NLP-python, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size NLP_python-1.1.0-py3-none-any.whl (3.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size NLP-python-1.1.0.tar.gz (1.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page