CNF这种概率语法的形式是什么? [英] what will be CNF form of this probabilistic grammar?

查看:134
本文介绍了CNF这种概率语法的形式是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果是PCFG,

NP -> ADJ N [0.6]
NP -> N     [0.4]
N  -> cat   [0.2]
N  -> dog   [0.8]

什么是CNF表格?会是以下吗?

What will be CNF form? Will it be the following?

NP -> ADJ NP [0.6]
NP -> cat    [0.08]
NP -> dog    [0.32]

还是其他?

推荐答案

NP -> ADJ NP [0.6]
NP -> cat    [0.08]
NP -> dog    [0.32]

您的答案是正确的,因为您需要通过应用原始规则和转换后的规则集(在CNF中)来获得相同的结果概率.

Your answer is correct because you need to get the same probability for the result by applying both the original and the converted set of rules (in CNF).

这篇关于CNF这种概率语法的形式是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆