GithubHelp home page GithubHelp logo

evaluate-news-nlp's Introduction

Project Description

This project is a web tool that allows users to run Natural Language Processing (NLP) on articles or blogs found on other websites by giving the destination URL. Using an exciting new api called Aylien. This tool will give us back pertinent information about the article, whether the content is subjective or objective, whether it is positive, neutral, or negative in tone and the evaluated article with some basic information.

Project Instructions

  • npm run build-dev: to run development mode
  • npm run build-prod: to build the production version of the project
  • npm run start: to run the express server
  • npm run test: to test the project functionallities

Getting started

  • execute the command: npm install to install the required packages.

Setting up the API

Step 1: Signup for an API key

First, you will need to go here. Signing up will get you an API key. Don't worry, at the time of this course, the API is free to use up to 1000 requests per day or 333 intensive requests. It is free to check how many requests you have remaining for the day.

Step 2: Environment Variables

Next we need to declare our API keys, which will look something like this:

// set aylien API credentias
var textapi = new aylien({
  application_id: "your-api-id",
  application_key: "your-key"
});
  • Create a new .env file in the root of the project
  • Fill the .env file with your API keys like this:
API_ID=**************************
API_KEY=**************************

evaluate-news-nlp's People

Contributors

mohamedtebba avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.