Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Word segmentation method and device, terminal and computer readable storage medium

A word segmentation method and word segmentation technology, applied in the field of data processing, can solve problems such as slow word segmentation speed and inability to meet fast word segmentation

Active Publication Date: 2019-05-24
BEIJING KINGSOFT INTERNET SECURITY SOFTWARE CO LTD
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The inventor found in the process of realizing the present invention that the word segmentation speed of this word segmentation method is still relatively slow and cannot meet the needs of fast 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
  • Word segmentation method and device, terminal and computer readable storage medium
  • Word segmentation method and device, terminal and computer readable storage medium
  • Word segmentation method and device, terminal and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0069] 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 making creative efforts belong to the protection scope of the present invention.

[0070] In order to solve the technical problem of slow word segmentation in the prior art, embodiments of the present invention provide a word segmentation method, device, terminal, and computer-readable storage medium.

[0071] Among them, word segmentation refers to the process of segmenting a continuous character sequence into word sequences according to a certain specification. Specifically, Chinese word segmentation refers to the process of dividing a seq...

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 embodiment of the invention provides a word segmentation method and device, a terminal and a computer readable storage medium. The method comprises the following steps: determining text information of a to-be-segmented word; performing word segmentation on the text information according to a preset matching algorithm, a unitary word bank in a pre-constructed word segmentation model and a wordindex table corresponding to the unitary word bank; wherein the words in the unitary lexicon are sorted according to the number of characters contained in each word; wherein the word index table is used for indexing the position of each character number of words in the unitary word bank; And obtaining a word segmentation result of the text information. Therefore, in the process of carrying out word segmentation on the text information by utilizing the preset matching algorithm, the position interval corresponding to the character number of the word to be queried can be determined by utilizingthe word index table, and then whether the word exists in the position interval or not can be searched. In this way, traversing of the unitary word bank is avoided, the searching time is shortened, and therefore the word segmentation speed is increased.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a word segmentation method, device, terminal and computer-readable storage medium. Background technique [0002] Since Chinese uses characters as the writing unit, and there is usually no obvious participle mark between characters in a sentence. Therefore, electronic devices often need to segment the sequence of Chinese characters into individual words, so as to understand the semantics expressed by the sequence of Chinese characters according to the obtained word segmentation results. [0003] Currently, commonly used word segmentation algorithms include dictionary-based word segmentation algorithms. Wherein, the word segmentation algorithm is to match the Chinese character string to be matched with each word in a preset dictionary containing a large number of phrases according to a certain matching algorithm. If a word can be found in the dictionary, it means ...

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/27G06F16/31
Inventor 许晏铭
Owner BEIJING KINGSOFT INTERNET SECURITY SOFTWARE CO LTD
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
Eureka Blog
Learn More
PatSnap group products