hq-jiang / front-end-evaluate-news-nlp

This project uses the Aylien API to evaluate the sentiment of a given text with natural language processing methods

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This code is a modified version of https://github.com/udacity/fend/tree/refresh-2019/projects/evaluate-news-nlp and part of the Front End Developer Nanodegree.

Evaluate News with Natural Language processing

This project uses the Aylien API to evaluate the sentiment of a given text with natural language processing methods. One pass some custom text or a url, and it will output the polarity (good or bad mood) and the subjectivity of the text. There are two modes, tweet for shorter text and document for longer text. It also demonstrates the use of webpack, a static bundler and build tool, with various plugins like Babel, Sass and Workbox.

Installation

# Install dependencies
npm install

# For development build run
npm run build-dev

# For production build run
npm run build-prod

# To start the server
npm run start

About

This project uses the Aylien API to evaluate the sentiment of a given text with natural language processing methods


Languages

Language:JavaScript 67.1%Language:SCSS 18.7%Language:HTML 14.2%