identifyWeiboPostRelatedWithPerson(weibo_id, pid)

Description

Judge whether a weibo post is related to a certain person in the database or not.

Parameters

Parameters Necessity Type Description
weibo_id required string the unique id for each weibo post
pid required int the serial number of a certain person in the database

Output

Parameters Type Description
related bool True if the post is related to the person, false otherwise

See Also

Implementation

  1. Find out which filter keywords that related to the person appeared in the post.
  2. Use the product of these keywords' weight as the weight of this post.
  3. Set the threshold as the weight product of the keywords that apeared in the stock name of the related company.
  4. If the weight of the post is larger than the threshold, then we take it as a related one. Otherwise, it will be labbeled as an unrelated one

Related Work

 
projs/clans/docs/identifyweibopostrelatedwithperson.txt · Last modified: 2014/01/26 21:58 by xmill.zod     Back to top