# google/budou

Budou is an automatic organizer tool for beautiful line breaking in CJK (Chinese, Japanese, and Korean).

Repository: https://github.com/google/budou
Canonical: https://ross.abutalabs.com/products/budou
Language: Python
License: Apache-2.0
License Family: permissive
Topics: natural-language-processing, python, web-development, cjk
Archived: true
Last push: 2023-04-09T23:56:52+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3649, "days_push": 1242, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1183, forks 53 (observed 2026-08-28T04:03:54.425053+00:00)

## What it is
Budou is a Python library and CLI tool that automatically organizes CJK (Chinese, Japanese, Korean) text into semantically meaningful chunks wrapped in non-breaking HTML markup for beautiful, legible line breaking on the web. It uses word segmenters and part-of-speech tagging to produce chunks that CSS inline-block styling keeps intact at line ends.

## Use cases
- prevent Japanese text from breaking mid-word on my website
- improve CJK typography and line breaks in HTML
- wrap Chinese sentences in semantic chunks for responsive web design
- process Japanese text into inline-block spans via CLI
- fix ugly line breaks in Korean web content

## When to choose
- you need quality CJK line breaking on a Python-based website or CMS
- you want automatic HTML chunking with configurable segmenters like MeCab

## When to avoid
- starting a new project - use its successor BudouX instead
- you need non-HTML output or non-Python environments

## Facets
- artifact type: library
- maturity: maintenance
- function: nlp, parser, templating
- domain: web-development
- platform: python, cli
- tags: cjk, line-breaking, typography, word-segmentation, japanese, chinese, korean, natural-language-processing, localization, web-server

## Member repositories
- google/budou (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:54.425053+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:24:34.459638+00:00, confidence not recorded.
  - readme: https://github.com/google/budou (fetched 2026-08-28T04:03:54.425053+00:00, sha e96ec4e56d97)
  - registry_pypi: https://pypi.org/pypi/budou/json (fetched 2026-08-29T12:31:45.511546+00:00, sha e89986faf5af)
- Data as of 2026-08-30T08:39:29.467469+00:00.
