A mixed corpus word segmentation method based on lstm-cnn

A word segmentation method and corpus technology, applied in neural learning methods, natural language data processing, instruments, etc., can solve problems such as dependence on dictionaries, loss of word segmentation accuracy, and poor distinction of multilingual detection granularity

Active Publication Date: 2020-12-11
北京知道未来信息技术有限公司
View PDF5 Cites 0 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
  • A mixed corpus word segmentation method based on lstm-cnn
  • A mixed corpus word segmentation method based on lstm-cnn
  • A mixed corpus word segmentation method based on lstm-cnn

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 segmentation method based on LSTM-CNN. The method is as follows: converting the training mixed corpus data into character-level mixed corpus data; counting the characters of the mixed corpus data to obtain a character set and numbering each character to obtain a character number set; counting character labels to obtain a label set, and calculating the labels numbering to obtain a set of label numbers; divide the corpus according to the sentence length, and group the obtained sentences according to the sentence length to obtain a data set; randomly select a sentence group from the data set without replacement, and extract multiple sentences from it. The characters constitute a data w, and the corresponding label set is y; the data w is converted into the corresponding number and label y and sent to the model LSTM‑CNN to train the parameters of the deep learning model; the mixed corpus data to be predicted is converted into The data matched by the model is sent to the trained deep learning model to obtain word segmentation results.

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F40/279G06F40/205G06N3/04G06N3/08
CPCG06N3/049G06N3/08G06F40/205G06F40/279G06N3/045
Inventor 唐华阳岳永鹏刘林峰
Owner 北京知道未来信息技术有限公司
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