An asynchronous web app that runs SENTIment analysis on your articles using Natural Language Processing via the AYLIEN API.
The AYLIEN Text Analysis API is a package of Natural Language Processing and Machine Learning-powered APIs for analyzing and extracting various kinds of information from textual content.
Allows users to run Natural Language Processing (NLP) on articles or blogs by simpling entering the URL. The Sentiment Analysis API will analyse the text and return pertinent information about the article, like whether the content is subjective (opinion-based) or objective (fact-based) and whether it is positive, neutral, or negative in tone.
Node and express will be the webserver and routing of choice, and webpack is used as the build tool. Using webpack, you have the option of building both development and production environments, each with their own set of tools and commands with package.json scripts.
- HTML
- SASS
- Javascript
- Server: Node.js
- Router: Express
- Build Tool: Webpack Loaders and Plugins
- External Script: Service workers
- External API: AYLIEN
- Testing: JEST
-
Clone project repository:
$ git clone https://github.com/Enid-Sky/evaluate-the-news-nlp.git
-
Install all development dependencies and dependencies of the package.json:
npm install
-
Get an API Key and ID from Aylien and save it to the file called .env:
API Key = <Your Key>
API ID = <Your ID>
npm run build-dev
npm run build-prod
npm run start
npm jest-test
CTRL + C