Code Monkey home page Code Monkey logo

nlp's Introduction

Evaluate Articles with NLP

Webpage as interface to the AYLIEN entity extraction API. The user can enter a url to an article or a custom text for entity extraction.

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

cd into your new folder and run:

  • npm install

Setting up the AYLIEN API

Step 1: Signup for an API key

First, you will need to go here. Signing up will get you an API key.

Step 2: Install the SDK

Next you'll need to install the SDK. The page is available here.

Step 3: Configure API credentials

  • Use npm or yarn to install the dotenv package npm install dotenv.
  • Create a new .env file in the root of your project
  • Go to your .gitignore file and add .env
  • Fill the .env file with your API keys like this:
API_ID=**************************
API_KEY=**************************

Build and run the application

Step 1: Run the build script

$ npm run build-prod

or (for dev)

$ npm run build-dev // runs on http://localhost:8080

Step 2: Run node server

After the build process is completed, start your node server.

$ node index.js

Step 3: Start using the application

Navigate to:

http://localhost:8081

and have fun :-)

Test application

Run

$ npm run test

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.