code: public void update(Nature nature, int freq) {
          this.score += score * freq;
          this.allFreq += freq;
          if (Nature.NW != nature) {
              this.nature = nature;
          }
      }
docs: 更新发现权重,并且更新词性
  
  @param version
  @param i
  @param tn