code: public void compute()
      {
          entrySetPair = triePair.entrySet();
          double total_mi = 0;
          double total_le = 0;
          double total_re = 0;
          for (Map.Entry<String, PairFrequency> entry : entrySetPair)
          {
              PairFrequency value = entry.getValue();
              value.mi = computeMutualInformation(value);
              value.le = computeLeftEntropy(value);
              value.re = computeRightEntropy(value);
              total_mi += value.mi;
              total_le += value.le;
              total_re += value.re;
          }
  
          for (Map.Entry<String, PairFrequency> entry : entrySetPair)
          {
              PairFrequency value = entry.getValue();
              value.score = value.mi / total_mi + value.le / total_le+ value.re / total_re;   // 归一化
              value.score *= entrySetPair.size();
          }
      }
docs: 输入数据完毕，执行计算