PHPackages                             wfphpnlp/sentistrength - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. wfphpnlp/sentistrength

ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

wfphpnlp/sentistrength
======================

PHP library for Indonesian text classification using the SentiStrength approach.

1.0.0(6y ago)020MITPHPCI passing

Since Jan 28Pushed 3w ago1 watchersCompare

[ Source](https://github.com/WillyFaq/sentistrength)[ Packagist](https://packagist.org/packages/wfphpnlp/sentistrength)[ RSS](/packages/wfphpnlp-sentistrength/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (1)Versions (4)Used By (0)

PHP sentistrength
=================

[](#php-sentistrength)

[![Build Status](https://camo.githubusercontent.com/ad0a48e2ddaefb273163f61dd91526f9411e5426d3808817b1bc91567424a4ea/68747470733a2f2f7472617669732d63692e6f72672f57696c6c794661712f73656e7469737472656e6774682e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/WillyFaq/sentistrength)![GitHub](https://camo.githubusercontent.com/4456948eb7db5513b7b7c8c8016394f7061395e368fa2ebf0ea4df723fae4235/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f57696c6c794661712f73656e7469737472656e677468)[![Packagist Version](https://camo.githubusercontent.com/7ade01eada943b9aec0e686dcefa906f86f6d3366f82161d9d1f04d765d925ab/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77667068706e6c702f73656e7469737472656e677468)](https://packagist.org/packages/wfphpnlp/sentistrength)

Library PHP untuk klasifikasi teks menjadi klasifikasi positif, negatif dan netral pada Bahasa Indonesia menggunakan metode SentiSrength.

Cara Install
------------

[](#cara-install)

### Via Composer

[](#via-composer)

```
composer require wfphpnlp/sentistrength
```

Jika Anda masih belum memahami bagaimana cara menggunakan Composer, silahkan baca [Getting Started with Composer](https://getcomposer.org/doc/00-intro.md).

### Clone GitHub

[](#clone-github)

```
git clone https://github.com/WillyFaq/Penilaian_Guru_Rating_Scale.git
```

Cara Penggunaan
---------------

[](#cara-penggunaan)

jika menggunakan composer inisiasikan projek anda dengan `vendor/autoload.php`

```
require_once __DIR__ . '/vendor/autoload.php';
use wfphpnlp/sentistrength;
```

configurasikan penggunaan kamus tambahan, jika tidak dikonfigurasi maka semua konfigurasi kamus akan digunakan.

```
$config = array(
    			'negation_conf' => true,
    			'booster_conf' => true,
    			'ungkapan_conf' => true,
    			'consecutive_conf' => true,
    			'repeated_conf' => true,
    			'emoticon_conf' => true,
    			'question_conf' => true,
    			'exclamation_conf' => true,
    			'punctuation_conf' => true,
			);
```

Berikut contoh lengkap penggunaan.

```
