Chinese word segmentation method based on Hash algorithm

A technology of Chinese word segmentation and hash algorithm, which is applied in text database indexing, unstructured text data retrieval, special data processing applications, etc., can solve problems such as low efficiency, index redundancy, and slow matching speed, and reduce complexity , reduce the degree of redundancy, and improve the efficiency of word segmentation

Inactive Publication Date: 2019-07-23
合肥天毅网络传媒有限公司
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The object of the present invention is to provide a kind of Chinese participle method based on Hash algorithm, carry out Hash search to first word by creating dictionary storage mechanism, set up the dictionary structure and algorithm that tree form result carries out Hash search to remaining word, and utilize IK Word segmentation updates the search engine, which solves the problems of slow matching speed, low efficiency and redundant indexes in the existing Chinese word segmentation method

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
  • Chinese word segmentation method based on Hash algorithm
  • Chinese word segmentation method based on Hash algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] 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 creative efforts fall within the protection scope of the present invention.

[0031] see figure 1 Shown, the present invention is a kind of Chinese word segmentation method based on hash algorithm, comprises the steps:

[0032] Step S1: configure a word breaker on the search engine and establish a dictionary structure;

[0033] Step S2: monitor the user's carriage return, and obtain the first word in the input box;

[0034] Step S3: The first word input dictionary is searched and screened for the first time according to the coding rules of...

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 Chinese word segmentation method based on a Hash algorithm, and relates to the field of natural language processing. The method comprises the following steps of S1, configuring a word segmentation device on a search engine and establishing a dictionary structure; s2, monitoring the return operation of the user, and obtaining the first character in an input box; s3, inputting the first character into a dictionary for primary searching and screening; s4, forming a tree by all words with the same first characters in the dictionary; s5, placing a second word in the word on a second layer of the tree, and creating a Hash index table; s6, carrying out Hash searching on the remaining characters; s7, after an IK reads the new lexicon, notifying the search engine to update; and S8, updating the dictionary information in the memory by the search engine. According to the invention, the Hash search is carried out on the first character by creating a dictionary storage mechanism, the dictionary structure and the algorithm of carrying out Hash search on the remaining characters via the tree result are established, and the search engine is updated by using IK word segmentation, so that the Chinese word segmentation efficiency is improved, the system complexity is reduced, and the index redundancy degree is reduced.

Description

technical field [0001] The invention belongs to the field of natural language processing, in particular to a Chinese word segmentation method based on a hash algorithm. Background technique [0002] With the continuous development of the Internet, the number of web pages has increased dramatically, and web pages have become the largest and most extensive source of information for people. A lot of useful information is submerged in the vast number of Web pages. Faced with massive information, people can no longer simply rely on manual processing of all the information. Text search is one of the important application technologies in the field of large-scale information processing, and it is also an important research direction in the field of information processing. With the in-depth study of text classification search technology, text search technology is more and more widely used in information technology. The word segmentation technology is the "soul" of any search engine...

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): G06F16/31G06F16/36
CPCG06F16/325G06F16/374
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