关于「翻译腔指纹:十种可机检标记与泊松似然比判别」,《去翻译腔的中文文案计算》给出的定量结论是什么?
结论:第三章把翻译腔写成十种可机检标记,泊松似然比判别在 300 字时准确率达到 0.9614。
数据口径:书中的例句与参数均为示意;全部计算由书中程序生成;本书不构成个别化的法律、广告合规或营销建议,只讨论守规矩的说服。 第一章用手工标注的示意依存树说明,西化稿的平均依存距离是 3.429,母语改写是 1.515;与保持树结构的随机语序相比,西化稿的比值为 0.950,几乎等于随机,改写稿为 0.640。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 0.9614, 300
| hanzi | accuracy | error |
|---|---|---|
| 25 | 0.6953 | 0.3047 |
| 50 | 0.7576 | 0.2424 |
| 100 | 0.8474 | 0.1526 |
| 150 | 0.8915 | 0.1085 |
| 200 | 0.9220 | 0.0780 |
| 300 | 0.9614 | 0.0386 |
| 400 | 0.9784 | 0.0216 |
| shortest tested length with accuracy >= 0.95: 300 hanzi |
查看完整验算程序
# Chapter 3. p32: How much text a reader (or a filter) needs to tell a
# translated-style draft from native copy using marker counts alone.
# Model: each of five markers occurs as a Poisson count with rate per
# 1,000 hanzi lam_T in translationese and lam_N in native copy (the rates
# below are illustrative, of the order seen in p31, not corpus values).
# Decision: the likelihood-ratio rule with equal priors, which is the
# optimal rule for this model. Accuracy is estimated by 20,000 seeded
# trials per class and length.
import math
import random
RATES = [ # marker, lam_T, lam_N (per 1,000 hanzi; illustrative)
("bei", 6.0, 1.5), ("jinxing", 6.0, 0.8), ("duiyu", 3.0, 0.5),
("yi+CL", 12.0, 5.0), ("PRON de", 15.0, 4.0)]
TRIALS = 20000
rng = random.Random(20261112)
def poisson(lam):
limit, k, p = math.exp(-lam), 0, 1.0
while True:
p *= rng.random()
if p <= limit:
return k
k += 1
def accuracy(length):
scale = length / 1000
w = [math.log(t / n) for _, t, n in RATES]
c = math.fsum((t - n) * scale for _, t, n in RATES)
right = 0
for truth in (1, 2):
for _ in range(TRIALS):
x = [poisson(r[truth] * scale) for r in RATES]
llr = math.fsum(a * b for a, b in zip(w, x)) - c
right += (llr > 0) == (truth == 1)
return right / (2 * TRIALS)
print("hanzi accuracy error")
first = None
for length in (25, 50, 100, 150, 200, 300, 400):
acc = accuracy(length)
if first is None and acc >= 0.95:
first = length
print("{:>5} {:>10.4f} {:>7.4f}".format(length, acc, 1 - acc))
print("shortest tested length with accuracy >= 0.95: {} hanzi".format(first))唯一数据源与引用
范雅福(Fan, Y.). (2026). 《跨语境母语修辞韵律、去翻译腔句法树重构与马新台华语转化语料学》第 3 章「翻译腔指纹:十种可机检标记与泊松似然比判别」(版本 1.0.0). 5D Library. DOI 待发布
DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-144 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026144,
author = {Fan, Yafu},
title = {Native Cross-Context Prosody, De-Translationese Syntax-Tree Rewriting and a Conversion Corpus of Malaysian, Singaporean and Taiwanese Chinese},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}