# 关键词分析（语言学）

关键词分析是一种语料库语言学方法：它把目标文本或目标语料库中每个词的频数，与参照语料库中该词的频数相比较，从而生成一份按得分排序的词表，列出出现频率异常的词语。这个意义上的关键词，即“在给定文本中出现频率异常的词语”，其中“异常”指与某类参照语料库相比偏高。<sup>[1](https://www.sciencedirect.com/science/article/abs/pii/S0346251X97000110)</sup> 该流程可以机械地施行，只包含少数几个统计步骤，<sup>[2](https://eprints.lancs.ac.uk/id/eprint/140803/1/Rayson_2019_CorpusAnalysisofKeyWords_Submitted.pdf)</sup> 如今已成为语料库语言学的标准探索技术之一。这一术语源自更早的文化关键词研究——那类研究通过特定词汇项考察文化价值与实践；但在语料库语言学中，它涵盖任何相对于某一基准而言能体现某文本特征的词。<sup>[3](https://socialsci.libretexts.org/Bookshelves/Linguistics/Corpus_Linguistics%3A_A_Guide_to_the_Methodology_%28Stefanowitsch%29/10%3A_Text/10.01%3A_Keyword_analysis)</sup>

| 项目 | 说明 |
|---|---|
| 输出 | 一份按关键度得分排序的词表；多数研究只考察前 100 个关键词<sup>[4](https://eprints.lancs.ac.uk/id/eprint/51449/4/Gabrielatos_Marchi_Keyness.pdf)</sup> |
| 核心统计量 | 对数似然（\( G_{2} \)）是用得最多的检验；卡方如今较少使用<sup>[2](https://eprints.lancs.ac.uk/id/eprint/140803/1/Rayson_2019_CorpusAnalysisofKeyWords_Submitted.pdf)</sup> |
| 度量类别 | 显著性检验（\( G_{2} \)、\( X^{2} \)）、效应量度量（对数比、%DIFF、优势比），以及 SimpleMaths 之类的启发式方法<sup>[5](https://www.stephanie-evert.de/PUB/Evert2022.pdf)</sup> |
| 参照语料库规模 | 参照语料库约为研究语料库的五倍时，所得关键词数量与规模最高达研究语料库百倍的参照库相近<sup>[6](https://www.cs.jhu.edu/~yarowsky/acl2000/comcor/berber.pdf)</sup> |
| 正关键词与负关键词 | 正关键词在目标语料库中过度使用；负关键词则使用不足<sup>[2](https://eprints.lancs.ac.uk/id/eprint/140803/1/Rayson_2019_CorpusAnalysisofKeyWords_Submitted.pdf)</sup> |
| 离散度变体 | 文本离散度关键词比较的是词出现的文本数，而非形符频数<sup>[7](https://doi.org/10.3366/cor.2019.0162)</sup> |
| 软件实现 | WordSmith、AntConc、Sketch Engine 与 CQPweb 均可计算关键词表<sup>[5](https://www.stephanie-evert.de/PUB/Evert2022.pdf)</sup> |

## 运作原理

比较是在相对频率上操作的：若某词在目标语料库中的相对频率 \( p_{1} = f_{1}/n_{1} \) 显著高于其在参照语料库中的相对频率 \( p_{2} = f_{2}/n_{2} \)，该词即为正关键词。<sup>[5](https://www.stephanie-evert.de/PUB/Evert2022.pdf)</sup> 关键度度量依据的是把两个语料库合并后、该词的观测频数与期望频数所构成的 2×2 [列联表](https://www.edgepedia.org/zh/contingency-table)。<sup>[8](https://laurenceanthony.net/resources/statistics/common_statistics_used_in_corpus_linguistics.pdf)</sup> 设该词在目标语料库与参照语料库中的单元格计数为 \( a \) 与 \( b \)，两个语料库的总词数为 \( c \) 与 \( d \)，则期望值为 \( E_{1} = c \cdot (a+b)/(c+d) \) 与 \( E_{2} = d \cdot (a+b)/(c+d) \)。文献中流传着两种略有差异的对数似然统计量：一种是常用的双单元格简式 \( \mathrm{LL} = 2 \cdot ((a \cdot \ln(a/E_{1})) + (b \cdot \ln(b/E_{2}))) \)，只对含该词的单元格求和；另一种是邓宁的完整四单元格统计量，还计入不含该词的单元格 \( c-a \) 与 \( d-b \) 的贡献。两者一般不会给出完全相同的得分。<sup>[30](https://github.com/jturner-uofl/pycorpdiff/blob/main/docs/statistical-methods.md)</sup><sup> • </sup><sup>[2](https://eprints.lancs.ac.uk/id/eprint/140803/1/Rayson_2019_CorpusAnalysisofKeyWords_Submitted.pdf)</sup>

这些度量分为三类，其偏倚方向彼此相反。卡方与对数似然这类假设检验度量的是反对零假设的证据，偏向高频词，常把 *the* 之类的功能词纳入其中；相对风险 \( r = p_{1}/p_{2} \) 及其对数 LogRatio \( = \log_{2} r \)、%DIFF 和优势比这类效应量度量则偏向极低频词，当参照频数为零时往往无定义。<sup>[5](https://www.stephanie-evert.de/PUB/Evert2022.pdf)</sup> 启发式方法是第三类：Sketch Engine 的 SimpleMaths 先给所有计数加上一个常数 \( N \)（默认 \( N = 100 \)），再计算相对频率之比；加 1 时罕用词排名最高，加 1000 时常用词排名最高。<sup>[9](https://www.sketchengine.eu/wp-content/uploads/2015/04/2009-Simple-maths-for-keywords.pdf)</sup> 这两类方法对词的排序差别极大：在一项比较中，*THE* 按对数似然排第 2 位（\( \mathrm{LL} = 32{,}366.01 \)），按 %DIFF 却排第 4302 位（9.7%）；在一次将 100 万词语料库与 600 万词语料库进行的比较中，两种方法的前 100 名列表只有 38 个关键词重合。<sup>[4](https://eprints.lancs.ac.uk/id/eprint/51449/4/Gabrielatos_Marchi_Keyness.pdf)</sup> 二者也服务于不同的研究目的：对数似然凸显承担体裁功能的相对常用词，优势比则凸显更适合批判取向分析的较为专门的词。<sup>[10](https://www.degruyterbrill.com/document/doi/10.1515/cllt-2015-0030/html)</sup> 一种被推荐的折中方案是 LRC，它是对 LogRatio 的保守估计，采用精确条件泊松检验，显著性水平经 Bonferroni 校正为 \( \alpha = 0.05/m \)，不显著时得分记为 0。<sup>[5](https://www.stephanie-evert.de/PUB/Evert2022.pdf)</sup>

## 操作步骤

该流程分为五个阶段：为两个语料库分别生成按频数排序的词表，设定最低频数阈值（通常为出现 2 次或 3 次），用统计检验比较两份词表，滤除不显著的词，再按关键度重新排序。<sup>[11](https://sites.uclouvain.be/cecl/archives/PAQUOT_BESTGEN_2009_Distinctive_words_in_academic_writing_ICAME2008.pdf)</sup> 参照语料库应满足代表性、同质性与和目标语料库的可比性，而选择何种参照库至关重要：把两个语料库分别与 Brown 或 LOB 之类的通用语料库比较，与把它们直接互相比对，得到的关键词并不相同。<sup>[2](https://eprints.lancs.ac.uk/id/eprint/140803/1/Rayson_2019_CorpusAnalysisofKeyWords_Submitted.pdf)</sup> 关于规模，一项考察 18 种参照语料库规模（研究语料库的 2 至 100 倍）的实验发现，五倍于研究语料库的参照库所得关键词数量，与规模最高达研究语料库百倍的参照库相近；因此小于 5 倍的参照库可能不可靠，而更大的参照库增益甚微。<sup>[6](https://www.cs.jhu.edu/~yarowsky/acl2000/comcor/berber.pdf)</sup>

常用的阈值包括显著性临界值 \( p \leq 0.01 \)（\( \mathrm{LL} \geq 6.63 \)）和 WordSmith 的默认值 \( p = 0.000001 \)；\( p \leq 0.01 \) 这一惯例被指为任意。<sup>[4](https://eprints.lancs.ac.uk/id/eprint/51449/4/Gabrielatos_Marchi_Keyness.pdf)</sup> 频数阈值若被采用，多为 \( f_{1} \geq \) 5、10 或 100 且 \( f_{2} > 0 \) 之类的启发式设定，并且应以归一化频率（每百万词）而非原始计数来标明。<sup>[12](https://sigil.r-forge.r-project.org/materials/04_measuring_keyness.handout.pdf)</sup> 参照语料库中的零频词，可通过加常数（加一或加 N）或代以一个极小的数来处理；WordSmith 把比较语料库中未出现的词视为出现 5.0e-324 次。<sup>[9](https://www.sketchengine.eu/wp-content/uploads/2015/04/2009-Simple-maths-for-keywords.pdf)</sup><sup> • </sup><sup>[13](https://lexically.net/downloads/version_64_8/HTML/keywords_calculate_info.html)</sup>

该方法在 WordSmith、AntConc、Sketch Engine 与 CQPweb 中均有实现。<sup>[5](https://www.stephanie-evert.de/PUB/Evert2022.pdf)</sup> WordSmith 计算四种检验：对数似然、对数比、BIC 分数和离散度差；对数比为 2 表示该词在目标语料库中的相对[频率](https://www.edgepedia.org/zh/frequency)是参照语料库中的 4 倍，为 3 表示 8 倍，为 4 表示 16 倍。<sup>[13](https://lexically.net/downloads/version_64_8/HTML/keywords_calculate_info.html)</sup> AntConc 的关键词表工具按关键度给词排序，统计量可选卡方与对数似然（默认），效应量选项由用户自选，并可显示负关键词。<sup>[14](https://antconc-manual.readthedocs.io/en/latest/keyword_list.html)</sup> CQPweb 在其各项分析中提供关键词功能。<sup>[15](https://doi.org/10.1075/ijcl.17.3.04har)</sup> R 语言的实现包括 *corpora* 包（LRC）、*keyperm*（置换检验）与 *Keyness3D*。<sup>[5](https://www.stephanie-evert.de/PUB/Evert2022.pdf)</sup>

## 源流

这一语料库语言学流程与迈克·斯科特（Mike Scott）1997 年发表于《System》的论文相关。该文提出一种在文本中识别关键词的方法，并引出“关键关键词”（key key words）的概念，即在众多文本中都属关键的词；该研究使用的参照语料库是 7000 万余词的《卫报》文本，采用卡方检验，临界值取 0.000001，最低频数为 2。<sup>[16](https://doi.org/10.1016/s0346-251x%2897%2900011-0)</sup> 这些流程被内置于 WordSmith Tools 软件，该软件曾把近 5000 份词表批量处理成一个关键词数据库。<sup>[16](https://doi.org/10.1016/s0346-251x%2897%2900011-0)</sup> 更早的先驱包括对 Brown 与 LOB 两个各 100 万词语料库之间词频的卡方比较，以及特德·邓宁（Ted Dunning）1993 年的论文《惊奇与巧合统计的精确方法》，后者把对数似然比检验引入语料库研究界，最初用于[搭配分析](https://www.edgepedia.org/zh/collocation-analysis)；邓宁的动因是卡方在期望值较小时并不准确。<sup>[2](https://eprints.lancs.ac.uk/id/eprint/140803/1/Rayson_2019_CorpusAnalysisofKeyWords_Submitted.pdf)</sup><sup> • </sup><sup>[17](https://users.ics.aalto.fi/lijffijt/articles/lijffijt2015a.pdf)</sup> 该方法为语言教学而得到整合，并由雷森（Rayson）于 2019 年作了历史回顾。<sup>[18](https://benjamins.com/catalog/scl.22)</sup>

## 变体

**关键关键词与词团。** 一个关键关键词拥有若干*关联词*，即在同一批文本中也属关键的词，这些词可归并为*词团*，从而揭示文本图式与套式。<sup>[16](https://doi.org/10.1016/s0346-251x%2897%2900011-0)</sup> 这一术语本身的历史带有一层警示：关键关键词后来发现很可能是 *she* 之类的代词，而非最初预期的实词。<sup>[19](https://dialnet.unirioja.es/descarga/articulo/2729155.pdf)</sup>

**关键词类与关键语义域。** 该流程从词形扩展到语法范畴与语义范畴，Wmatrix 软件即实现了这一点。<sup>[2](https://eprints.lancs.ac.uk/id/eprint/140803/1/Rayson_2019_CorpusAnalysisofKeyWords_Submitted.pdf)</sup>

**离散度关键词。** 文本离散度关键词由杰西·埃格伯特（Jesse Egbert）与道格·比伯（Doug Biber）于 2019 年在《Corpora》上提出，它用每个词在两个语料库中出现的文本数（分布范围）取代形符频数；独立的评估认为，按文档计数的关键词比按形符频数的关键词更稳健，离散度关键词与目标语料库更相关，而频数关键词往往在两个语料库中都分布很广。<sup>[7](https://doi.org/10.3366/cor.2019.0162)</sup> 玛加利·帕科（Magali Paquot）与伊夫·贝斯特根（Yves Bestgen）2009 年对三种关键词提取统计检验的比较，同样提出了顾及离散度的关键度定义。<sup>[20](https://doi.org/10.1163/9789042029101_014)</sup>

**多维关键度。** 一种结合频数与离散度的二维方法，二者均以 KL 散度（Kullback-Leibler divergence）度量，无需停用词表，除仅出现一次的词之外不设频数阈值，也不设任意的分布范围阈值。<sup>[21](https://doi.org/10.32714/ricl.09.02.02)</sup> 有书章将其扩展为三个维度——在目标语料库中的频数、与目标语料库的关联度、相对于参照语料库的离散度，其中关联度与离散度均以 KL 散度度量，并提供 R 函数 Keyness3D；该文主张，\( G_{2} \) 实际上与频数的相关性高于与关联度的相关性。<sup>[22](https://benjamins.com/catalog/cilt.370.02gri)</sup> 同一研究纲领还提出用 word2vec、GloVe、BERT 等分布语义模型来提取关键搭配词与深层关键搭配词。<sup>[23](https://stgries.info/research/2025_STG_CultKeyWordsVarieties__JRDSL&CS.pdf)</sup>

## 应用

在语言教育中，关键词分析与对词汇和体裁的系统研究相结合，构成以语料库为依据的教学法的基础。<sup>[18](https://benjamins.com/catalog/scl.22)</sup> 在语域研究中，参照语料库可依问题而定：同一子语域的参照库更能凸显目标语料库独有的内容，而不同语域的参照库更能揭示反映目标语料库所属语域的词语。<sup>[24](http://www.jbe-platform.com/content/journals/10.1075/rs.18001.gel)</sup> 把一个目标语料库与多个基准相比较，可以看出关键词以相对可预测的方式发生变化；对语域研究而言，大型通用语料库或多次比较所得关键词表的合并，可能最为合适。<sup>[25](https://www.jbe-platform.com/content/journals/10.1075/rs.19017.poj)</sup> 在话语分析与批判分析中，统计量的选择举足轻重：对数似然与优势比产生适合不同研究目的的不同关键词。<sup>[10](https://www.degruyterbrill.com/document/doi/10.1515/cllt-2015-0030/html)</sup>

## 局限与替代方法

**统计假设。** 卡方与对数似然假定观测彼此随机、独立，而语言语料库违背这一假定，因为词语在文本内成簇出现；因此更受推荐的是在文本层面假定独立的检验，如 t 检验、威尔科克森秩和检验或自助检验。<sup>[17](https://users.ics.aalto.fi/lijffijt/articles/lijffijt2015a.pdf)</sup> 置换检验方法把语料库建模为文档的样本而非形符的样本，可与任何关键度得分配合使用。<sup>[26](https://ar5iv.labs.arxiv.org/html/2308.13383)</sup> 多重检验很少得到校正，尽管单次分析可能比较数十万个候选词，并在 \( p < .001 \) 的水平上产生大量假阳性。<sup>[5](https://www.stephanie-evert.de/PUB/Evert2022.pdf)</sup>

**度量与基准的敏感性。** 把统计显著性当作关键度指标，被指为一种误解，因为无论效应量多小，显著性都会随样本量上升，而且显著性得分在不同分析之间不可比。<sup>[27](https://research.edgehill.ac.uk/ws/portalfiles/portal/20078913/Gabrielatos.Keyness.postprint.pdf)</sup> 关键词身份也可能是一种抽样假象：在一项研究中，*wuz* 之所以成为关键词，反映的是研究者决定纳入某一段特定叙述，而非该词本身的独特性。<sup>[11](https://sites.uclouvain.be/cecl/archives/PAQUOT_BESTGEN_2009_Distinctive_words_in_academic_writing_ICAME2008.pdf)</sup> 该方法关注的是词汇层面的差异，而非语义、语法或语用层面的差异，并可能促使研究者夸大差异而忽视相似之处；离散度模式、索引行与关键词簇是有用的补充分析。<sup>[28](https://journals.sagepub.com/doi/10.1177/0075424204269894)</sup>

**邻近方法。** 关键词分析在结构上类似于搭配分析，同样采用 2×2 设计，只不过检验的是一个词与某文本的关联，而非与邻近词的关联。<sup>[3](https://socialsci.libretexts.org/Bookshelves/Linguistics/Corpus_Linguistics%3A_A_Guide_to_the_Methodology_%28Stefanowitsch%29/10%3A_Text/10.01%3A_Keyword_analysis)</sup> 主题模型是一种互补的替代方案，只需一个语料库；有评估把关键词分析用作关键词辅助主题模型（keyatm）的关键词选取步骤，结果成效参差，并指出对数似然虽然被频繁采用，在统计上却有问题。<sup>[29](http://www.euppublishing.com/doi/full/10.3366/cor.2025.0337)</sup> 悬而未决的问题依然存在：统计量、效应量与离散度处理的最佳选择仍在争论之中。<sup>[29](http://www.euppublishing.com/doi/full/10.3366/cor.2025.0337)</sup>

## References

1. [PC analysis of key words, And key key words (Scott, 1997, System 25(2))](https://www.sciencedirect.com/science/article/abs/pii/S0346251X97000110)
2. [Corpus Analysis of Key Words (Rayson, 2019)](https://eprints.lancs.ac.uk/id/eprint/140803/1/Rayson_2019_CorpusAnalysisofKeyWords_Submitted.pdf)
3. [10.01: Keyword analysis (socialsci.libretexts.org)](https://socialsci.libretexts.org/Bookshelves/Linguistics/Corpus_Linguistics%3A_A_Guide_to_the_Methodology_%28Stefanowitsch%29/10%3A_Text/10.01%3A_Keyword_analysis)
4. [Keyness: Matching metrics to definitions (Gabrielatos & Marchi, CADS 2012)](https://eprints.lancs.ac.uk/id/eprint/51449/4/Gabrielatos_Marchi_Keyness.pdf)
5. [Measuring Keyness (Evert, 2022)](https://www.stephanie-evert.de/PUB/Evert2022.pdf)
6. [Comparing corpora with WordSmith Tools: How large must the reference corpus be? (Berber Sardinha, ACL 2000 workshop)](https://www.cs.jhu.edu/~yarowsky/acl2000/comcor/berber.pdf)
7. [Jesse Egbert, Doug Biber (2019). Incorporating text dispersion into keyword analyses. Corpora.](https://doi.org/10.3366/cor.2019.0162)
8. [Common statistics used in corpus linguistics (Laurence Anthony, 2023)](https://laurenceanthony.net/resources/statistics/common_statistics_used_in_corpus_linguistics.pdf)
9. [Simple maths for keywords (Kilgarriff, 2009)](https://www.sketchengine.eu/wp-content/uploads/2015/04/2009-Simple-maths-for-keywords.pdf)
10. [Log-likelihood and odds ratio: Keyness statistics for different types of keyword analyses (Gabrielatos & Marchi, Corpus Linguistics and Linguistic Theory)](https://www.degruyterbrill.com/document/doi/10.1515/cllt-2015-0030/html)
11. [Distinctive words in academic writing: A comparison of three statistical tests for keyword extraction (Paquot & Bestgen 2009)](https://sites.uclouvain.be/cecl/archives/PAQUOT_BESTGEN_2009_Distinctive_words_in_academic_writing_ICAME2008.pdf)
12. [Measuring keyness (SIGIL handout, Evert et al.)](https://sigil.r-forge.r-project.org/materials/04_measuring_keyness.handout.pdf)
13. [KeyWords: calculation (WordSmith Tools documentation, v6.4.8)](https://lexically.net/downloads/version_64_8/HTML/keywords_calculate_info.html)
14. [Keyword List, AntConc Manual](https://antconc-manual.readthedocs.io/en/latest/keyword_list.html)
15. [Andrew Hardie (2012). CQPweb, combining power, flexibility and usability in a corpus analysis tool. International Journal of Corpus Linguistics.](https://doi.org/10.1075/ijcl.17.3.04har)
16. [PC analysis of key words — And key key words (System, 1997)](https://doi.org/10.1016/s0346-251x%2897%2900011-0)
17. [Significance Testing of Word Frequencies in Corpora (Lijffijt et al., 2014/2015)](https://users.ics.aalto.fi/lijffijt/articles/lijffijt2015a.pdf)
18. [Textual Patterns: Key words and corpus analysis in language education (Scott & Tribble, 2006)](https://benjamins.com/catalog/scl.22)
19. [Developing WordSmith (Mike Scott)](https://dialnet.unirioja.es/descarga/articulo/2729155.pdf)
20. [Magali Paquot, Yves Bestgen (2009). Distinctive words in academic writing: A comparison of three statistical tests for keyword extraction. .](https://doi.org/10.1163/9789042029101_014)
21. [Stefan Th. Gries (2021). A new approach to (key) keywords analysis: Using frequency, and now also dispersion. Research in Corpus Linguistics.](https://doi.org/10.32714/ricl.09.02.02)
22. [Keyness should integrate frequency, association, and dispersion: Not just frequency (Gries, 2025, Current Issues in Linguistic Theory 370, pp. 17–26)](https://benjamins.com/catalog/cilt.370.02gri)
23. [Cultural Keywords in Varieties Research (Gries, JRDSL&CS)](https://stgries.info/research/2025_STG_CultKeyWordsVarieties__JRDSL&CS.pdf)
24. [The reference corpus matters (Geluso & Hirch, Register Studies 1(2), 2019)](http://www.jbe-platform.com/content/journals/10.1075/rs.18001.gel)
25. [The influence of the benchmark corpus on keyword analysis (Pojanapunya & Watson Todd, Register Studies, 2021)](https://www.jbe-platform.com/content/journals/10.1075/rs.19017.poj)
26. [Assessing Keyness using Permutation Tests (arXiv 2308.13383; R package keyperm)](https://ar5iv.labs.arxiv.org/html/2308.13383)
27. [Keyness analysis: nature, metrics and techniques (Gabrielatos, postprint)](https://research.edgehill.ac.uk/ws/portalfiles/portal/20078913/Gabrielatos.Keyness.postprint.pdf)
28. [Querying keywords: Questions of difference, frequency, and sense in keywords analysis (Baker 2004, Journal of English Linguistics)](https://journals.sagepub.com/doi/10.1177/0075424204269894)
29. [An evaluation of the use of keyword analysis for keyword-assisted topic modelling (Corpora, 2025)](http://www.euppublishing.com/doi/full/10.3366/cor.2025.0337)
30. [Statistical methods.md (github.com)](https://github.com/jturner-uofl/pycorpdiff/blob/main/docs/statistical-methods.md)

---
*Initially written Sep 29, 2026 · Reviewed: Sep 30, 2026 · Edited: Sep 30, 2026; Oct 15, 2026; Oct 21, 2026 · Last review: Sep 30, 2026*

Topic: 社会与历史 › 语言与语言学 › 语言学 › Formal and computational linguistics › Corpus linguistics

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/keyword-analysis-linguistics

English original: https://www.edgepedia.org/keyword-analysis-linguistics
