testrelevancy

Description

A judgement function that test the relevancy of a weibo post and a certain person.

Parameters

  1. name: weiboid type: string description: the unique id of a weibo post

Return

  1. A boolean value represents this post is related to the person or not

Detail Information

  • First find out which filtering keywords that related to the person appeared in the post.
  • Then, use the product of these keywords' weight as the weight of this post.
  • Set the threshold as the weight product of the keywords that apeared in the stock name of the related company. If the weight of the post is bigger than the threshold, then we take it as a related one. Otherwise, it will be labbeled as an unrelated one.
 
projs/clans/docs/entity_disambiguation_xu/testrelevancy.txt · Last modified: 2014/01/21 09:33 by xmill.zod     Back to top