This project uses the AYLIEN Text Analysis API to implement Natural Language Processing (NLP) on news articles. Wikipedia states that:
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.
A website URL is submitted, and the content of the page is analyzed. The article can be subjective (opinion) or objective (fact-based) and can also be positive, neutral, or negative in tone.
Found in this project are:
- Webpack
- Sass styles
- Webpack Loaders and Plugins
- Service workers
- AYLIEN API
-
Clone the repository
-
cd
into your new folder and run:npm install
-
Create a new .env file containing the following environment variables for the AYLIEN API:
- API_ID
- API_KEY
-
Run
npm run build-prod
in the terminal -
Open another terminal and run:
npm start
to start your Node.js server