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 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.0.4.tar.gz (1.9 kB view hashes)

Uploaded Source

Built Distribution

NLP_python-1.0.4-py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 3

Supported by

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