首页>
外国专利>
TEXT SIMILARITY CALCULATION METHOD AND DEVICE, COMPUTER APPARATUS, AND STORAGE MEDIUM
TEXT SIMILARITY CALCULATION METHOD AND DEVICE, COMPUTER APPARATUS, AND STORAGE MEDIUM
展开▼
机译:文本相似度计算方法和装置,计算机设备和存储介质
展开▼
页面导航
摘要
著录项
相似文献
摘要
A text similarity calculation method comprises: obtaining a character sequence to be matched and a target character sequence; respectively preprocessing the character sequence to be matched and the target character sequence to obtain a corresponding word sequence to be matched and a corresponding target word sequence; performing calculation, by means of a first similarity algorithm, on a word to be matched contained in the word sequence to be matched and a target word contained in the target word sequence, so as to obtain a first similarity degree; extracting all of the words to be matched, so as to form a set of words to be matched, and extracting all of the target words to form a target word set; performing calculation on the set of words to be matched and the target word set by means of a second similarity algorithm, so as to obtain a second similarity degree; and calculating, according to the first similarity degree and the second similarity degree, a text similarity degree between the character sequence to be matched and the target character sequence.
展开▼