PHPackages                             muhfirdaus19/bahasata - 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. muhfirdaus19/bahasata

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

muhfirdaus19/bahasata
=====================

Text Processing PHP bahasa indonesia

16PHP

Since Jul 25Pushed 4y ago1 watchersCompare

[ Source](https://github.com/muhfirdaus19/bahasata)[ Packagist](https://packagist.org/packages/muhfirdaus19/bahasata)[ RSS](/packages/muhfirdaus19-bahasata/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

muhfirdaus19/bahasata
=====================

[](#muhfirdaus19bahasata)

 **text processing bahasa indonesia PHP**

About
-----

[](#about)

Bahasata is Example Text Processing for bahasa indonesia written in PHP.
for now only can stemmer and tokenizer

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

[](#cara-install)

Bahasata dapat diinstall melalui [Composer](https://getcomposer.org).

```
composer require muhfirdaus19/bahasata:dev-main
```

Penggunaan
----------

[](#penggunaan)

Text tokenization
-----------------

[](#text-tokenization)

memisahkan kata, kalimat

```
use Bahasata\Bahasata;

// include autoloader
require './vendor/autoload.php';

$bahasata = new Bahasata();
$write = $bahasata->write('tetap bersama, jaga kesehatan!');

$result = $write->get();
// tetap bersama, jaga kesehatan!

$result = $write->wordsTokenizer()->get();
// ['tetap' ,'bersama' ,'jaga' ,'kesehatan']

$result = $write->sentencesTokenizer()->get();
// ['tetap bersama' ,'jaga kesehatan']

print_r($result);
```

Stemmer
-------

[](#stemmer)

mencari kata dasar dari sebuat kalimat/kata. contoh : memakan -&gt; makan

```
use Bahasata\Bahasata;

// include autoloader
require './vendor/autoload.php';

$bahasata = new Bahasata();
$result = $bahasata->stem('merekomendasikan');
// rekomendasi

$write = $bahasata->write('saya rekomendasikan untuk memakan sayur');
$result = $write->wordsTokenizer()->stem()->get();
// ['saya', 'rekomendasi', 'untuk', 'makan', 'sayur']

print_r($result);
```

Copyright and License
---------------------

[](#copyright-and-license)

The muhfirdaus19/bahasata library is copyright © Muhammad Firdaus and licensed for use under the terms of the MIT License (MIT). Please see [LICENSE](LICENSE) for more information.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/1a115971c1fefbf54f835b21a6844d18e0fed791ebc4122af301d3548895ddd0?d=identicon)[muhfirdaus19](/maintainers/muhfirdaus19)

---

Top Contributors

[![mdaushi](https://avatars.githubusercontent.com/u/51962685?v=4)](https://github.com/mdaushi "mdaushi (1 commits)")

### Embed Badge

![Health badge](/badges/muhfirdaus19-bahasata/health.svg)

```
[![Health](https://phpackages.com/badges/muhfirdaus19-bahasata/health.svg)](https://phpackages.com/packages/muhfirdaus19-bahasata)
```

###  Alternatives

[components/jqueryui

jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library. Whether you're building highly interactive web applications or you just need to add a date picker to a form control, jQuery UI is the perfect choice.

1795.8M57](/packages/components-jqueryui)[clue/graph-composer

Dependency graph visualization for composer.json

93798.0k11](/packages/clue-graph-composer)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
