Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sentiment-analysis-comparison

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sentiment-analysis-comparison

A module for easy sentiment analysis module comparison

  • 1.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

SentimentAnalysisPlugin

Sentiment Analysis Module Comparison

Modules

  • EmotionsMultiLang
  • Salient
  • Sediment
  • Sentiment
  • Sentimental
  • SentimentAlyze
  • SentiWord

Installation

npm install sentiment-analysis-comparison

Usage

To use the sentiment analysis module comparison you have to create a SentimentAnalyzer object with at least a SentimentAnalysingModule of your choice (default is sentiment). You can also choose a language (if supported) for your SentimentAnalyzer.

Now you can call the analyzeForJsonResult function with your input as parameter to run the selected sentiment analyzer.

import { SentimentAnalyzer } from 'sentiment-analysis-comparison';
import { Language } from 'sentiment-analysis-comparison';
import { SentimentAnalysingModule } from 'sentiment-analysis-comparison';

const EXAMPLE_INPUT = 'This is good';

    let sentimentAnalyzer = new SentimentAnalyzer(SentimentAnalysingModule.SentiWord);
    sentimentAnalyzer.analyzeForJsonResult("This is good").then(result => console.log(result));

Keywords

FAQs

Package last updated on 03 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc