Skip to content

jordan-gillard/natural-language-processing-website

Repository files navigation

Natural Language Processing Website

About

This website was created for Udacity's Front End Developer nanodegree. Instead of using the base code provided by Udacity, I decided to build everything from scratch.

The website uses AYLIEN, a NLP API which can analyze bulk amounts of news articles & free text.

Usage

Install dependencies

In your terminal, type:

npm install package.json

How to run the backend server

In your terminal, type:

npm run start-backend

Note: by default the backend server serves the index.html file from dev/prod. For development, you should use the dev server below.

How to start the dev server

In your terminal, type:

npm run start-dev-server

This will automatically open a webpage with index.html open. The dev build will be available under dist/dev

How to create production build

In your terminal, type:

npm run build-prod

The production build will be available under dist/prod

How to create development build

In case you don't want to use the development server, you can create the dev build this way. In your terminal, type:

npm run build-dev

The production build will be available under dist/dev

How to run tests

At the moment there's only one test for one JavaScript function. If you want to run it, type the following in your terminal:

npm run test

About

Takes text and classifies it using AYLIEN's NLP API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published