2017 © Pedro Peláez
 

library sentiment-analysis

Sentiment analysis library for PHP.

image

risan/sentiment-analysis

Sentiment analysis library for PHP.

  • Friday, March 11, 2016
  • by risan
  • Repository
  • 1 Watchers
  • 16 Stars
  • 690 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 2 Versions
  • 25 % Grown

The README.md

Sentiment Analysis

PHP Sentiment analysis library for classifying text into positive, negative, or neutral., (*1)

Installation

To install this library using Composer, run the following command inside your project directory:, (*2)

composer require risan/sentiment-analysis

Basic Usage

<?php
// Include composer autoloader file.
require __DIR__ . '/vendor/autoload.php';

// Create a new instance of analyzer with default configuration.
$analyzer = SentimentAnalysis\Analyzer::withDefaultConfig();

// Analyze the text.
$result = $analyzer->analyze('This PHP package is awesome');

// Get and print the category.
echo $result->category();

The Versions

11/03 2016

dev-master

9999999-dev https://github.com/risan/sentiment-analysis

Sentiment analysis library for PHP.

  Sources   Download

MIT

The Development Requires

analysis sentiment mining opinion

11/03 2016

dev-develop

dev-develop https://github.com/risan/sentiment-analysis

Sentiment analysis library for PHP.

  Sources   Download

MIT

The Development Requires

analysis sentiment mining opinion