# Improve word\_count calculation for CJK posts, or use char count

**URL:** https://meta.discourse.org/t/improve-word-count-calculation-for-cjk-posts-or-use-char-count/380085
**Category:** Bug
**Created:** [August 24, 2025, 3:10pm UTC](https://meta.discourse.org/t/improve-word-count-calculation-for-cjk-posts-or-use-char-count/380085 "2025-08-24T15:10:01Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![Lhc\_fl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lhc_fl/32/268115_2.png) [@Lhc\_fl](https://meta.discourse.org/u/Lhc_fl)
#### Post date: [August 24, 2025, 3:10pm UTC](https://meta.discourse.org/t/improve-word-count-calculation-for-cjk-posts-or-use-char-count/380085/1 "2025-08-24T15:10:01Z")

</div>

The `word_count` column of `Post` and `Topic` seems to be calculated directly using the number of spaces, which is completely inappropriate for languages ​​like Chinese, Japanese, and Korean that do not use spaces.

This is not a big problem because `word_count` is rarely used, but I encountered trouble in `AI summary backfill minimum word count`. Long Chinese posts will be filtered out, but short posts with mixed Chinese and English (with many spaces) will be summarized.

I think we should use a word segmenter that supports multiple languages, or simply use char count in something like `AI summary backfill minimum word count`.

---

_[View the full topic](https://meta.discourse.org/t/improve-word-count-calculation-for-cjk-posts-or-use-char-count/380085)._
