#258·open-seo

Thin content check misfires on Japanese/Chinese/Korean pages (whitespace word count)

Author: tofu8017-cryptoCreated Aug 31, 2026Updated Sep 27, 2026

Summary

The site audit's word count splits body text on whitespace. Japanese, Chinese, and Korean text does not use spaces between words, so entire paragraphs collapse into a handful of "words". As a result, thin-content fires on almost every page of a CJK site, including long-form articles.

On a real Japanese site I audited, 48 of 50 pages were flagged as thin content. One of them is a 9,769-character article.

Evidence

Audited factcheckpro.jp (Japanese, self-hosted Docker, image ghcr.io/every-app/open-seo:latest, app version 0.1.6), crawl limit 50 pages.

Page wordCount reported Actual Japanese characters thin-content?
/lab/grain-whisky-additive/ 116 9,769 flagged
/lab/gemini-version-search-test/ 154 7,829 not flagged (barely over 150)
/faq/ 7 1,415 flagged

Character counts were measured independently by fetching each page and counting CJK codepoints in the rendered text.

Note the second row: whether a long article passes is essentially random, because the count reflects the number of whitespace-delimited runs (mostly incidental Latin words, numbers, and markup artifacts) rather than the amount of content.

Root cause

src/server/lib/audit/page-analyzer.ts:238

typescript
const wordCount = bodyText ? bodyText.split(/\s+/).length : 0;

That value is then compared against a Latin-calibrated threshold in src/server/lib/audit/issues/page-reporters.ts:135

typescript
const THIN_CONTENT_WORDS = 150;
if (page.isIndexable && page.wordCount < THIN_CONTENT_WORDS) {
  report("thin-content", { wordCount: page.wordCount });
}

Suggested fix

Count CJK text by characters instead of whitespace-delimited tokens. Two options:

  1. Use Intl.Segmenter with granularity: "word" when the runtime provides it, which segments CJK correctly and keeps the existing threshold meaningful.
  2. Or, if adding a dependency on Intl.Segmenter is undesirable, detect CJK codepoints and switch to a character-based threshold for those pages (a common rule of thumb is that one English word corresponds to roughly 2–3 CJK characters, so ~400 characters is comparable to 150 words).

Either way, the reported wordCount shown in the UI should reflect the same unit that the threshold uses, otherwise the number displayed to the user stays confusing.

Related, lower priority

The title and meta description length checks in the same file use character counts calibrated for Latin scripts:

typescript
const TITLE_MAX_CHARS = 60;
const META_DESCRIPTION_MIN_CHARS = 70;
const META_DESCRIPTION_MAX_CHARS = 160;

CJK glyphs render roughly twice as wide as Latin characters, so search engines truncate CJK titles at around 30 characters rather than 60. On the same site, the audit flagged 3 pages for title-too-long while 45 of 50 titles exceeded 30 characters. This is less clear-cut than the word count issue since the correct threshold depends on rendered pixel width, so I am mentioning it separately rather than folding it into this report.

Environment

  • OpenSEO 0.1.6, self-hosted with Docker (ghcr.io/every-app/open-seo:latest)
  • AUTH_MODE=local_noauth
  • macOS host