Patent ID: 11893139
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 9:
10. The method according to claim 9, wherein the determining the cosine distance further comprises:
performing word segmentation on the segmented sentence and the sentence in the sentence list respectively;
searching a word vector table to determine a word vector of each word obtained based on the word segmentation on the segmented sentence and a word vector of each word obtained based on the word segmentation on the sentence in the sentence list, respectively;
constructing the sentence vector of the segmented sentence based on the word vector of each word obtained based on the word segmentation on the segmented sentence, constructing the sentence vector of the sentence in the sentence list according to the word vector of each word obtained based on the word segmentation on the sentence in the sentence list, and making the sentence vector of the segmented sentence and the sentence vector of the sentence in the sentence list have a same dimension; and
determining the cosine distance between the sentence vector of the segmented sentence and the sentence vector of the sentence in the sentence list.