# 字数统计

**字数统计**是指文档或文本段落中的词数，由文字处理软件、写作平台和翻译工具作为一种长度度量来报告。字数统计用于执行投稿限制、追踪写作进度、为翻译工作定价以及估算阅读时间，但工具报告的数字取决于该工具如何定义“词”。

| 关键事实 | 详情 |
|---|---|
| Google Docs 的统计范围 | 字数统计适用于除页眉、页脚和脚注之外的所有内容，除非选中了某个区域；“工具 > 字数统计”对话框显示页数、字数、字符数和不含空格的字符数<sup>[1](https://support.google.com/docs/answer/39003/count-the-words-in-a-document-computer?co=GENIE.Platform%3DDesktop)</sup> |
| Microsoft Word 的统计范围 | 字数统计不包括尾注和脚注，但包括引文和文内引用；统计窗口还提供含空格和不含空格的字符数、阅读时间、段落数和编辑器评分<sup>[2](https://word.cloud.microsoft/create/en/word-counter/)</sup> |
| 页面等效 | 根据微软的指引，约250词填满一页双倍行距页面，500词填满一页单倍行距页面<sup>[2](https://word.cloud.microsoft/create/en/word-counter/)</sup> |
| 分词标准 | Unicode标准附件29号定义了用于程序化文本分词的默认词边界，是ICU、Lucene、quanteda和大多数自然语言处理工具所采用的标准<sup>[3](https://www.unicode.org/reports/tr29/tr29-44.html)</sup><sup> • </sup><sup>[4](https://github.com/bbieniek/uax29-net)</sup> |
| 无空格语言 | 中文、日文、泰文及相关语言不使用空格，或将空格用于更大的单位，因此Smartcat等服务根据字符数或音节数乘以特定语言的比率来估算词数<sup>[5](https://help.smartcat.com/how-smartcat-counts-words/)</sup> |

## 文字处理软件如何统计

文字处理软件在统计字符数和页数的同时，也统计词数。在[Google Docs](https://www.edgepedia.org/zh/google-docs)中，通过“工具 > 字数统计”即可获得统计结果，也可以在输入时在左下角显示实时计数；该框报告页数、字数、字符数和不含空格的字符数<sup>[1](https://support.google.com/docs/answer/39003/count-the-words-in-a-document-computer?co=GENIE.Platform%3DDesktop)</sup>。网页版[Microsoft Word](https://www.edgepedia.org/zh/microsoft-word)在左下角显示总数，点击该数字可打开统计信息，包括阅读时间、段落数和编辑器评分；选中一个句子、段落或区域则可单独获得该部分的统计<sup>[2](https://word.cloud.microsoft/create/en/word-counter/)</sup>。

统计范围因应用而异。Google Docs在全文统计中排除页眉、页脚和脚注<sup>[1](https://support.google.com/docs/answer/39003/count-the-words-in-a-document-computer?co=GENIE.Platform%3DDesktop)</sup>。Microsoft Word排除尾注和脚注，但包括引文和文内引用——当执行投稿限制时，这一区别至关重要<sup>[2](https://word.cloud.microsoft/create/en/word-counter/)</sup>。

## 什么算作一个词

计数规则是一种分词选择，不同的规则给出不同的数字。空格是边界存在的证据，但并非词的普遍定义；“can't”是一个标记还是两个，“re-enter”是一个词还是两个，取决于所选的规则，没有哪种输出是普遍正确的<sup>[6](https://linguistics-teaching-labs.github.io/computational-linguistics-lab/modules/tokenization/)</sup>。改变分词方式也会改变频率计数、词汇量，以及基于这些观察训练出的每一个模型<sup>[6](https://linguistics-teaching-labs.github.io/computational-linguistics-lab/modules/tokenization/)</sup>。

这些选择表现为工具之间的分歧。

对于程序化计数，Unicode标准附件29号规定了默认词边界，可处理缩略形式、中缀连字符、数字中的逗号（如100,000）、空白分组和表情符号序列，且在各语言和平台上均有实现<sup>[3](https://www.unicode.org/reports/tr29/tr29-44.html)</sup><sup> • </sup><sup>[4](https://github.com/bbieniek/uax29-net)</sup><sup> • </sup><sup>[7](https://opennlp.apache.org/docs/3.0.0-M6/apidocs/opennlp-runtime/opennlp/tools/tokenize/uax29/WordTokenizer.html)</sup>。该附件指出，文本本身并不总是包含足够的信息来无歧义地确定边界，因此目标是尽可能贴近用户的感知，而非完全精确<sup>[3](https://www.unicode.org/reports/tr29/tr29-44.html)</sup>。

## 无空格语言的计数

基于空白的计数方式在不用空格分隔词语的语言中失效。中文、[粤语](https://www.edgepedia.org/zh/cantonese)、日文、泰文、缅甸文、藏文、高棉文、老挝文和越南文要么不使用空格，要么用空格分隔音节、短语或句子而非词语<sup>[5](https://help.smartcat.com/how-smartcat-counts-words/)</sup>。正如一位计算语言学家所论述的，词边界这一朴素概念对中文而言本质上是异质的，是从使用空格分隔词语的语言中借来的<sup>[8](https://home.cse.ust.hk/~dekai/library/WU_Dekai/segmentation.html)</sup>。

翻译服务通过估算来处理这一问题。对于每个片段，Smartcat以适用于该语言的单位——字符、基本字母或音节——测量主要文字系统，然后对该数字应用特定语言的乘数，并将结果四舍五入到最接近的整数词数<sup>[5](https://help.smartcat.com/how-smartcat-counts-words/)</sup>。在中文自然语言处理中，分词传统上是任何处理系统的第一步，不过基于字符的n元语法模型可以在完全不分词的情况下对中文和日文文本进行分类<sup>[9](https://aclanthology.org/anthology-files/anthology-files/pdf/C/C98/C98-2201.pdf)</sup><sup> • </sup><sup>[10](https://aclanthology.org/anthology-files/anthology-files/pdf/W/W03/W03-1106.pdf)</sup>。

## 用途与历史

字数统计在写作和出版中具有实际用途。微软的指引将字数统计与论文和作业的投稿要求、社交媒体文案和元描述的平台限制（按其示例，Instagram文案为2,200字符，LinkedIn帖子为3,000字符）以及新闻通讯和演讲的阅读时间估算联系起来<sup>[2](https://word.cloud.microsoft/create/en/word-counter/)</sup>。在语料库语言学中，字数统计是频率列表的基础，频率列表枚举词型——文本中不同的词——而非包含每次出现的词次计数<sup>[11](https://core.ac.uk/download/pdf/131355521.pdf)</sup>。

对词的系统性计数有着悠久的记录。1973年雪城大学研究公司为美国陆军撰写的一份报告，追溯了从早期希腊时代以来的词频统计历史，分析了英语和外语中此类统计的技术与局限，并在一份299页的注释书目中评估了词汇分布的理论模型<sup>[12](https://ntrl.ntis.gov/NTRL/dashboard/searchResults/titleDetail/AD775922.xhtml)</sup>。

## References

1. [Count the words in a document, Google Docs Editors Help](https://support.google.com/docs/answer/39003/count-the-words-in-a-document-computer?co=GENIE.Platform%3DDesktop)
2. [Free online word counter, Microsoft Word](https://word.cloud.microsoft/create/en/word-counter/)
3. [UAX #29: Unicode Text Segmentation, Unicode Consortium](https://www.unicode.org/reports/tr29/tr29-44.html)
4. [uax29-net: .NET implementation of UAX #29 word boundary segmentation, GitHub](https://github.com/bbieniek/uax29-net)
5. [How Smartcat counts words in Chinese, Japanese, Thai and other non-spaced languages, Smartcat Help](https://help.smartcat.com/how-smartcat-counts-words/)
6. [What Counts as a Word?, Computational Linguistics Lab](https://linguistics-teaching-labs.github.io/computational-linguistics-lab/modules/tokenization/)
7. [WordTokenizer (Apache OpenNLP API documentation)](https://opennlp.apache.org/docs/3.0.0-M6/apidocs/opennlp-runtime/opennlp/tools/tokenize/uax29/WordTokenizer.html)
8. [A Position Statement on Chinese Segmentation, Dekai Wu, HKUST](https://home.cse.ust.hk/~dekai/library/WU_Dekai/segmentation.html)
9. [Chinese Word Segmentation without Using Lexicon and Hand-crafted Training Data, ACL](https://aclanthology.org/anthology-files/anthology-files/pdf/C/C98/C98-2201.pdf)
10. [Text Classification in Asian Languages without Word Segmentation, Peng et al., ACL 2003](https://aclanthology.org/anthology-files/anthology-files/pdf/W/W03/W03-1106.pdf)
11. [Corpus Linguistics for History: The Methodology of Investigating Place-Name Discourses in Digitised Nineteenth-Century Newspapers, A. T. Joulain-Jay, PhD thesis](https://core.ac.uk/download/pdf/131355521.pdf)
12. [The Counting of Words: A Review of the History, Techniques and Theory of Word Counts with Annotated Bibliography, NTIS AD775922](https://ntrl.ntis.gov/NTRL/dashboard/searchResults/titleDetail/AD775922.xhtml)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Language and vision AI › Natural language processing › NLP tasks and methods › Tokenization and segmentation

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/word-count

English original: https://www.edgepedia.org/word-count
