code: public long hash(Collection<? extends CharSequence> segList) {
  		final int bitNum = this.bitNum;
  		// 按照词语的hash值，计算simHashWeight(低位对齐)
  		final int[] weight = new int[bitNum];
  		long wordHash;
  		for (CharSequence seg : segList) {
  			wordHash = MurmurHash.hash64(seg);
  			for (int i = 0; i < bitNum; i++) {
  				if (((wordHash >> i) & 1) == 1)
  					weight[i] += 1;
  				else
  					weight[i] -= 1;
  			}
  		}
  
  		// 计算得到Simhash值
  		final StringBuilder sb = new StringBuilder();
  		for (int i = 0; i < bitNum; i++) {
  			sb.append((weight[i] > 0) ? 1 : 0);
  		}
  
  		return new BigInteger(sb.toString(), 2).longValue();
  	}
docs: 指定文本计算simhash值
  
  @param segList 分词的词列表
  @return Hash值