Unlock instant, AI-driven research and patent intelligence for your innovation.

Text intention recognition method and device and storage medium

A recognition method and text technology, applied in text database query, text database clustering/classification, unstructured text data retrieval, etc., can solve the problem of wrong intention, error, low sentence intention recognition rate, etc.

Pending Publication Date: 2022-02-25
HUAWEI TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, the identification of intent and slot filling are mainly realized by determining the entity type, but this identification method needs to determine the entity type through prior knowledge
However, when the entity type changes or the characteristics are not obvious, the determined entity type may be wrong. Using the wrong entity type for intent recognition and slot filling will generate wrong intent, resulting in a lower rate of sentence intent recognition. lower
Model generalization ability is low

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Text intention recognition method and device and storage medium
  • Text intention recognition method and device and storage medium
  • Text intention recognition method and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0138] Example 1: For the situation that the entity cannot be matched in the entity dictionary library.

[0139] Exemplarily, the text to be recognized is matched with each entity in the entity dictionary database, but no corresponding entity is matched, that is, the type of the entity in the text to be recognized cannot be determined. At this time, there is no process of fusing the second feature vector of the entity with the feature vector of the word, and the network model will determine the intention of the text to be recognized according to the semantics of the text to be recognized. Because, in the process of training the network model, for the case where the type of the entity is uncertain, training samples with various intentions are constructed. Therefore, the network model will treat the situation in Example 1 as a multi-intent scene, and the output candidate intent is a general intent. Then, in the process of post-processing the common intent, all intents correspon...

example 2

[0141] Example 2: For the case where all the matched entities in the entity dictionary are wrong.

[0142] Optionally, one or more wrong entities are matched. In this application, one wrong entity is matched as an example for illustration. The situation of matching multiple wrong entities is similar to that of matching one wrong entity, and will not be described again.

[0143] Exemplarily, the text to be recognized is matched with each entity in the entity dictionary database. Since the entities in the entity dictionary database are relatively noisy, wrong entities may be matched during the matching process. For example, the text to be recognized is "Please play me the old days", but there may only be the video entity "Old Times" in the entity dictionary. Therefore, during the matching process, the matched entity is the video entity "Old Time", that is, the entity matching result of the text to be recognized is "[CLS] Please play Hello Old Time for me [SEP][video name]7 :9",...

example 3

[0145] Example 3: For the entities matched in the entity dictionary, there are both correct and incorrect cases.

[0146] Optionally, the number of matched correct entities and incorrect entities can be one or more. In this application, a wrong entity and a correct entity are matched as an example for illustration, and other numbers of correct entities and wrong entities and this type will not be described again.

[0147] Exemplarily, the text to be recognized is matched with each entity in the entity dictionary database. Since the entities in the entity dictionary database are relatively noisy, multiple entities will be matched during the matching process. There may be both The right entity, and the wrong entity. For example, the text to be recognized is "Please play me the good old time", but there may be video entity "Hello old time" and audio entity "Old time" in the entity dictionary. Therefore, during the matching process, the matched entities include music entities an...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to text intention recognition in the technical field of artificial intelligence, and particularly discloses a text intention recognition method and device and a storage medium. The method comprises the steps of determining at least one entity in a to-be-recognized text and the position of each entity in the at least one entity in the to-be-recognized text according to a pre-constructed entity dictionary library; encoding each entity and the position of each entity in the text to be identified to obtain a first feature vector corresponding to each entity; coding each word in the text to be recognized to obtain a second feature vector corresponding to each word; and determining an intention corresponding to the to-be-recognized text according to the first feature vector corresponding to each entity and the second feature vector corresponding to each word. The embodiment of the invention is beneficial to improving the accuracy of text intention recognition.

Description

technical field [0001] The present invention relates to text intent recognition in the technical field of artificial intelligence (AI), in particular to a text intent recognition method, device and storage medium. Background technique [0002] Natural Language Understanding (NLU) tasks in human-computer dialogue can usually be divided into two subtasks: intent recognition and slot filling. specific needs. At present, the NLU system usually includes a combination of rules, statistics, and deep learning. Among them, the system based on deep learning is driven by data, easy to maintain, and has strong scalability, which is valued by many developers. [0003] In the deep learning system, the two tasks of intent recognition and slot filling interact with each other, and judgments can be made serially or in parallel. At present, the identification of intent and slot filling are mainly realized by determining the entity type, but this identification method needs to determine the ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/33G06F16/332G06F16/35G06F40/211G06F40/295G06F40/30
CPCG06F16/3329G06F16/3343G06F16/3344G06F16/35G06F40/211G06F40/295G06F40/30
Inventor 张钊徐坤孟函可王宝军张宇洋
Owner HUAWEI TECH CO LTD