Evaluate news article using Natural language processing
The goal of this project is to practice with:
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.
We could spend years and get a masters degree focusing on the details of creating NLP systems and algorithms. Typically, NLP programs require far more resources than individuals have access to, but a fairly new API called Meaning cloud has put a public facing API in front of their NLP system. We will use it in this project to determine various attributes of an article or blog post.
If you would like to use this project, start by forking this repo and begin your project setup.
Once you clone, you need to install all node modules by running
cd
into your new folder and run:
npm install
Here i use Meaning cloud API to get Sentiment Analysis and NLP.
This project runs on a local server. It uses Node. If you don’t have Node already installed on your machine, you can download it here.
First, you will need to go Meaning Cloud developer Page . Signing up will get you an API key. The sign-up page is here.
After you get your API key, make a file called .env in the project root folder. File should contain:
API_KEY={your key here}
When those packages have installed, make builds and start the server with the following commands (note that the build-dev runs webpack-dev-server)
npm run build-dev
npm run build-prod
npm run start