what will be CNF form of this probabilistic grammar?

删除回忆录丶 提交于 2019-12-11 04:52:38

问题


If PCFG is like,

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

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

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

or somethings else?


回答1:


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

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).



来源:https://stackoverflow.com/questions/39769119/what-will-be-cnf-form-of-this-probabilistic-grammar

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!