Text implication recognition method and device
A recognition method and text technology, applied in the field of text implication recognition methods and devices, can solve the problems of low recognition accuracy and achieve the effect of improving accuracy and enriching understanding
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] This embodiment provides a text entailment recognition method, which is used to encode the input text pair including the premise text and the hypothetical text to obtain the corresponding text vector, and use the attention mechanism in natural language reasoning to process the text vector performing reasoning to determine and output the textual implication relationship between the premise text and the hypothetical text in the text pair, wherein the reasoning of the text vector using the attention mechanism in natural language reasoning is based on a long short-term memory network Dynamic reasoning based on gating selection and dynamic attention mechanism, in which the dynamic reasoning includes inferring text pairs from three levels of direct connection, similarity and difference. Before reasoning at the three levels, each level needs to perform word-level attention reasoning on the premise text and the hypothetical text, and then perform sentence gating to select the re...
Embodiment 2
[0111] Based on the text implication recognition method in the above-mentioned embodiment 1, this embodiment provides a corresponding text implication recognition device based on the same idea, and the text connotation recognition device can form a whole product by means of software, hardware or a combination thereof.
[0112] Specifically, see figure 1, is a structural diagram of a text entailment recognition device in this embodiment. As shown in the figure, the text entailment recognition device 200 includes an encoding network module 210, a dynamic reasoning module 220, and an output module 230, wherein the encoding network module is used to input The text pair including the premise text and the hypothetical text is encoded to obtain the corresponding text vector; the dynamic reasoning module is used to use the attention mechanism in natural language reasoning to reason the text vector to determine the premise text and hypothesis in the text pair Text implication relations...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


