Character block sorting method and device, storage medium and electronic equipment

A sorting method and text block technology, which are applied in the fields of electrical digital data processing, special data processing applications, instruments, etc., and can solve the problem that the sorting method cannot be directly adopted.

Active Publication Date: 2019-06-11
NEUSOFT CORP
View PDF2 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Due to the different sizes of text blocks, some text blocks may occupy several lines of the document, and the traditional sorting method cannot be directly used to sort the text blocks of each row or column in turn

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
  • Character block sorting method and device, storage medium and electronic equipment
  • Character block sorting method and device, storage medium and electronic equipment
  • Character block sorting method and device, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052]Specific embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to illustrate and explain the present disclosure, and are not intended to limit the present disclosure.

[0053] It should be noted that the terms "first" and "second" in the embodiments of the present disclosure are used to distinguish similar objects and do not necessarily mean a specific order or sequence.

[0054] In addition, in the embodiments of the present disclosure, unless otherwise stated, the used orientation words such as "up, down, left, and right" are generally defined based on the directions of the corresponding drawings.

[0055] An embodiment of the present disclosure provides a text block sorting method, such as figure 1 As shown, the method includes:

[0056] In step S11, the adjacency relationship between the text blocks is established accor...

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 relates to a character block sorting method. The invention discloses a text block processing method and device, a storage medium and electronic equipment, and the method comprises the steps: building the adjacency relationship between text blocks according to the position information of the text blocks in a document, the adjacency relationship comprising a first adjacency relationship for representing the horizontal adjacency of the text blocks and / or a second adjacency relationship for representing the vertical adjacency of the text blocks; Generating an ordered set of characterblocks adjacently connected according to the same adjacency relationship according to the adjacency relationship between the character blocks; And for the ordered sets with the same adjacency relationship, according to the position sequence among the ordered sets and the sequence of the character blocks in each ordered set, determining the arrangement sequence of each character block. According to the technical scheme, the character blocks in the whole document are logically ordered.

Description

technical field [0001] The present disclosure relates to the field of text comparison, in particular, to a text block sorting method, device, storage medium and electronic equipment. Background technique [0002] In the field of word processing, the text comparison function is often used, such as comparing the differences between two documents. [0003] When comparing the content of two documents, the comparison is usually done in units of lines. However, when the font size, font, and typesetting of the two documents are inconsistent, the number of characters displayed on the same line is inconsistent, and the comparison in units of lines cannot be accurate. the result of. If the comparison is performed in units of words (one Chinese character is one word in Chinese), since some documents cannot find out the relative order of each word according to reading habits, this comparison method is difficult to realize. However, dividing the document into multiple text blocks and c...

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/22
Inventor 韩志刚
Owner NEUSOFT CORP
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