首页> 外国专利> METHOD AND APPARATUS FOR CALCULATING TEXT SIMILARITY, ELECTRONIC DEVICE, AND COMPUTER-READABLE STORAGE MEDIUM

METHOD AND APPARATUS FOR CALCULATING TEXT SIMILARITY, ELECTRONIC DEVICE, AND COMPUTER-READABLE STORAGE MEDIUM

机译:用于计算文本相似性,电子设备和计算机可读存储介质的方法和装置

摘要

A method and apparatus for calculating text similarity, an electronic device, and a non-volatile computer-readable storage medium. The method comprises: performing word segmentation and vectorization on a first text and a second text, respectively; for each word in the first text and each word in the second text, calculating and acquiring a mutual attention vector which represents a similar feature between said words and the text in which said words do not appear; and for each word in the first text and each word in the second text, calculating and acquiring a similarity value which represents the similarity between the first text and the second text. By using the described method, the accuracy of text similarity calculations may be improved.
机译:一种用于计算文本相似性,电子设备和非易失性计算机可读存储介质的方法和装置。该方法包括:分别在第一文本和第二个文本上执行字分割和矢量化;对于第一个文本中的每个单词和第二文本中的每个单词,计算和获取相互关注的传染媒介,其表示所述单词和文本之间的类似特征,其中所述单词不会出现;对于第一个文本中的每个单词和第二个文本中的每个单词,计算和获取相似性值,该相似度值表示第一文本和第二文本之间的相似性。通过使用所描述的方法,可以提高文本相似性计算的准确性。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号