Skip to content

A tool to analyze bodies of text using Natural Language processing.

Notifications You must be signed in to change notification settings

alfonsoruiz/text-analysis

Repository files navigation

Maintainability

NLP News Analyzer

NLP news analyzer is a web application that allows users to use Natural Language Processing to determine the sentiment, subjectivity and irony of a story all by just inputing any valid url into the search box. Results will also yield a percentage level value of the confidence in the analysis.

Natural Language Processing

Meaning Cloud Sentiment Analysis API was used to preform the analysis. You can read more about it here.

Built With

JavaScript | Node | Express | Sass | Webpack |

Installation

  1. Get free API Key for NLP @ meaningcloud.com
  2. Clone Repo
git clone https://github.com/alfonsoruiz/text-analysis.git
  1. install dependencies
npm install

Environment Variables

Setup enviroment variables to learn more read about .env

  1. Create environment variables with desired port number
PORT=XXXX
process.env.PORT
  1. Create environment variable for API Key
API_KEY = '[key from meaning cloud api]'
process.env.API_Key

Development Mode

  1. Run project in development using webpack dev server
npm run build-dev
  1. Start Local Server
npm start

Production Mode

  1. Run project in production mode
npm run build-prod
  1. Start Local Server
npm start

Live Example

See a live example of the site NLP News Analyzer

About

A tool to analyze bodies of text using Natural Language processing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published