Named entity recognition method and named entity recognition model training method and device

A named entity recognition and model technology, applied in the computer field, can solve the problems of low accuracy of recognition results and failure to learn the overall characteristics of training samples.

Active Publication Date: 2019-06-18
BEIJING KINGSOFT DIGITAL ENTERTAINMENT CO LTD +1
View PDF7 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, in the above-mentioned related technologies, since the word order information of each word included in the training samples is ignored during the processing of the LSTM layer, the overall characteristics of the training samp...

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
  • Named entity recognition method and named entity recognition model training method and device
  • Named entity recognition method and named entity recognition model training method and device
  • Named entity recognition method and named entity recognition model training method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0091] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0092] In related technologies, in the above related technologies, since the word order information of each word included in the training samples is ignored during the processing of the LSTM layer, the overall characteristics of the training samples are not learned. Therefore, the naming obtained by training in the above related technologies is adopted. When the entity recognition model performs named entity recognition on text, the accuracy of the recognition ...

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 a named entity recognition method. The method comprises the steps of obtaining a target text to be subjected to named entity recognition; inputting the targettext into a preset named entity recognition model to obtain a named entity recognition result of the target text, wherein the named entity recognition model is obtained by training a training sample and label information of the training sample; the named entity recognition model comprises a long short-term memory network LSTM layer; the LSTM layer is used for processing each character except the first two characters in the training sample, and the processing process of the LSTM layer comprises the step of carrying out feature extraction on a character vector of the character, an initial feature vector of a previous character of the character and a word vector of the existing word to obtain an initial feature vector of the character if a word exists in the content in front of the characterin the training sample. Compared with the prior art, when the method provided by the embodiment of the invention is applied to perform named entity recognition on the text, the accuracy of the obtained recognition result can be improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a named entity recognition method, a training method and a device for a named entity recognition model. Background technique [0002] Currently, there are more and more demands for named entity recognition tasks, such as question answering systems, machine translation systems, etc. The so-called named entity recognition (Named Entity Recognition, NER), also known as "proper name recognition", refers to the recognition of entities with specific meanings in the text, mainly including names of people, places, institutions, and proper nouns. [0003] Among them, performing named entity recognition tasks based on the trained named entity recognition model is a common method. The named entity recognition model may include an LSTM (LongShort-Term Memory, long-term short-term memory network) layer for extracting the feature vectors of each word in the text, and an intermediate layer f...

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
IPC IPC(8): G06F17/27G06N3/08
Inventor 李长亮侯昶宇汪美玲唐剑波
Owner BEIJING KINGSOFT DIGITAL ENTERTAINMENT 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