计算各分词的权重

Signed-off-by: ralphya0 <ralphya0@foxmail.com>