Multi-feature matching text matching method, terminal and readable storage medium
A matching method and technology for text to be matched, applied in the field of natural language processing, can solve the problems of low text matching accuracy and ignore the overall semantic information of the text, and achieve the effect of improving the matching accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0030] like figure 1 As shown, the first embodiment provides a text matching method for multi-feature matching, the method includes the following steps:
[0031] Step S1, obtaining the text to be matched and the candidate text, and performing preprocessing on the text to be matched and the candidate text;
[0032] Step S2, performing N-Gram-based multi-granularity analysis on the preprocessed text to obtain text sequences at different granularities, and vectorizing the text sequences to obtain text vectors;
[0033] Step S3, input the text vector column into the deep learning language model for training, and obtain the coding vectors of the text to be matched and the candidate text;
[0034] Step S4, performing similarity calculation on the encoding vector of the text to be matched and the encoding vector of the candidate text, and then summing and taking an average to obtain the matching degree of the text to be matched and the candidate text.
[0035] The present invention...
Embodiment 2
[0063] Based on the same idea, Embodiment 2 of the present application provides a multi-feature matching terminal, including a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, The steps of the method are carried out.
[0064] image 3 A schematic diagram of the physical structure of the terminal provided in Embodiment 1 of the present invention, as shown in image 3 As shown, the terminal may include: a processor (processor) 310, a communication interface (CommunicationsInterface) 320, a memory (memory) 330, and a communication bus 340, wherein the processor 310, the communication interface 320, and the memory 330 complete the interaction through the communication bus 340 communication between. The processor 310 can invoke a computer program stored in the memory 330 and operable on the processor 310 to execute the text matching methods provided in the above-mentioned embodiments,...
Embodiment 3
[0067] Based on the same idea, Embodiment 3 of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and the computer program implements the steps of the method when executed by a processor.
[0068] In addition, the above-mentioned logic instructions in the memory 330 may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the embodiment of the present invention is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


