# google/budoux

Repository: https://github.com/google/budoux
Canonical: https://ross.abutalabs.com/products/budoux
Homepage: https://google.github.io/budoux/
Language: Python
License: Apache-2.0
License Family: permissive
Topics: nlp, machine-learning, python, javascript
Last push: 2026-08-24T00:58:42+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 84, longevity 100
- inputs: {"age_days": 1750, "days_push": 10, "days_rel": 26, "gap_med": 34.5, "n_releases_24m": 9}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1772, forks 44 (observed 2026-08-28T04:05:34.231868+00:00)

## What it is
BudouX is a small, standalone, machine-learning-powered line break organizer that segments sentences into phrases for languages without word boundaries like Japanese, Chinese, and Thai. It ships lightweight pretrained models (~15 KB) with bindings for Python, JavaScript, and Java, and can process HTML input.

## Use cases
- prevent awkward line breaks in Japanese text on the web
- segment Chinese sentences into phrases
- split Thai text into words without spaces
- add zero-width spaces to HTML for CJK line wrapping
- run lightweight word segmentation client-side without external APIs
- train a custom phrase segmentation model for another language

## When to choose
- you need CJK/Thai text segmentation with no external dependencies
- bundle size matters, e.g. client-side web typography
- you want pretrained models plus HTML-aware processing

## When to avoid
- you need full tokenization or POS tagging rather than phrase-level segmentation
- your language uses spaces between words (e.g. Korean, English)
- you need heavy-duty NLP pipelines with rich linguistic analysis

## Facets
- artifact type: library
- maturity: active
- function: nlp, machine-learning, parser
- domain: web-development, frontend
- platform: python, jvm, browser, cross-platform
- tags: text-segmentation, line-breaking, cjk, japanese, chinese, thai, typography, html-processing, natural-language-processing, nodejs

## Member repositories
- google/budoux (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:34.231868+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-30T03:25:57.450910+00:00, confidence not recorded.
  - readme: https://github.com/google/budoux (fetched 2026-08-28T04:05:34.231868+00:00, sha e1149fcdcc38)
  - homepage: https://google.github.io/budoux/ (fetched 2026-08-29T11:04:07.413298+00:00, sha 48710b492fb7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
