code: func (a *AlgorithmChain) WeightingRelation(
  	word1ID int,
  	word2ID int,
  	rank *Rank,
  ) float32 {
  	relationQty := rank.Relation.Node[word1ID][word2ID].Qty
  	word1Qty := rank.Words[word1ID].Qty
  	word2Qty := rank.Words[word2ID].Qty
  
  	qDiff := float32(math.Abs(float64(word1Qty)-float64(word2Qty))) / 100
  	weight := float32(relationQty) + qDiff
  
  	return weight
  }
docs: // WeightingRelation method is a combined algorithm of text rank and word
  // occurrence, it weights a phrase.