Multi-semantics-based extraset word processing method and device
A processing method and technology of out-of-set words, applied in the multi-semantic-based out-of-set words processing method and device field, can solve problems such as the lack of out-of-set words, and achieve the goal of improving user favorability, enriching the dialogue environment, and high relevance Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] In order to solve the problem of out-of-set words in the prior art, the embodiment of the present application provides a method for processing out-of-set words based on multi-semantics, see figure 1 , is a flow chart of a method for processing out-of-set words based on multi-semantics shown in the embodiment of the present application, and the method includes the following steps:
[0038] Step S110, according to the upper and lower words of the out-of-set words in the sentence, the weight of each semantic meaning of the out-of-set words is obtained;
[0039] Out-of-set words usually contain multiple semantics. In this application, the semantics of out-of-set words can be obtained from HowNet (English name HowNet). HowNet is a concept represented by Chinese and English words as the description object , a commonsense knowledge base whose basic content is to reveal the relationship between concepts and the attributes of concepts. In HowNet, a sememe is the most basic and ...
Embodiment 2
[0130] The embodiment of the present application provides an intelligent question answering method, wherein the method for processing out-of-set words based on multi-semantics provided in Embodiment 1 of the present application is applied, Figure 6 It is a flowchart of an intelligent question answering method shown in the embodiment of this application, such as Figure 6 As shown, the method includes the following steps:
[0131] Step S210, obtaining out-of-set words from word segmentation results of unknown questions;
[0132] The intelligent question answering system needs to be trained with the training corpus to have the ability to respond. During the training process, the intelligent question answering system will generate a word vector space for expressing known word vectors based on the known word segmentation; when the user asks the trained intelligent question answering When the system asks questions, the intelligent question answering system performs word segmentat...
Embodiment 3
[0139] The embodiment of the present application provides a device for processing out-of-set words based on multi-semantics, Figure 7 A block diagram of a device for processing out-of-set words based on multi-semantics shown in the embodiment of the present application, such as Figure 7 As shown, the device includes:
[0140] The semantic weight acquisition unit 310 is used to obtain the weight of each semantic of the out-of-set words according to the upper and lower words of the out-of-set words in the sentence;
[0141] Semantic vector generation unit 320, for generating the semantic vector of each semantic according to the word vector of the sememe in each semantic;
[0142] The simulated word vector generating unit 330 is configured to weight and sum the semantic vectors of each semantic according to the weight of each semantic, to generate simulated word vectors.
[0143] As can be seen from the above technical solutions, the embodiment of the present application provid...
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