# leizongmin/node-segment

基于Node.js的中文分词模块

Repository: https://github.com/leizongmin/node-segment
Canonical: https://ross.abutalabs.com/products/node-segment
Language: JavaScript
License: NOASSERTION
License Family: other
Last push: 2020-05-23T12:02:23+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5388, "days_push": 2293, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1206, forks 132 (observed 2026-08-28T04:03:59.407664+00:00)

## What it is
A pure JavaScript Chinese word segmentation (tokenization) library for Node.js, based on the Pangu segmentation dictionary and algorithms. It supports part-of-speech tagging, custom dictionaries, synonym conversion, and stopword removal.

## Use cases
- segment Chinese text into words
- tokenize Chinese sentences in Node.js
- tag parts of speech for Chinese words
- convert synonyms in Chinese text
- remove stopwords from Chinese text
- build search indexing for Chinese content

## When to choose
- you need Chinese word segmentation in a Node.js or pure JavaScript environment
- you want dictionary-based segmentation with custom dictionaries and POS tagging
- you need a lightweight, dependency-free tokenizer without ML models

## When to avoid
- you need state-of-the-art accuracy from modern ML-based segmenters
- your project is not JavaScript/Node.js based
- you need active development or frequent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: nlp, parser
- domain: -
- platform: -
- tags: chinese-word-segmentation, tokenizer, part-of-speech-tagging, dictionary-based, natural-language-processing, chinese-nlp, text-processing, nodejs, javascript

## Member repositories
- leizongmin/node-segment (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:59.407664+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:19:18.085843+00:00, confidence not recorded.
  - readme: https://github.com/leizongmin/node-segment (fetched 2026-08-28T04:03:59.407664+00:00, sha f9d6e2dbb25d)
  - registry_npm: https://registry.npmjs.org/node-segment (fetched 2026-08-29T12:27:05.697531+00:00, sha 77814636744a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
