关于「突发度、自相关与短句占比:节律藏在顺序里」,《机器文气与句长节律》给出的定量结论是什么?
结论:突发度指数原本刻画事件间隔,用在句长上只是变异系数的另一种刻度。p23 证明,同一组长度换三种顺序,变异系数与 B 纹丝不动,自相关却从 0.703 变到 -0.292,平板对从 0.818 变到零。呼吸感一半在分布,一半在顺序。p22 则提醒我们,十句话的稿子里,这些数字的抽样噪声大到几乎没有信息,判定至少要二十句,顺序量要更多。
数据口径:书中示例均为作者自写的合成文字或公有领域文本,参数为示意,全部计算由书中程序生成。 第一至六章依次讲句长指纹与对数正态、突发度与顺序量、检测器的贝叶斯账与偏差、套话密度的泊松检验与群体超额词汇、三元连发与压缩冗余、只动句读的动态规划与真实细节账本:合成草稿只改 5 处句读,变异系数就从 0.123 升到 0.546,而字词一个不动。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: -0.292, 0.703, 0.818, 22
| order | CV | B | r1 | MASD/mean | flat |
| ascending | 0.604 | -0.247 | 0.703 | 0.184 | 0.818 |
| shuffled | 0.604 | -0.247 | 0.355 | 0.575 | 0.182 |
| alternating | 0.604 | -0.247 | -0.292 | 0.884 | 0.000 |
| alternating order: [4, 19, 6, 22, 9, 26, 12, 31, 14, 38, 17, 45] |
查看完整验算程序
# Chapter 2. p23: the same twelve lengths in three orders.
# CV and B depend only on the multiset of lengths, so they cannot see
# order. Order shows up in r1, in the mean absolute successive
# difference relative to the mean (MASD/mean), and in the share of
# "flat" neighbour pairs whose ratio stays within 1.5. The twelve
# lengths are an illustrative multiset chosen by the author.
import math
import random
LENS = [4, 6, 9, 12, 14, 17, 19, 22, 26, 31, 38, 45]
def measures(xs):
n = len(xs)
m = math.fsum(xs) / n
sd = math.sqrt(math.fsum((x - m) ** 2 for x in xs) / n)
den = math.fsum((x - m) ** 2 for x in xs)
r1 = math.fsum((xs[i] - m) * (xs[i + 1] - m)
for i in range(n - 1)) / den
masd = math.fsum(abs(xs[i + 1] - xs[i]) for i in range(n - 1)) / (n - 1)
flat = len([1 for i in range(n - 1)
if abs(math.log(xs[i + 1] / xs[i])) < math.log(1.5)])
return sd / m, (sd - m) / (sd + m), r1, masd / m, flat / (n - 1)
rng = random.Random(39405)
shuffled = LENS[:]
rng.shuffle(shuffled)
lo, hi = LENS[:6], LENS[6:]
alternating = [v for pair in zip(lo, hi) for v in pair]
orders = [("ascending", LENS), ("shuffled", shuffled),
("alternating", alternating)]
print("order CV B r1 MASD/mean flat")
for name, xs in orders:
cv, b, r1, ms, fl = measures(xs)
print("{:<11} {:>6.3f} {:>7.3f} {:>8.3f} {:>10.3f} {:>6.3f}".format(
name, cv, b, r1, ms, fl))
print("alternating order:", alternating)唯一数据源与引用
范雅福(Fan, Y.). (2026). 《机器生成文本统计指纹剥离、句长突发律动重构与宗师级文气呼吸感母典》第 2 章「突发度、自相关与短句占比:节律藏在顺序里」(版本 1.0.0). 5D Library. DOI 待发布
DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-394 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026394,
author = {Fan, Yafu},
title = {Stripping Statistical Fingerprints of Machine Prose, Sentence-Length Burstiness Reconstruction and Master-Level Stylistic Cadence},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}