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.
Meaning Cloud Sentiment Analysis API was used to preform the analysis. You can read more about it here.
JavaScript | Node | Express | Sass | Webpack |
- Get free API Key for NLP @ meaningcloud.com
- Clone Repo
git clone https://github.com/alfonsoruiz/text-analysis.git
- install dependencies
npm install
Setup enviroment variables to learn more read about .env
- Create environment variables with desired port number
PORT=XXXX
process.env.PORT
- Create environment variable for API Key
API_KEY = '[key from meaning cloud api]'
process.env.API_Key
- Run project in development using webpack dev server
npm run build-dev
- Start Local Server
npm start
- Run project in production mode
npm run build-prod
- Start Local Server
npm start
See a live example of the site NLP News Analyzer