Logic expression determination method, device and equipment and medium
A technology for logical expressions and determination methods, which is applied in the field of intelligent question answering, and can solve problems such as unexecutable execution and no results of logical expressions
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] figure 1 It is a flowchart of a method for determining a logical expression provided by Embodiment 1 of the present invention. This embodiment can be applied to determine the logical expression of the question, so as to execute the logical expression to determine the answer of the question. The method can be executed by a logic expression determining device, and the device can be realized by software and / or hardware. see figure 1 , the logical expression determination method provided by the embodiment of the present invention includes:
[0030] S110. Perform semantic analysis on the acquired questions.
[0031] Among them, the question sentence is the query input by the user.
[0032] Specifically, the semantic analysis includes at least one of word segmentation, entity recognition, part-of-speech tagging and dependency analysis.
[0033] S120. Determine a target frame describing the overall semantic and logical relationship of the question sentence according to th...
Embodiment 2
[0068] figure 2 It is a flowchart of a method for determining a logical expression provided in Embodiment 2 of the present invention. This embodiment is an optional solution proposed on the basis of the foregoing embodiments. see figure 2 , the logical expression determination method provided in this embodiment includes:
[0069] S210. Perform semantic analysis on the acquired questions.
[0070] S220. Determine the semantic and logical relationship between each word in the question sentence according to the semantic analysis result between the words in the question sentence and the preset semantic logical relationship between words.
[0071] S230. Construct a knowledge graph by using each word included in the question as a graph node, and using a semantic logical relationship between words as a graph relationship.
[0072] S240. Determine, according to the knowledge graph, a target frame describing the overall semantic and logical relationship of the question.
[0073]...
Embodiment 3
[0094] Figure 6 is a schematic structural diagram of a logic expression determining device provided in Embodiment 3 of the present invention. see Figure 6 , the device for determining logical expressions provided in this embodiment includes: a semantic analysis module 10 , a frame determination module 20 and an expression determination module 30 .
[0095] Wherein, the semantic analysis module 10 is used for performing semantic analysis to the acquired questions;
[0096] Framework determination module 20, for determining the target framework describing the overall semantic logic relationship of the question according to the semantic analysis results and the semantic logic relationship between the preset words and words;
[0097] An expression determination module 30, configured to determine the target logical expression of the question according to the target framework and the general representation of each resource in the knowledge base, for executing the target logical ...
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