Faq similarity calculation method, device and electronic equipment based on knowledge enhancement processing
A similarity calculation and enhanced processing technology, applied in the field of similarity calculation, can solve problems such as insufficient semantics, limited amount of target text data, and large gaps
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0068] At the word level, collect several synonymous sentences of the target text as knowledge accumulation, segment the target text and its synonymous sentences into words, and form a corresponding knowledge distribution with the results after word segmentation; when calculating the similarity, use the knowledge distribution to compare the target text for knowledge enhancement.
[0069] In order to achieve the above technical purpose, according to the first aspect of the embodiment of the present disclosure, this embodiment provides a method for calculating FAQ similarity based on knowledge enhancement processing, such as figure 1 As shown, the FAQ similarity calculation method includes:
[0070] 11. Receive customer texts and determine the target text corresponding to the customer texts;
[0071] 12. Carry out knowledge enhancement processing based on knowledge distribution on customer text and target text, and perform FAQ similarity calculation based on the processing resu...
example 2
[0114] Customer question: Excuse me, what is the stamp duty for buying and selling stocks now, thank you;
[0115] Correct target text: A share transaction fee,;
[0116] Wrong target text: Shanghai B-share transaction fee;
[0117] A synonym for the correct target text: How much is my transaction fee. How much is the stamp duty on my stock purchases. Stock selling costs. How much is the transaction fee for A shares?
[0118] A synonym for the wrong target text: Shanghai B stock transaction fee. How much is the transaction fee for B shares in Shanghai? Excuse me, how much is the stamp duty for buying and selling B shares now, thank you.
[0119] Step 1: If the customer text is a short text, word segmentation is performed on the customer text and the target text corresponding to the customer text.
[0120] Customer questions: Excuse me, now, stock, buy, sell, of, stamp duty, yes, how much, thank you
[0121] Correct target text: A shares, transactions, fees;
[0122] E...
Embodiment 2
[0143] On the basis of the aforementioned embodiment one, if the obtained FAQ similarity result and the preset threshold are judged, if the FAQ similarity result is not greater than the preset threshold, generate synonymous sentences for expanding the customer text and the target text semantic range Sentence group, based on synonymous sentence group to calculate FAQ similarity. Such as figure 2 shown, including:
[0144] 311. Construct a synonymous sentence generation model.
[0145] The details of building a synonymous sentence generation model include:
[0146] 3111. Construct an initial deep learning model;
[0147] 3112. In the initial deep learning model, the long-short-term memory artificial neural network and the multi-layer perceptron are sequentially called to encode the received customer text into encoded vectors;
[0148] 3113. In the initial deep learning model, the multi-layer perceptron and the long-short-term memory artificial neural network are called agai...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com