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

Mixed-corpus word segmentation method based on Bi-LSTM

A word segmentation method and corpus technology, applied in the direction of neural learning methods, natural language data processing, special data processing applications, etc., can solve the problems of word segmentation accuracy loss, difficulty in distinguishing multilingual detection granularity, and dependence on dictionaries, etc., and achieve the goal of improving accuracy Effect

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

AI Technical Summary

Problems solved by technology

[0015] Disadvantage 1: The detection granularity of multiple languages ​​is not easy to distinguish, and the word segmentation accuracy will be lost because a certain language is not detected
[0016] 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
[0017] Disadvantage 3: The current statistics-based methods are mainly HMM (Hidden Markov) model and CRF (Conditional Random Field) model, because of the complexity of calculation, it only considers the correlation between the current word and the previous word , the rest of the words 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
  • Mixed-corpus word segmentation method based on Bi-LSTM
  • Mixed-corpus word segmentation method based on Bi-LSTM

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: Convert the original training mixed corpus data Original_Corpus into character-level mixed corpus data Corpus_by_Char. Specifically: using the BMESO (Begin, Middle, End, Single, Other) marking method, each word with a label in the original training mixed corpus data is segmented at the character level. Let the label corresponding to a word be Label, the character at the beginning of the word is marked as Label_B, the character at the middle of the word is marked as Label_M, the character at the end of the word is marked as Label_E, and if the word has only one single character, it is marked as Label_S. Because when words en...

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 Bi-LSTM. The method includes the steps that training mixed corpus data is converted into character-level corpus data; characters of the corpus data are subjected to statistics, a character set is obtained, the characters are numbered, and a character number set is obtained; labels of the characters are subjected to statistics, a label set is obtained, the labels are numbered, and a label number set is obtained; corpus is segmented according to sentence length, obtained sentences are grouped according to the sentence length, and a data set is obtained; a sentence group is randomly selected from the data set without releasing, multiple sentences are extracted from the sentence group, the characters of each sentence formdata w, and the corresponding label set is y; the data w is converted into corresponding numbers and labels y to be sent into a model Bi-LSTM, and parameters of the depth learning model Bi-LSTM are trained; data to be predicted is converted into data matched with the depth learning model, the data is sent into the trained depth learning model Bi-LSTM, and a word segmentation result is obtained.

Description

technical field [0001] The invention belongs to the technical field of computer software, and relates to a Bi-LSTM-based mixed corpus word segmentation method. 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, 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, it refers to segmenting the sequence data of Asian type characters (simplified Chinese, traditional Chinese, Korean and Japanese) into individual words, and using spaces as the segmentation between words. [0005] The word segmentation method of mixed corpus involves two aspects of professional knowledge: on the one hand, the data ...

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/08
CPCG06F40/284G06F40/289G06N3/08
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