Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

练习

D.1 假设我们希望对拼写噪声信道模型的似然项(信道模型)P(xw)P(x\mid w) 使用加一平滑。为简单起见,假设唯一可能的操作是删除。公式 D.6 给出的删除最大似然估计为

P(xw)=del[xi1,wi]count(xi1wi).P(x\mid w)=\frac{\operatorname{del}[x_{i-1},w_i]}{\operatorname{count}(x_{i-1}w_i)}.

若对删除编辑模型采用加一平滑,P(xw)P(x\mid w) 的估计是什么?假设仅使用小写字母 a–z,语料库中有 VV 种词类型和 NN 个字符总量(不计空格)。