Coder Social home page Coder Social logo

sentient-analyzer's Introduction

Sentient Analyzer

This is a simple project for analyzing articles, news, and text using Natural Language Processing via the services offered by Meaning Cloud API.

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.

Overview

Tech Stack

Tech stack includes:

  • Sass as my CSS preprocessor for styling.
  • Webpack as my build tool.
  • Babel for using the latest ES syntax, while maintaining support for older browser.
  • Express as my Node.js backend framework.

Main Files: Project Structure

├── README.md
├── webpack.dev.js ***  Webpack development environment configuration.
├── webpack.prod.js ***  Webpack production environment configuration.
├── package.json *** Project dependencies.
├── __test__ *** Project testing suites.
└── src
    ├── client
    |   ├── js
    |   ├── styles
    |   ├── views
    |   └── index.js
    └── server
        └── index.js

Getting started

Installing Dependencies

cd into the project's root directory and run:

npm install

Setting up the API

This project uses the Meaning Cloud API to handle the natural language processing part.

You need to signup for a new account, if you don't have one already. Then head to here and under the Your subscriptions section you will find your API key.

Now create a .env file in the root directory of the project and inside it add the following:

MEANING_CLOUD_API_KEY=<your_api_key>

Running the App

To run the application in production mood, firstly create the build file by executing:

npm run build-prod

Now, to the run the local production server, run:

npm start

The app should now be running at localhost:8081.

Testing

Make sure to be in the project's root directory, then to run all test suites, execute:

npm run test

sentient-analyzer's People

Contributors

ahmedbaligh avatar dependabot[bot] avatar

Watchers

 avatar

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.