Skip to content

Releases: sastrawi/sastrawi

v1.2.0

22 Oct 03:24

Choose a tag to compare

  • stem pen-{s|t} as in penstabilan and pentranskripsi (thanks to @prasastoadi)
  • readme : link to go-sastrawi, sastrawi in golang by @RadhiFadlillah

Release v1.1.0

07 Feb 04:13

Choose a tag to compare

Provide a way to add or remove words in dictionary. Thanks to @irsalshabirin

<?php

// include composer autoloader
require_once __DIR__ . '/vendor/autoload.php';

// create stemmer
// cukup dijalankan sekali saja, biasanya didaftarkan di service container

$stemmerFactory = new \Sastrawi\Stemmer\StemmerFactory();

$dictionary = $stemmerFactory->createDefaultDictionary();
$dictionary->addWordsFromTextFile(__DIR__.'/my-dictionary.txt');
$dictionary->add('internet');
$dictionary->remove('desa');

$stemmer = new \Sastrawi\Stemmer\Stemmer($dictionary);

var_dump($stemmer->stem('internetan')); //internet

Release v1.0.10

28 Sep 07:10

Choose a tag to compare

  • added unit tests for disambiguators (thanks to @mohangk )
  • stem -lah|-kah|-tah|-pun as in Dia-lah (thanks to @arryanggaputra )

Release v1.0.9

10 Apr 23:08

Choose a tag to compare

  • stem possessive pronoun -ku|-mu|-nya as in nikmat-Ku
  • dictionary : remove plural words

Release v1.0.8

05 Apr 10:51

Choose a tag to compare

  • Stem prefix ku- & kau-

Release v1.0.7

28 Feb 11:46

Choose a tag to compare

Release v1.0.7

Release v1.0.6

21 Feb 02:23

Choose a tag to compare

  • stem meniru-nirukan -> tiru, memanggi-manggil -> panggil, menyepak-nyepak -> sepak

Release v1.0.5

28 Dec 11:42

Choose a tag to compare

  • remove words from dictionary to prevent overstemming.
  • add words : hembus, congkel, lesat.
  • start to maintain changelog file.

Release v1.0.4

18 Oct 04:13

Choose a tag to compare

  • tambah kata dasar : nafas

Release v1.0.3

16 Oct 10:55

Choose a tag to compare

  • remove wan|wati from derivational suffixes
  • improve installation tutorial on README