PHPackages                             xiaohigh/pscws4 - 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. xiaohigh/pscws4

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

xiaohigh/pscws4
===============

借助开源免费分词系统pscws4,实现一个简单的php分词类文件,方便进行中文分词

v1.0(9y ago)42333PHPPHP &gt;=5.6.5

Since Jul 17Pushed 9y ago1 watchersCompare

[ Source](https://github.com/xiaohigh/pscws4)[ Packagist](https://packagist.org/packages/xiaohigh/pscws4)[ RSS](/packages/xiaohigh-pscws4/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

pscws4
======

[](#pscws4)

借助开源免费分词系统pscws4,实现一个简单的php分词类文件,方便进行中文分词

\##使用方式

```

//引入自动加载文件
include "./vendor/autoload.php";

//实例化对象
$obj = new \xiaohigh\Pscws4\Pscws4;

//调用实现分词功能
$res = $obj -> run('SCWS 是 Simple Chinese Word Segmentation 的首字母缩写（即：简易中文分词系统）。
这是一套基于词频词典的机械式中文分词引擎，它能将一整段的中文文本基本正确地切分成词。 词是中文的最小语素单位，但在书写时并不像英语会在词之间用空格分开， 所以如何准确并快速分词一直是中文分词的攻关难点。', 10);

//打印结果
print_r($res);

```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3635d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4426490?v=4)[xiaohigh](/maintainers/xiaohigh)[@xiaohigh](https://github.com/xiaohigh)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/xiaohigh-pscws4/health.svg)

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

###  Alternatives

[tiesa/ldap

LDAP made easy &amp; practical to use in PHP

5797.1k1](/packages/tiesa-ldap)

PHPackages © 2026

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