Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Mixed corpus word segment method based on LSTM (Long Short Term Memory)-CNN (Convolutional Neural Network)

A word segmentation method and corpus technology, applied in neural learning methods, natural language data processing, special data processing applications, etc., can solve the problems of word segmentation accuracy loss, unrecognized unregistered words, and difficult distinction of multilingual detection granularity, etc., to achieve Effect of Accuracy Improvement

Active Publication Date: 2018-03-13
北京知道未来信息技术有限公司
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] Disadvantage 1: The detection granularity of multiple languages ​​is not easy to distinguish, and there is a loss of participle accuracy because a certain language is not detected
[0010] Disadvantage 2: The dictionary-based method is too dependent on the dictionary, and cannot identify unregistered words that have not appeared in the dictionary based on semantic information
[0011] Disadvantage 3: The current statistics-based methods are mainly HMM (Hidden Markov) model and CRF (Conditional Random Field) model, because of the degree of calculation, it only considers the correlation between the current word and the previous word , the rest are conditionally independent, which is inconsistent with the reality, so there is room for further improvement in the accuracy of word segmentation

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
  • Mixed corpus word segment method based on LSTM (Long Short Term Memory)-CNN (Convolutional Neural Network)
  • Mixed corpus word segment method based on LSTM (Long Short Term Memory)-CNN (Convolutional Neural Network)
  • Mixed corpus word segment method based on LSTM (Long Short Term Memory)-CNN (Convolutional Neural Network)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail in conjunction with the accompanying drawings.

[0054] The method process of the present invention is as figure 1 shown, which includes:

[0055] (1) Training stage:

[0056] Step 1: Transform the original training mixed corpus data OrgData into character-level mixed corpus data NewData. Specifically: using the BMES (Begin, Middle, End, Single) marking method, each word with a label in the original training mixed corpus data is segmented at the character level. Then the character at the beginning of the word is marked as B, the character at the middle of the word is marked as M, the character at the end of the word is marked as E, and if the word has only one character, it is marked as S.

[0057] Step 2: Count the characters in NewData to obtain a character set CharSet. For example, suppose there are t...

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 mixed corpus word segment method based on an LSTM (Long Short Term Memory)-CNN (Convolutional Neural Network). The method comprises the steps of converting training mixed corpus data into the mixed corpus data at a character level; counting the mixed corpus data characters to obtain a character set, and numbering each character to obtain a character serial number set; counting character labels to obtain a label set, numbering the labels to obtain a label serial number set; segmenting the corpus according to a sentence length, and grouping the obtained sentences according to the sentence length to obtain a data set; randomly selecting a sentence subgroup from the data set, extracting a plurality of sentences from the sentence subgroup, wherein the characters of each sentence form a datum w, and a corresponding label set is y; converting the datum w into a corresponding serial number and sending the label y to a model LSTM-CNN, and training a parameter of a deeplearning model; and converting to-be-predicted mixed corpus data into data matched with the deep learning model, sending the to-be-predicted mixed corpus data to the trained deep learning model to obtain a word segment result.

Description

technical field [0001] The invention belongs to the technical field of computer software, and relates to a mixed corpus word segmentation method based on LSTM-CNN. Background technique [0002] Mixed corpus, in this patent application, refers to training or prediction data that includes corpus data in at least two languages. [0003] Word segmentation (Word Segment) refers to marking the input continuous string into a continuous label sequence according to the semantic information. In this patent application, the sequence data of Asian characters (simplified Chinese, traditional Chinese, Korean and Japanese) is divided into individual words, and spaces are used as the division between words. Registered words, in this patent, refer to words that have already appeared in the corpus vocabulary. Unregistered words refer to words that do not appear in the corpus vocabulary. [0004] The word segmentation method of mixed corpus involves two aspects of professional knowledge: on...

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/04G06N3/08
CPCG06N3/049G06N3/08G06F40/205G06F40/279G06N3/045
Inventor 唐华阳岳永鹏刘林峰
Owner 北京知道未来信息技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products