#86 · Primary category: NLP Tools & Text Processing
jieba-php
"結巴"中文分詞:做最好的 PHP 中文分詞、中文斷詞組件。 / "Jieba" (Chinese for "to stutter") Chinese text segmentation: built to be the best PHP Chinese word segmentation module.
Project last updated:12/16/25
GitHub Stars
1.4K
Forks
257
Contributors
16
License
MIT
Why we included this project
PHP developers who need Chinese text segmentation for search or text analysis have few mature options, and jieba-php brings the well-known Jieba algorithm to that ecosystem. It offers three modes: precise segmentation for analysis, a full mode that surfaces every possible word, and a search-engine mode that re-splits long words for better recall when building inverted indexes. Out-of-vocabulary terms are handled by an HMM with Viterbi decoding, and you can supply custom dictionaries to fix domain-specific words the built-in lexicon misses. It also supports traditional Chinese and other CJK text, and bundles TF-IDF keyword extraction and part-of-speech tagging, so it works as a small toolkit rather than a single splitter. When you want fast, cheap segmentation without calling an LLM, this is a solid Composer-installable option.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
flair
A very simple framework for state-of-the-art Natural Language Processing (NLP)
compromise
modest natural-language processing
tokenizers
💥 Fast State-of-the-Art Tokenizers optimized for Research and Production
CoreNLP
CoreNLP: A Java suite of core NLP tools for tokenization, sentence segmentation, NER, parsing, coreference, sentiment analysis, etc.
Chinese-Word-Vectors
100+ Chinese Word Vectors 上百种预训练中文词向量