Skip to content

A web tool that allows users to run Natural Language Processing (NLP) on articles or blogs found on other websites. Using an API called Sentiment Analysis system. This tool will give back pertinent information about the article: whether the content is subjective (opinion) or objective (fact-based) and whether it is positive, neutral, or negative…

Notifications You must be signed in to change notification settings

techiepenman/Evaluate-a-news-article-with-NLP

Repository files navigation

Project

Evaluate a News Article with Natural Language Processing The app gets the user's input which can be a url of an Article and through an external API call runs Natural Language Processing (NLP). Then the text is extracted and analyzed to determine if it expresses a positive/negative/neutral sentiment. The result of the analysis displays on the screen.

Motivation

Practice using module bundlers specifically Webpack and perform configurations to bundle all assets. Getting familiar with Sass and service workers. API call from the server side and update UI on the client side.

Install

  • Fork or clone the repository.
  • Install npm in the root directory where the project is located. npm install By doing that, all the dependencies associated with this project will be installed.

API Key

The project will need to make a call to MeaningCloud Sentiment Analysis API to post and receive data. For security reasons, the API key is not provided in this project so you will need to get the credentials from MeaningCloud. Once the key is obtained, simply create a new variable named apiKey in the index.js on the server side and assign the api key to that.

Run

The app can be executed from the command line. Depends on what environment you like to run the app, the command would be as such:

  • For development mode:
    npm run build-dev
  • For production mode:
    npm run build-prod
  • Then run the server:
    npm start
  • Open the browser and the app is running on port 8081

About

A web tool that allows users to run Natural Language Processing (NLP) on articles or blogs found on other websites. Using an API called Sentiment Analysis system. This tool will give back pertinent information about the article: whether the content is subjective (opinion) or objective (fact-based) and whether it is positive, neutral, or negative…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published