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

Analysis method and device of voice text string

A technology of speech text and analysis method, which is applied in the field of semantic analysis, can solve problems such as error-prone, and achieve the effects of strong usability, improved management efficiency, and easy understanding

Active Publication Date: 2015-12-09
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF5 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This leads to counting the order of parameters every time you write a regular expression, which is error-prone

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
  • Analysis method and device of voice text string
  • Analysis method and device of voice text string
  • Analysis method and device of voice text string

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] figure 2 is a flow chart illustrating a method for parsing a speech text string according to the first exemplary embodiment of the present invention.

[0043] refer to figure 2 , in step S210, acquire the speech text string to be parsed.

[0044] The voice text string is text data recognized from the voice entered by the user.

[0045] In step S220, the speech text string is matched with a plurality of preset regular expression matching templates, and information of the matched regular expression matching templates is obtained. Wherein, as mentioned above, the regular expression matching template is expressed in a structured form, the regular string sequence of the regular expression is described in the first structured tag, and the regular character is represented in at least one second structured tag The corresponding matching string in the sequence of strings.

[0046] In step S230, information of the matching regular expression matching template is...

Embodiment 2

[0055] image 3 is a logic block diagram showing an apparatus for analyzing speech-text strings according to the second exemplary embodiment of the present invention. The apparatus for analyzing the speech-text string can be used to implement the method of Embodiment 1.

[0056] refer to image 3 , the apparatus for analyzing the phonetic text string includes a phonetic text string acquisition unit 310 , a regular expression matching unit 320 and a regular expression output unit 330 .

[0057] The phonetic text string obtaining unit 310 is used for obtaining the phonetic text string to be parsed.

[0058] The regular expression matching unit 320 is configured to match the speech text string with a plurality of preset regular expression matching templates, and obtain information about the matched regular expression matching templates. Wherein, the regular expression matching template is expressed in a structured form, the regular string sequence of the regular expr...

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 embodiment of the invention provides an analysis method and device of a voice text string. The method comprises the following steps: obtaining the voice text string to be analyzed; matching the voice text string with a plurality of preset regular expression matching templates, and obtaining the information of the matched regular expression matching templates, wherein the regular expression matching template is expressed in a structured form, a regular character string sequence of a regular expression is described in a first structured label, and corresponding matched character strings in the regular character string sequence are expressed in at least one second structured label; and outputting the information of the matched regular expression matching template. The expression and the management of the regular expression are normative and simple through a way that the regular expression matching template of the structured form is constructed.

Description

technical field [0001] The invention relates to semantic analysis technology, in particular to a method and device for analyzing voice text strings. Background technique [0002] Currently, speech recognition-based applications have been widely used due to their ease of use. Users usually express their intentions in a colloquial way when inputting speech, so when analyzing the user's speech after converting it into a speech text string, it is necessary to use a parsing method suitable for colloquial expression. [0003] Rule matching is a commonly used method for colloquial semantic analysis. It uses pre-programmed rule strings and (after voice conversion) speech text strings to perform string matching. [0004] Existing regular expressions for spoken language parsing are usually presented in a very abstract way. For example, if you want to parse the command to send SMS, you need to write the rule like this: "(to)(.+)(send|return)(info|sms)" or / and "(send|return)(info|sms)...

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/30G06F17/27
CPCG06F16/636G06F16/90344G06F40/30
Inventor 时培轩
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD