Skip to content

Udacity® Front End Web Developer Project: Building an app that evaluates a news article with natural language processing

Notifications You must be signed in to change notification settings

Loromi/evaluate-news-nlp

Repository files navigation

Evaluate a news article with natural-language-processing

This project was made as part of Udacity's Front End Web Development nanodegree using following technologies:

Short explanation of NLP

(from: https://en.wikipedia.org/wiki/Natural_language_processing)

Natural language processing (NLP) is a subfield of computer science, information engineering, and artificial intelligence concerned with the interactions between computers and human (natural) languages, in particular how to program computers to process and analyze large amounts of natural language data.

Getting started

Install Node environment

cd into your new folder and run:

  • npm install

Signup for an API key

Signing up here creates an API Key for MeaningCloud: https://www.meaningcloud.com/developer/login

Environment Variables

  • Create a new .env file in the root of your project
  • Go to your .gitignore file and add .env - this will make sure that we don't push our environment variables to Github! If you forget this step, all of the work we did to protect our API key was pointless.
  • Fill the .env file with your API key like this:
API_KEY=**************************

bash commands

  • setup development environment:
$ npm run build-dev
  • setup production environment:
$ npm run build-prod
  • start the app on 'localhost:8080':
$ npm start
  • run all jest tests:
$ npm test

Example

Screenshot 2022-01-26 at 18 46 36

About

Udacity® Front End Web Developer Project: Building an app that evaluates a news article with natural language processing

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published