PHPackages                             nguyenhiep/vietnamese-related-words - 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. nguyenhiep/vietnamese-related-words

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

nguyenhiep/vietnamese-related-words
===================================

Make related words from vietnamese string

v1.0.1(4y ago)21162MITPHP

Since Apr 28Pushed 4y ago1 watchersCompare

[ Source](https://github.com/nguyenhiepvan/vietnamese-related-words)[ Packagist](https://packagist.org/packages/nguyenhiep/vietnamese-related-words)[ Docs](https://github.com/nguyenhiepvan/vietnamese-related-words)[ RSS](/packages/nguyenhiep-vietnamese-related-words/feed)WikiDiscussions master Synced yesterday

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

Installation
============

[](#installation)

```
    composer require nguyenhiep/vietnamese-related-words
```

Configuration
=============

[](#configuration)

To configure the package you need to publish settings first:

```
    php artisan vendor:publish --provider="Nguyenhiep\VietnameseRelatedWords\VietnameseRelatedWordsServiceProvider"
```

OptionDescriptiones\_hostelasticsearch hostmappingadditional mapping rulesUsage
=====

[](#usage)

```
    $analyer = new Nguyenhiep\VietnameseRelatedWords\VietnameseAnalyzer();
    //using vncorenlp
    $analyer->vncorenlp("một chuỗi tiếng việt"); //["chuỗi tiếng","một chuỗi","chuỗi tiếng việt",]
    //using coccoc tokenizer
    $analyer->es_analyze("một chuỗi tiếng việt"); //["một","chuỗi","tiếng việt",]
    //using  VnTokenizer library
    $analyer->es_analyze("một chuỗi tiếng việt"); //["một","chuỗi","tiếng","việt",]
```

**Notice:**

```
- if you want to see analying results, add param `true` to analyer construct

- if you want to add more mapping rules, add them in `vietnamese-related-words.php`

```

Reference
=========

[](#reference)

- [VncoreNlp](https://github.com/vncorenlp/VnCoreNLP)
- [Coccoc tokenizer](https://github.com/coccoc/coccoc-tokenizer)
- [Vietnamese Analysis Plugin for Elasticsearch](https://github.com/duydo/elasticsearch-analysis-vietnamese)
- [Vietnamese Analysis Plugin for Elasticsearch](https://github.com/duydo/elasticsearch-analysis-vietnamese/tree/vntokenizer)
- [Laravel package tools](https://github.com/spatie/laravel-package-tools)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 65.9% 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.

###  Release Activity

Cadence

Every ~33 days

Total

2

Last Release

1807d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ee7ece29e66e7029d6b12d947a7d9714ae36346f21e92d767cfc797b86949d8?d=identicon)[nguyenhiepvan](/maintainers/nguyenhiepvan)

---

Top Contributors

[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (85 commits)")[![nguyenhiepvan](https://avatars.githubusercontent.com/u/33170716?v=4)](https://github.com/nguyenhiepvan "nguyenhiepvan (25 commits)")[![Larsklopstra](https://avatars.githubusercontent.com/u/25669876?v=4)](https://github.com/Larsklopstra "Larsklopstra (5 commits)")[![enniosousa](https://avatars.githubusercontent.com/u/8731370?v=4)](https://github.com/enniosousa "enniosousa (2 commits)")[![andreia](https://avatars.githubusercontent.com/u/38911?v=4)](https://github.com/andreia "andreia (2 commits)")[![lukeraymonddowning](https://avatars.githubusercontent.com/u/12202279?v=4)](https://github.com/lukeraymonddowning "lukeraymonddowning (1 commits)")[![mallardduck](https://avatars.githubusercontent.com/u/619938?v=4)](https://github.com/mallardduck "mallardduck (1 commits)")[![merlinblack](https://avatars.githubusercontent.com/u/144381?v=4)](https://github.com/merlinblack "merlinblack (1 commits)")[![michaeldaly](https://avatars.githubusercontent.com/u/8914893?v=4)](https://github.com/michaeldaly "michaeldaly (1 commits)")[![ahmedsayedabdelsalam](https://avatars.githubusercontent.com/u/29691074?v=4)](https://github.com/ahmedsayedabdelsalam "ahmedsayedabdelsalam (1 commits)")[![riasvdv](https://avatars.githubusercontent.com/u/3626559?v=4)](https://github.com/riasvdv "riasvdv (1 commits)")[![devnll](https://avatars.githubusercontent.com/u/47151094?v=4)](https://github.com/devnll "devnll (1 commits)")[![DmytroSeredinov](https://avatars.githubusercontent.com/u/31238659?v=4)](https://github.com/DmytroSeredinov "DmytroSeredinov (1 commits)")[![filipac](https://avatars.githubusercontent.com/u/271155?v=4)](https://github.com/filipac "filipac (1 commits)")[![hamrak](https://avatars.githubusercontent.com/u/5807028?v=4)](https://github.com/hamrak "hamrak (1 commits)")

---

Tags

wordsrelatedvietnameserelated wordsextract words

### Embed Badge

![Health badge](/badges/nguyenhiep-vietnamese-related-words/health.svg)

```
[![Health](https://phpackages.com/badges/nguyenhiep-vietnamese-related-words/health.svg)](https://phpackages.com/packages/nguyenhiep-vietnamese-related-words)
```

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[maestroerror/laragent

Power of AI Agents in your Laravel project

630106.4k](/packages/maestroerror-laragent)[nativephp/mobile

NativePHP for Mobile

82724.0k43](/packages/nativephp-mobile)[spatie/laravel-rdap

Perform RDAP queries in a Laravel app

72108.3k2](/packages/spatie-laravel-rdap)

PHPackages © 2026

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