fukuball/jieba-php
"結巴"中文分詞:做最好的 PHP 中文分詞、中文斷詞組件。 / "Jieba" (Chinese for "to stutter") Chinese text segmentation: built to be the best PHP Chinese word segmentation module. observed · 2026-08-28
Health v2 · maintenance only
48/100
- Activity 57
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4150
- days_rel: 410
- days_push: 260
- n_releases_24m: 1
Adoption not part of the score
1376 stars · 257 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A PHP library for Chinese word segmentation (jieba), ported from the Python jieba project and now independently maintained. It supports precise, full, and search-engine segmentation modes, traditional Chinese, custom dictionaries, TF-IDF keyword extraction, and part-of-speech tagging.
Use cases
- segment chinese text into words in php
- tokenize chinese sentences for search indexing
- extract keywords from chinese text with tf-idf
- part-of-speech tagging for chinese text
- support traditional chinese word segmentation
- add custom domain words to a chinese dictionary
- preprocess chinese text for nlp pipelines
When to choose
- you need fast, cheap, dependency-light Chinese segmentation in a PHP application
- you need search-engine-mode tokenization for building inverted indexes
- you need traditional Chinese or custom dictionary support
When to avoid
- you need state-of-the-art segmentation accuracy that LLM-based tokenizers provide
- your stack is not PHP (use the original Python jieba or other ports)
- memory-constrained environments, since the dictionary requires a large memory limit
Facets
library · maturity active
nlp parser search-engine machine-learning php cross-platform chinese-text-segmentation word-segmentation jieba cjk traditional-chinese tf-idf pos-tagging hmm natural-language-processing search
1 source
- readme: https://github.com/fukuball/jieba-php · fetched 2026-08-28 · cfc67b57a09b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| fukuball/jieba-php | main | 48 |
For agents
markdown · JSON · MCP: product_card(name="fukuball/jieba-php")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem