Mixed corpus word segmentation method based on Bi-LSTM-CNN

A word segmentation method, bi-lstm-cnn technology, applied in natural language data processing, special data processing applications, instruments, etc., can solve the problems of not being able to identify unregistered words, loss of word segmentation accuracy, relying on dictionaries, etc., to avoid unregistered words. Words, the effect of precision improvement

Inactive Publication Date: 2018-05-01
北京知道未来信息技术有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] 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
[0011] 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
[0012] 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 segmentation method based on Bi-LSTM-CNN
  • Mixed corpus word segmentation method based on Bi-LSTM-CNN
  • Mixed corpus word segmentation method based on Bi-LSTM-CNN

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] 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.

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

[0057] (1) Training stage:

[0058] 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.

[0059] 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 a Bi-LSTM-CNN. According to the method, training mixed corpus data is converted into corpus data at a character level; statistical analysis is performed on characters of the corpus data to obtain a character set, and each character is numbered to obtain a character number set; statistical analysis is performed on character labels to obtain a label set, and the labels are numbered to obtain a label number set; a corpus is divided according to sentence length, obtained sentences are grouped according to the sentence length,and a data set is obtained; a sentence group is selected from the data set randomly without replacement, multiple sentences are extracted from the sentence group, the characters of each sentence forma piece of data w, and the corresponding label set is y; the data w is converted into corresponding numbers and labels y, the corresponding numbers and labels y are input into a model Bi-LSTM-CNN, and parameters of a deep learning model are trained; and to-be-predicted data is converted into data matched with the deep learning model, and the data is input into the trained deep learning model to obtain a word segmentation 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 Bi-LSTM-CNN. Background technique [0002] Bi-LSTM, the full name in English is: Bi-directional Long Short-Term Memory, which means in Chinese, bidirectional long and short-term memory neural network. [0003] Mixed corpus, in this patent application, refers to training or prediction data that includes corpus data in at least two languages. [0004] 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 ...

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/27G06N3/04
CPCG06F40/289G06N3/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