Alex-McAvoy / Gitalk-Comment

存储博客评论的 Gittalk 仓库
0 stars 0 forks source link

N-Gram 模型 | Alex_McAvoy #1079

Open Alex-McAvoy opened 2 months ago

Alex-McAvoy commented 2 months ago

https://alex-mcavoy.github.io/artificial-intelligence/deep-learning/nlp/4319fc88.html

【概述】N-Gram 模型是一种基于统计语言模型的算法,常用于预测一个文本中下一个单词出现的概率 其基本思想是将文本内容按词进行大小为 $N$ 的滑动窗口操作,形成长度是 $N$ 的词片段序列,每一个词片段被称为 gram,通过这种序列信息,来预测下一个项的出现概率