Research Article

Tibetan Weibo User Group Division Based on Semantic Information in the Era of Big Data

Algorithm 4

Calculation of the semantic similarity.
Input:Topic(user) distribution matrix of the text: Matrix1, Matrix2
Output:Semantic similarity: Semantic_Similarity
1: for all , , = Matrix1, = Matrix2, do
2: get DKL(p, q) by formula (3)
3: end for
4: get D(p, q) from DKL(p, q) by formula (5)
5: Semantic_Similarity = 1- D(p, q)
6: returnSemantic_Similarity