Natural language analyzing method and device, server, and storage medium

A technology of natural language and parsing method, applied in the field of natural language, it can solve the problem that templates cannot be reused

Active Publication Date: 2018-12-07
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF9 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a natural language analysis method, device, server, and storage medium to solve the problem in the prior art that templates corresponding to application scenarios or business scenarios that require natural language understanding must be independently written, and each template Technical issues that cannot be reused between

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
  • Natural language analyzing method and device, server, and storage medium
  • Natural language analyzing method and device, server, and storage medium
  • Natural language analyzing method and device, server, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] figure 1 It is a flow chart of a natural language analysis method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where it is necessary to understand the user's real intention according to the user's natural language. This method can be executed by a corresponding natural language analysis device. The device can be realized by software and / or hardware, and can be configured on a server. Such as figure 1 As shown, the natural language parsing method provided in the embodiment of the present invention may include:

[0029] S110. Segment the natural language text to be parsed to obtain a plurality of corresponding word segmentation segments.

[0030] In some human-computer interaction products, the computer needs to convert the natural language input by the user into structured data, and then determine the real intention that the user wants to express for subsequent specific business logic processing. Therefore, it is ne...

Embodiment 2

[0042] figure 2 It is a schematic flowchart of a natural language parsing method provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of the above embodiments, such as figure 2 As shown, the natural language parsing method provided in the embodiment of the present invention may include:

[0043] S210. Segment the natural language text to be parsed to obtain a plurality of corresponding word segmentation segments.

[0044] S220. Match each word segment, and a combination of adjacent word segments among the plurality of word segments, with a pre-established knowledge vocabulary.

[0045] In this embodiment, after obtaining multiple word segmentation segments, they are combined according to the solidification degree between adjacent word segmentation segments to obtain different compound words. For example, "Beijing" and "Road" are two word segmentation segments, and the combination The final "Beijing Road" is used as a compound word, ...

Embodiment 3

[0061] image 3 It is a schematic flowchart of a natural language parsing method provided by Embodiment 3 of the present invention. This embodiment is optimized on the basis of the above embodiments, such as image 3 As shown, the natural language parsing method provided in the embodiment of the present invention may include:

[0062] S310. Segment the natural language text to be parsed to obtain a plurality of corresponding word segmentation segments.

[0063] S320. Perform concept labeling on each word segment to obtain at least one concept label, where the concept label is used to map an abstract concept of the word segment.

[0064] S330. Permutate and combine the at least one concept tag to obtain multiple concept tag sequences, wherein, among different concept tag sequences, word segmentation boundaries covered by the concept tags in each concept tag sequence do not overlap.

[0065] S340. For each concept label sequence, sort according to the concept label coverage, ...

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 discloses a natural language analyzing method and device, a server and a storage medium, wherein the method comprises the following steps: cutting the natural languagetext to be analyzed to obtain a plurality of corresponding cutting fragments; obtaining at least one concept label by carry out concept labeling on each word segmentation segment; arranging and combining at least one concept tag to obtain a plurality of concept tag sequence; for each concept tag sequence, obtaining the intent and slot of the natural language text by combining the pre-established entity intent knowledge network, wherein the entity intent knowledge network comprises an entity intent set of a plurality of different service scenarios, and the entity intent sets of different service scenarios are related to each other through entities. The embodiment of the invention abstracts entities, different entities can reuse common intention knowledge, and different service scenarios only need to introduce required entity knowledge, so that the true intention of the related entities can be deduced quickly.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of natural language, and in particular, to a natural language parsing method, device, server and storage medium. Background technique [0002] Natural language understanding technology is to convert human language into a data format that computers can recognize and understand, so that in different application systems, computers can provide services for different needs of users. For example, in human-computer interaction products, the computer needs to convert the natural language input by the user into structured data, and then determine the real intention that the user wants to express for subsequent specific business logic processing. [0003] In the prior art, a simple template matching method is usually used to identify the user's intention from the text information corresponding to the natural language input by the user. However, templates are preset according to specific appl...

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/27
CPCG06F40/289G06F40/30
Inventor 徐威纪友升王文敏梁一川凌光周超
Owner BEIJING BAIDU NETCOM SCI & TECH 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