Skip to content

Commit

Permalink
修改 TextRank 错误值
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangzhonglian committed Jun 1, 2020
1 parent 316f927 commit 69a6e95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/nlp/2.分词.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ dict[(A, A)] = 1
dict[(A, D)] = 2

第一次 index = 1
dict[(B, A)] = 3
dict[(B, A)] = 1
dict[(B, B)] = 1
dict[(B, C)] = 2
dict[(B, D)] = 1
Expand All @@ -375,7 +375,7 @@ A, C => 5
所有 C => 15
总共: 10个单词
A 权重PR值: 1/10 = 0.1
s_A = 20/50) * 0.1 + 5/15 * 0.1
s_A = 20/50 * 0.1 + 5/15 * 0.1
d阻尼系数,即按照超链接进行浏览的概率,一般取经验值为0.85
1−d浏览者随机跳转到一个新网页的概率
A 权重PR值: (1 - d) + d * s_A
Expand Down

0 comments on commit 69a6e95

Please sign in to comment.