Skip to content

Latest commit

 

History

History
27 lines (25 loc) · 417 Bytes

README.md

File metadata and controls

27 lines (25 loc) · 417 Bytes

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)