Unlock instant, AI-driven research and patent intelligence for your innovation.

A line breaking method and device

A one-line, line-break technology, which is applied in the direction of instruments, calculations, electrical digital data processing, etc., can solve the problem that text content cannot be intelligently broken lines, etc.

Active Publication Date: 2021-09-28
方正国际软件(北京)有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The present invention provides a line breaking method and device to solve the problem in the prior art that the way of breaking lines of text content cannot be intelligently broken according to the semantics of a line in the text content

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
  • A line breaking method and device
  • A line breaking method and device
  • A line breaking method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments . 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.

[0055] The line breaking method provided by the embodiment of the present application, for a line of target content that has been typesetting by line breaking, according to the word segmentation lexicon and / or preset grammar rules, determine the target field and adjustment method that need to be adjusted in the line, and then according to the determined The adjustment method adjusts the target field in the line to the end of the adjacent pr...

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 present invention relates to the field of software technology, in particular to a method and device for breaking lines, which are used to solve the problem in the prior art that the way of breaking lines of text content cannot intelligently break lines according to the semantics of a line in the text content. The method includes: For a line of target content that has already been typeset in broken lines, according to the word segmentation lexicon and / or preset grammar rules, determine the target field that needs to be adjusted and the adjustment method in the line, and then make the target field in the line according to the determined adjustment method The field is adjusted to the end of the adjacent previous line or the front of the next line, so that the text content of each line can be adjusted based on the word segmentation lexicon and / pre-set grammatical rules, so that the text content of each line remains semantically coherent and complete .

Description

technical field [0001] The invention relates to the technical field of software, in particular to a line break method and device. Background technique [0002] For the given text content, in many cases, it cannot be arranged in one line, so corresponding measures need to be taken to deal with it. For this, line break processing is generally performed to make it occupy multiple lines. In this way, the line break position The choice is a problem. If the choice is appropriate, it will be natural and decent to read, with smooth semantics, making the semantics complete after line breaks, and making the text content both beautiful and semantically complete. [0003] In the prior art, when typesetting text content, line breaks can be performed in the following two ways: [0004] Method 1: Automatically break the line according to the maximum number of characters allowed to be displayed in one line, that is, the maximum number of characters allowed to be displayed in each line is f...

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 Patents(China)
IPC IPC(8): G06F40/166G06F40/189
Inventor 刘建军王学武于芬芬袁朝任珊珊
Owner 方正国际软件(北京)有限公司