Semantic analysis method and device

A technology for semantic parsing and generating semantics, applied in the computer field, can solve the problems of inability to parse out the meaning, difficult to distinguish the time, processing impact, etc., to achieve the effect of improving the parsing accuracy and reducing the impact of noise on semantic parsing

Inactive Publication Date: 2015-11-25
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF2 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, using wildcards to extract function parameters is easy to misunderstand noise, for example: "Send a message to my dear Andy Lau", the correct function parameter should be "Andy Lau", and the extracted function parameter is "My dear Andy Lau", It will affect the subsequent processing, and then affect the overall analysis effect
In addition, when the input text contains multiple function parameters, it is impossible to parse out the meaning of each parameter, such as "query the weather of a certain day and place", the text will be converted into "(query)(.+)(of )? (.+)(weather)", so it is difficult to distinguish which parameter represents the time and which parameter represents the place name, resulting in a low parsing success rate

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
  • Semantic analysis method and device
  • Semantic analysis method and device
  • Semantic analysis method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

[0016] The semantic parsing method and device of the embodiments of the present invention are described below with reference to the accompanying drawings.

[0017] figure 1 is a flowchart of a semantic analysis method according to an embodiment of the present invention, such as figure 1 As shown, the method includes:

[0018] S1. Acquire input speech data, and perform text conversion on the speech data to generate text data.

[0019] For example, if the input voice data is "inquire about the weather in Beijing tomorrow", the v...

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 discloses a semantic analysis method and device. The semantic analysis method includes the steps that S1, input voice data are acquired, and text transformation is performed on the voice data to generate text data; S2, entity identification is performed on the text data to acquire an entity type tag in the text data; S3, the text data are transformed into text data with an entity type tag according to entity information in the text data and the corresponding entity type tag; S4, the text data with the entity type tag are matched with a database to generate a semantic analysis result. By means of embodiment of the semantic analysis method and device, influences on semantic analysis from noise can be lowered, the entity information in the text data and the entity type tag corresponding to the entity information can be accurately acquired, and therefore analysis accuracy is improved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a semantic analysis method and device. Background technique [0002] Spoken language semantic analysis is an essential part of voice interaction. It mainly analyzes the intention of the user input, extracts the knowledge that can express the intention, and converts it into a structured data format that the machine can understand. [0003] At present, the method of character string matching between preset rule strings and speech-converted text strings is mainly used to analyze the semantics. Specifically, keyword combinations can be compiled into regular expressions, the extracted function parameters can be represented as wildcards, and a mapping relationship can be established between the regular expressions and corresponding services, thereby realizing semantic analysis. For example, the keyword combination is "(to) (.+) (send / return) (information / short message)", and...

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): G06F17/27G06F17/30
Inventor 时培轩
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products