Natural Language Processing (NLP)
This project is a web tool that allows users to run Natural Language Processing (NLP) on text from articles, blogs found on other websites ,or any text you would like to analyze. NLP is the ability of an application to understand the human language, written or oral.This tool will help the user classify the information available in the article, like whether the content is subjective (opinion) or objective (fact-based) and whether it is positive, neutral, or negative in tone. With the use of an external api called MeaningCloud API to do the language processing.
- Webpack
- Express
- Sass for styles
- Webpack Loaders and Plugins
- Service workers
- MeaningCloud API
- jest for testing
Follow the instructions below to setup the project locally.
Acquire credentials for the MeaningCloud API and save it in .env file in the main directory
- API_KEY= MeaningCloud API
Run the following command:
npm install
Run the following command if you want to bundle the modules for production:
npm run build-prod
or in development mode:
npm run build-dev
Run the following command to run the server: sever will be running on port 8081
npm start
Run the following command to run the server:
npm run test
