登录
首页 » python » 计算汉字词语相似度

计算汉字词语相似度

于 2022-02-01 发布 文件大小:1.08 kB
0 66
下载积分: 2 下载次数: 1

代码说明:

依据汉语词汇结构特点提出的加权相似度算法将“重心后移”原理(在字面上,语素越靠后,它在表达主题概念中所起的作用就越大)加入其中该方法易于实现,相同汉字的个数和相同汉字在词中的位置关系首先统计两个词中含有的相同汉字的个数,其次根据相同汉字在词中的位置,统计其在词中的权重,从而得出两词的相似度计算公式

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 贝叶斯方法 -概率编程与贝叶斯推断 zip
    说明:  Probabilistic Programming and Bayesian Methods for Hackers是一本写给开发者的关于贝叶斯方法和概率问题的免费开源书。贝叶斯方法的用途十分广泛,在经济学上能找出一堆的例子。而在IT行业,机器学习是非常典型的一个应用。而机器学习也是本书作者写本书的一个重要的理由。 本书选择了Python作为编程语言,这一点都不奇怪,Python在科研和数据分析上的应用是非常方便和普遍的,比如大名鼎鼎的Numpy等。作者在本书中使用另一个库PyMC,它依赖于Numpy和SciPy(可选)。 如果你正从事数据分析和机器学习的研究,这是一本非常棒的书籍。它不仅介绍了贝叶斯的相关理论,告诉了我们一些这个伟大的理论没告诉我们的东西,更重要的是,他的文档基于ipython-notebook完成,这是一种输入代码实时在网页显示各种统计图的工具。图文并茂,十分生动。唯一的要求可能是需要有一定的数学功力和英语水平了。(The Bayesian method is the natural approach to inference, yet it is hidden from readers behind chapters of slow, mathematical analysis. The typical text on Bayesian inference involves two to three chapters on probability theory, then enters what Bayesian inference is. Unfortunately, due to mathematical intractability of most Bayesian models, the reader is only shown simple, artificial examples. This can leave the user with a so-what feeling about Bayesian inference. In fact, this was the author's own prior opinion.)
    2018-05-25 13:00:43下载
    积分:1
  • 基于Python的学生管理系统
    【实例简介】对Mysql数据库进行增删改查操作,并带有界面
    2021-06-09 00:32:02下载
    积分:1
  • pyVMD_any
    变分模态分解的python版本,个人根据MATLAB版本译制而成(Python version of variational mode decomposition)
    2018-03-08 08:27:26下载
    积分:1
  • SlidingWindow_based
    滑窗计算刀具磨损量,拟合刀具边界,自动计算磨损量(sliding window based tool wear calculation)
    2019-06-26 08:47:15下载
    积分:1
  • Python-for-Twitter
    Python code for mining tweets
    2015-11-11 08:22:05下载
    积分:1
  • 自动报警,提示,便于操作,不用熬夜,操作神级伴侣
    说明:  自动报警,提示,便于操作,不用熬夜,操作神级伴侣,不用盯着屏幕(pervisory control, monitor, control,give an alarm)
    2020-04-14 21:18:18下载
    积分:1
  • Asst1
    You are given an n x n grid , a starting position on the grid and a goal location. Each point on the grid is assigned an integer, giving its elevation. It is possible to move from a location to any of its 4 neighbours (except at a boundary). The cost of such a move in 1 the absolute value of the difference in elevation. However, if the difference between two points is greater or equal to 4, this represents an impassible cliff
    2018-10-28 13:21:19下载
    积分:1
  • 14.SVM
    说明:  利用sklearn实现mnist的分类,新手入门(Using sklearns to classify MNIST)
    2018-12-25 16:52:08下载
    积分:1
  • 决策树
    说明:  机器学习中绘制ROC曲线,是非常关键的,老师编的ROC曲线,亲测有效。(It is very important to draw ROC curve in machine learning. The ROC curve compiled by the teacher is effective in pro test.)
    2019-11-08 16:12:31下载
    积分:1
  • 数字水印
    可以隐藏水印图片,实现了水印的嵌入和提取(Watermark images can be hidden, and the watermark can be embedded and extracted)
    2020-07-10 11:28:55下载
    积分:1
  • 696518资源总数
  • 105725会员总数
  • 12今日下载