Electronic book typesetting processing method, electronic equipment and storage medium
A processing method and e-book technology, applied in the computer field, can solve problems such as missing spaces in streaming documents, difficult to accurately identify text, and inconvenient reading process for users
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] figure 1 A flow chart of a typesetting processing method for an electronic book provided by an embodiment of the present invention is shown. Such as figure 1 As shown, the method includes the following steps:
[0030] Step S110: Analyze the original text lines contained in the original document of the e-book, and generate converted text lines corresponding to the original text lines in the converted document according to the analysis results.
[0031] Specifically, the original document of the e-book refers to: the original file of the e-book before format conversion processing is performed. Wherein, the original document of the e-book may be in various formats such as PDF format and image format. Correspondingly, the converted document refers to a document obtained after performing conversion on the original document, and the converted document may be in various formats such as epub format and word format.
[0032] During specific implementation, each original text...
Embodiment 2
[0042] figure 2 A flow chart of an e-book typesetting processing method provided by another embodiment of the present invention is shown. Such as figure 2 As shown, the method includes the following steps:
[0043] Step S200: Clustering the original text lines included in the original document of the e-book according to the style information in advance, and setting the style space threshold corresponding to various style information according to the clustering result.
[0044] Wherein, the style information is used to describe the style of the text, specifically including: font, font size, font shape and / or color, and the like. Since the font styles corresponding to different parts of an e-book such as the title, body text, and appendix are different, in this embodiment, different style space thresholds are set for different style information. Wherein, the style space threshold is used to determine whether a space needs to be inserted between adjacent characters in the do...
Embodiment 3
[0067] An embodiment of the present application provides a non-volatile computer storage medium, the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the typesetting processing method of an electronic book in any of the above method embodiments.
[0068] Specifically, the executable instruction can be used to make the processor perform the following operations:
[0069] Analyzing the original text lines contained in the original document of the e-book, and generating converted text lines corresponding to the original text lines in the converted document according to the analysis result;
[0070] Obtain the position offset of each text contained in the converted text line of the converted document in the original document, and calculate the position of two adjacent texts in the converted text line of the converted document according to the position offset spacing in said original document;
[0071] Acquirin...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com