Advanced mathematics text processing method, system and program product
By using image preprocessing and optical character recognition, the recognized and unrecognized characters in advanced mathematical texts are identified, text boxes are constructed, and special characters are recognized. This solves the problem of the difficulty in digitizing advanced mathematical texts and achieves efficient and accurate digitization of advanced mathematical texts.
Patent Information
- Application Number
- CN202511109277.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-08
- Publication Date
- 2025-11-18
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing technologies struggle to effectively identify and process specialized formulas and operators in advanced mathematical texts, making it difficult to achieve editable and searchable digital processing of these texts.
Through image preprocessing and optical character recognition, identified and unrecognized characters are determined, special recognition areas are divided, text boxes are constructed and features are extracted, special characters are identified using a pre-set special character recognition model, and the electronic document is typed and edited in combination with relative positional relationships.
It achieves efficient and accurate digital processing of advanced mathematics texts, generating editable and searchable electronic documents that support digital-assisted teaching and text content retrieval.
Smart Images

Figure CN120976945A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of text recognition, and particularly relates to a higher mathematics text processing method, system and program product. BACKGROUND
[0002] As an important material and tool indispensable in higher mathematics teaching, higher mathematics text is the main basis for teachers to impart higher mathematics knowledge and for students to learn higher mathematics knowledge. In the traditional teaching background, higher mathematics text mostly exists and is used in the form of paper, which makes the preservation and application of the teaching subject inconvenient and limited, and is not conducive to the development of digital teaching.
[0003] Although the optical character recognition (OCR) technology can be used to convert most teaching texts into digital form at present, so that the teaching subject can obtain digital text information for use while holding the paper teaching text, the speciality and complexity of the content of higher mathematics text lead most optical character recognition tools to only recognize the regular character content, and the professional formula and operation symbol with special layout are prone to be recognized as random code or even not recognized, so that the editable and searchable digital processing of higher mathematics text cannot be effectively realized. SUMMARY
[0004] The present application aims to provide a higher mathematics text processing method, system and program product to solve the above problems in the prior art.
[0005] In order to achieve the above-mentioned purpose, the present application adopts the following technical solutions:
[0006] In the first aspect, a higher mathematics text processing method is provided, comprising:
[0007] Obtaining a higher mathematics text image to be processed, and performing image preprocessing on the higher mathematics text image to obtain a target text image;
[0008] Performing optical character recognition on the target text image to determine the recognized characters and unrecognized characters in the target text image, and determine the relative position relationship between the recognized characters;
[0009] When it is determined that there is an unrecognized character between two recognized characters in the target text image, the image region between the two recognized characters is regarded as a special recognition region;
[0010] Traversing all the pixel points in the special recognition region, regarding the pixel points with a specified gray value as target pixel points, and constructing a text box of the special recognition region based on all the target pixel points in the special recognition region;
[0011] extract features of the to-be-recognized characters in the text box, and input the features of the to-be-recognized characters into a preset special character recognition model for recognition to obtain each special character in the text box;
[0012] determine relative positional relationships among the special characters in the text box, relative positional relationships between the special characters and the text box, and relative positional relationships between the text box and the two adjacent recognized characters;
[0013] based on the relative positional relationships among the recognized characters and the relative positional relationships between the text boxes and the corresponding two recognized characters, edit the recognized characters and the corresponding blank windows of the text boxes in the blank electronic document;
[0014] based on the relative positional relationships among the special characters in the text box and the relative positional relationships between the special characters and the text box, edit the special characters in the corresponding blank box;
[0015] after all the recognized characters and the special characters are edited, generate a corresponding higher mathematics electronic document.
[0016] In one possible design, the image preprocessing on the higher mathematics text image to obtain a target text image includes:
[0017] performing grayscale processing and binarization processing on the to-be-processed higher mathematics text image to obtain a binarized text image;
[0018] performing image denoising processing on the binarized text image to obtain a denoised text image, and performing tilt correction processing on the denoised text image to obtain a target text image.
[0019] In one possible design, the pixel point with the specified gray value is taken as the target pixel point, including: taking a pixel point with a gray value of 0 as the target pixel point.
[0020] In one possible design, the text box of the special recognition area is constructed based on all the target pixel points in the special recognition area, including:
[0021] determining the extreme left point, the extreme right point, the extreme upper point, and the extreme lower point of all the target pixel points in the special recognition area;
[0022] constructing a rectangular box by using the extreme left point, the extreme right point, the extreme upper point, and the extreme lower point of all the target pixel points in the special recognition area, and taking the constructed rectangular box as the text box of the special recognition area.
[0023] In one possible design, the features of the to-be-recognized characters in the text box are extracted, including:
[0024] extract position parameters of each target pixel point in the text box, and use the position parameters of each target pixel point in the text box to form a character feature to be recognized;
[0025] Alternatively, an initial pixel matrix of all pixel points in the text box is constructed, each matrix element in the initial pixel matrix is associated with a corresponding pixel point, and the value of each matrix element of the initial pixel matrix is 0. Then, the value of the matrix element corresponding to each target pixel point in the initial pixel matrix is changed to 1 to obtain a feature matrix, and the feature matrix is used as the character feature to be recognized.
[0026] In one possible design, before inputting the character feature to be recognized into the preset special character recognition model for recognition, the method further includes:
[0027] A ResNet-50 model is constructed, and the ResNet-50 model is trained and tested using a preset training set and a test set to obtain a special character recognition model. The training set and the test set each contain a plurality of character feature samples to be recognized annotated with corresponding special characters.
[0028] In one possible design, after generating the corresponding higher mathematics electronic document, the method further includes archiving and outputting the higher mathematics electronic document for display.
[0029] In a second aspect, a higher mathematics text processing system is provided, including an image acquisition unit, a character recognition unit, a special determination unit, a text box selection unit, a special recognition unit, a position determination unit, a first editing unit, a second editing unit, and a document generation unit, wherein:
[0030] The image acquisition unit is configured to acquire a higher mathematics text image to be processed, and perform image preprocessing on the higher mathematics text image to obtain a target text image.
[0031] The character recognition unit is configured to perform optical character recognition on the target text image, determine recognized characters and unrecognized characters in the target text image, and determine relative positional relationships between the recognized characters.
[0032] The special determination unit is configured to, when determining that there is an unrecognized character between two recognized characters in the target text image, regard an image region between the two recognized characters as a special recognition region.
[0033] The text box selection unit is configured to traverse all pixel points in the special recognition region, regard pixel points with a specified gray value as target pixel points, and construct a text box of the special recognition region based on all target pixel points in the special recognition region.
[0034] A special recognition unit is configured to extract features of the to-be-recognized characters in the text box, and input the features of the to-be-recognized characters into a preset special character recognition model to obtain each special character in the text box.
[0035] A position determination unit is configured to determine relative position relationships among the special characters in the text box, between the special characters and the text box, and between the text box and the two adjacent recognized characters.
[0036] A first editing unit is configured to edit the recognized characters and the corresponding blank window of the text box in the blank electronic document based on the relative position relationships among the recognized characters and between the text box and the two adjacent recognized characters.
[0037] A second editing unit is configured to edit the special characters in the corresponding blank box based on the relative position relationships among the special characters in the text box and between the special characters and the text box.
[0038] A document generation unit is configured to generate a corresponding higher mathematics electronic document after the recognized characters and the special characters are all edited.
[0039] In a third aspect, a higher mathematics text processing system is provided, which comprises:
[0040] A memory is configured to store instructions.
[0041] A processor is configured to read the instructions stored in the memory, and execute the higher mathematics text processing method according to any one of the first aspect.
[0042] In a fourth aspect, a computer readable storage medium is provided, and the computer readable storage medium stores instructions. When the instructions are run on a computer, the computer executes the higher mathematics text processing method according to any one of the first aspect. Meanwhile, a computer program product is also provided, and the computer program product executes the higher mathematics text processing method according to any one of the first aspect when the computer program product is run on a computer.
[0043] Beneficial effects: the present application carries out image preprocessing and optical character recognition on higher mathematics text image, to determine recognized characters and unrecognized characters in the text image, then divides special recognition area and text box based on the recognized characters and unrecognized characters to carry out special character recognition, to determine each special character in the text box, finally based on the relative position relationship between each recognized character, between the text box and the recognized character, between the special character and the text box and between the special characters, the recognized content is edited into a blank electronic document in correspondence with the layout, to generate higher mathematics electronic document, which can realize efficient and accurate higher mathematics text content recognition and processing conversion, and convert higher mathematics text content into editable and searchable digital information. The present application can more accurately recognize the regular characters and special characters in the higher mathematics text through double character recognition and position relationship determination, and edit the recognized content in position restoring layout, to effectively realize digital processing of higher mathematics text, which is helpful for digital auxiliary teaching and text content retrieval of higher mathematics. BRIEF DESCRIPTION OF DRAWINGS
[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description only constitute some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained from these drawings without creative labor.
[0045] Figure 1 It is a flowchart of the method in the embodiment 1 of the present application.
[0046] Figure 2 It is a schematic diagram of the system in the embodiment 2 of the present application.
[0047] Figure 3 It is a schematic diagram of the system in the embodiment 3 of the present application. DETAILED DESCRIPTION
[0048] It should be noted that the description of these embodiments is used to help understand the present application, but does not constitute a limitation of the present application. The specific structure and functional details disclosed herein are only used to describe the example embodiments of the present application. However, the present application can be embodied in many alternative forms, and should not be understood as limited in the embodiments set forth herein.
[0049] It should be understood that, unless otherwise explicitly specified and limited, the corresponding terms should be interpreted broadly. For example, "connection" can be a fixed connection, a detachable connection, or an integral connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be a connection within two components. Those skilled in the art can understand the specific meaning of the above terms in the embodiments according to the specific circumstances.
[0050] Specific details are provided in the following description to provide a complete understanding of the exemplary embodiments. However, those skilled in the art will understand that the exemplary embodiments can be implemented without these specific details. For example, apparatus may be shown in block diagrams to avoid obscuring the examples with unnecessary details. In other embodiments, well-known processes, structures, and techniques may be omitted with non-essential details to avoid obscuring the embodiments.
[0051] Example 1:
[0052] This embodiment provides a method for processing advanced mathematical text, which can be applied to corresponding text content processors, such as... Figure 1 As shown, the method includes the following steps:
[0053] S1. Obtain the image of the advanced mathematics text to be processed, and perform image preprocessing on the advanced mathematics text image to obtain the target text image.
[0054] In practice, the higher mathematics text to be processed (such as textbooks, reference materials, or web page content) can be scanned or image acquired using text scanning tools or image acquisition tools to obtain the image of the higher mathematics text to be processed. Then, the image of the higher mathematics text to be processed is transmitted to the processor, which performs subsequent processing on the image of the higher mathematics text.
[0055] After obtaining the advanced mathematics text image to be processed, the processor first performs image preprocessing on the advanced mathematics text image, including: grayscale processing and binarization processing of the advanced mathematics text image to be processed, to obtain a binarized text image. In the binarized text image, the grayscale value of the background area is 255 (i.e., white), and the grayscale value of the foreground area (content part) is 0 (i.e., black). Then, image denoising processing is performed on the binarized text image (such as median filtering, Gaussian filtering, etc. to remove salt-and-pepper noise and Gaussian noise), to obtain a denoised text image. Then, tilt correction processing is performed on the denoised text image (such as using Hough transform to detect lines, projection contour analysis, etc. to detect and correct the tilt angle of the text in the image), to obtain the target text image.
[0056] S2. Perform optical character recognition on the target text image to determine the recognized and unrecognized characters in the target text image, and determine the relative positional relationship between each recognized character.
[0057] In practice, the processor uses an optical character recognition (OCR) tool to perform OCR on the target text image, identifying recognized and unrecognized characters, and then determining the relative positions of the recognized characters. Recognized characters typically correspond to letters and numbers, while unrecognized characters typically correspond to specific mathematical formulas or operators.
[0058] S3. When it is determined that there are unrecognized characters between two recognized characters in the target text image, the image area between the two recognized characters is taken as a special recognition area.
[0059] In practice, when it is determined that there are unrecognized characters between two recognized characters in the target text image, the processor will take the image area between the two recognized characters as a special recognition area and perform subsequent special recognition processing on the special recognition area.
[0060] S4. Traverse all pixels within the special recognition area, take the pixels with the specified grayscale value as the target pixels, and construct the text box of the special recognition area based on all the target pixels within the special recognition area.
[0061] In practice, during special recognition, the processor needs to traverse all pixels within the special recognition area and identify pixels with a grayscale value of 0 (i.e., black) as target pixels. Then, it determines the extreme left, right, top, and bottom points of all target pixels within the special recognition area. A rectangle is constructed using these points, with the extreme left point on the left edge, the extreme right point on the right edge, the top point on the top edge, and the bottom point on the bottom edge. Finally, this constructed rectangle serves as the text box for the special recognition area.
[0062] S5. Extract the features of the characters to be recognized in the text box, and input the features of the characters to be recognized into the preset special character recognition model for recognition to obtain each special character in the text box.
[0063] In practical implementation, when recognizing special characters, the processor first needs to extract the features of the character to be recognized within the text box, including: extracting the position parameters of each target pixel within the text box, and using the position parameters of each target pixel within the text box to form the features of the character to be recognized. Alternatively, an initial pixel matrix of all pixels within the text box can be constructed, where each matrix element in the initial pixel matrix is associated with a corresponding pixel, and the value of each matrix element in the initial pixel matrix is 0. Then, the matrix element values corresponding to each target pixel in the initial pixel matrix are transformed to 1 to obtain a feature matrix, and the feature matrix is used as the feature of the character to be recognized.
[0064] After extracting the features of the characters to be recognized, the processor inputs these features into a pre-set special character recognition model for identification, thereby recognizing the special characters within the text box. The special character recognition model can be a pre-built ResNet-50 model that has been trained on a training set and tested on a test set. Both the training and test sets contain several feature samples of the characters to be recognized labeled with the corresponding special characters, enabling the trained and tested special character recognition model to accurately identify the corresponding special characters based on their features.
[0065] S6. Determine the relative positional relationship between each special character in the text box, the relative positional relationship between each special character and the text box, and the relative positional relationship between the text box and the two recognized characters before and after it.
[0066] In practice, after recognizing each special character in the text box, the processor can determine the relative positional relationship between each special character in the text box, the relative positional relationship between each special character and the text box, and the relative positional relationship between the text box and the two recognized characters before and after it.
[0067] S7. Based on the relative positional relationship between each identified character and the relative positional relationship between each text box and the corresponding two identified characters, format and edit each identified character and the blank window corresponding to each text box in a blank electronic document.
[0068] In practice, after all characters have been recognized, the processor first typesets and edits each recognized character and the corresponding blank window in a blank electronic document based on the relative positional relationship between each recognized character and the relative positional relationship between each text box and the corresponding two recognized characters. The position and size of the blank window are set with reference to the corresponding text box.
[0069] S8. Based on the relative positional relationship between each special character in the text box and the relative positional relationship between each special character and the text box, edit each special character in the corresponding blank box.
[0070] In practice, after the recognized characters have been edited and the blank windows corresponding to each text box have been reserved, the processor then typesets and edits each special character in the corresponding blank box based on the relative positional relationship between each special character in the corresponding text box and the relative positional relationship between each special character and the text box, so that the layout of each special character in the blank box refers to the layout in the corresponding text box.
[0071] S9. After all recognized characters and special characters have been edited, the corresponding advanced mathematics electronic document is generated.
[0072] In practice, once all recognized characters and special characters have been edited, the processor generates the corresponding advanced mathematics electronic document, and archives and outputs the advanced mathematics electronic document.
[0073] This method, through dual character recognition and positional relationship determination, can more accurately identify regular and special characters in advanced mathematics texts, and perform positional restoration-style typesetting and editing of the recognized content. It effectively realizes the digital processing of advanced mathematics texts, and can efficiently and accurately transform the content of advanced mathematics texts into editable and searchable digital information, which is helpful for digital-assisted teaching and text content retrieval in advanced mathematics.
[0074] Example 2:
[0075] This embodiment provides a higher mathematics text processing system, such as... Figure 2 As shown, it includes an image acquisition unit, a character recognition unit, a special judgment unit, a text selection unit, a special recognition unit, a position determination unit, a first editing unit, a second editing unit, and a document generation unit, wherein:
[0076] The image acquisition unit is used to acquire the image of the advanced mathematics text to be processed, and to perform image preprocessing on the image of the advanced mathematics text to obtain the target text image;
[0077] The character recognition unit is used to perform optical character recognition on the target text image, determine the recognized and unrecognized characters in the target text image, and determine the relative positional relationship between each recognized character;
[0078] A special determination unit is used to determine the image region between two identified characters as a special determination region when there are unrecognized characters between two identified characters in a target text image.
[0079] The text selection unit is used to traverse all pixels within a special recognition area, take the pixels with a specified grayscale value as the target pixels, and construct the text box of the special recognition area based on all the target pixels within the special recognition area.
[0080] A special recognition unit is used to extract the features of the characters to be recognized in the text box and input the features of the characters to be recognized into a preset special character recognition model for recognition, so as to obtain the special characters in the text box.
[0081] The position determination unit is used to determine the relative positional relationship between each special character in the text box, the relative positional relationship between each special character and the text box, and the relative positional relationship between the text box and the two recognized characters before and after it.
[0082] The first editing unit is used to type and edit each identified character and the blank window corresponding to each text box in a blank electronic document based on the relative positional relationship between each identified character and the relative positional relationship between each text box and the corresponding two identified characters.
[0083] The second editing unit is used to type and edit each special character in the corresponding blank box based on the relative positional relationship between each special character in the text box and the relative positional relationship between each special character and the text box;
[0084] The document generation unit is used to generate an editable and searchable electronic document of advanced mathematics after all recognized characters and special characters have been edited.
[0085] Example 3:
[0086] This embodiment provides a higher mathematics text processing system, such as... Figure 3 As shown, at the hardware level, it includes:
[0087] The data interface is used to establish data communication between the processor and external data terminals;
[0088] Memory, used to store instructions;
[0089] The processor is configured to read instructions stored in the memory and execute the advanced mathematical text processing method in Embodiment 1 according to the instructions.
[0090] Optionally, the system also includes an internal bus, through which the processor, memory, and data interface can be interconnected. This internal bus can be a PCIe (Peripheral Component Interconnect Express) bus, which can be divided into an address bus, a data bus, a control bus, etc. The memory can include, but is not limited to, Random Access Memory (RAM), Read Only Memory (ROM), Flash Memory, First Input First Output (FIFO), and / or First In Last Out (FILO). The processor can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0091] Example 4:
[0092] This embodiment provides a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the advanced mathematical text processing method of Embodiment 1. The computer-readable storage medium refers to a data storage medium, which may include, but is not limited to, floppy disks, optical disks, hard disks, flash memory, USB flash drives, and / or Memory Sticks. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
[0093] This embodiment also provides a computer program product that, when run on a computer, executes the advanced mathematical text processing method described in Embodiment 1. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device.
[0094] Finally, it should be noted that the above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for processing text in advanced mathematics, characterized in that, include: Obtain the image of the advanced mathematics text to be processed, and perform image preprocessing on the advanced mathematics text image to obtain the target text image; Optical character recognition is performed on the target text image to determine the recognized and unrecognized characters in the target text image, and to determine the relative positional relationship between each recognized character; When it is determined that there are unrecognized characters between two recognized characters in a target text image, the image region between the two recognized characters is regarded as a special recognition region; Iterate through all pixels within the special recognition area, take the pixel with the specified gray value as the target pixel, and construct the text box of the special recognition area based on all the target pixels within the special recognition area; Extract the features of the characters to be recognized in the text box, and input the features of the characters to be recognized into a preset special character recognition model for recognition to obtain each special character in the text box; Determine the relative positional relationships between the special characters within the text box, the relative positional relationships between the special characters and the text box, and the relative positional relationships between the text box and the two recognized characters before and after it; Based on the relative positional relationship between each identified character and the relative positional relationship between each text box and the corresponding two identified characters, the identified characters and the blank window corresponding to each text box are typed and edited in a blank electronic document; Based on the relative positional relationship between each special character within the text box and the relative positional relationship between each special character and the text box, the special characters are formatted and edited within the corresponding blank boxes; After all recognized characters and special characters have been edited, the corresponding electronic document of advanced mathematics is generated.
2. The method for processing advanced mathematical text according to claim 1, characterized in that, The image preprocessing of the higher mathematics text image to obtain the target text image includes: The text image of advanced mathematics to be processed is subjected to grayscale and binarization processing to obtain a binarized text image; The binarized text image is denoised to obtain a denoised text image, and then the denoised text image is tilt-corrected to obtain the target text image.
3. The method for processing advanced mathematical text according to claim 2, characterized in that, The step of using a pixel with a specified grayscale value as a target pixel includes: using a pixel with a grayscale value of 0 as a target pixel.
4. The method for processing advanced mathematical text according to claim 1, characterized in that, The construction of a text box for a special recognition region based on all target pixels within that region includes: Determine the extreme left, extreme right, extreme top, and extreme bottom points of all target pixels within the special recognition area; A rectangle is constructed using the leftmost, rightmost, topmost, and bottommost points of all target pixels within the special recognition area, and this constructed rectangle is used as the text box for the special recognition area.
5. The method for processing advanced mathematical text according to claim 1, characterized in that, The extraction of features of the characters to be recognized within the text box includes: Extract the position parameters of each target pixel within the text box, and use the position parameters of each target pixel within the text box to form the features of the character to be recognized; Alternatively, an initial pixel matrix can be constructed for all pixels within the text box. Each element of the initial pixel matrix is associated with a corresponding pixel, and the value of each element in the initial pixel matrix is 0. Then, the values of the matrix elements corresponding to each target pixel in the initial pixel matrix are transformed to 1 to obtain a feature matrix, which is then used as the feature of the character to be recognized.
6. The method for processing advanced mathematical text according to claim 1, characterized in that, Before inputting the features of the character to be recognized into a preset special character recognition model for recognition, the method further includes: A ResNet-50 model is constructed, and the ResNet-50 model is trained and tested using a pre-set training set and test set to obtain a special character recognition model. The training set and test set each contain several character feature samples labeled with corresponding special characters to be recognized.
7. The method for processing advanced mathematical text according to claim 1, characterized in that, After generating the corresponding electronic document for advanced mathematics, the method further includes: archiving and outputting the electronic document for advanced mathematics.
8. A higher mathematics text processing system, characterized in that, It includes an image acquisition unit, a character recognition unit, a special judgment unit, a text selection unit, a special recognition unit, a position determination unit, a first editing unit, a second editing unit, and a document generation unit, wherein: The image acquisition unit is used to acquire the image of the advanced mathematics text to be processed, and to perform image preprocessing on the image of the advanced mathematics text to obtain the target text image; The character recognition unit is used to perform optical character recognition on the target text image, determine the recognized and unrecognized characters in the target text image, and determine the relative positional relationship between each recognized character; A special determination unit is used to determine the image region between two identified characters as a special determination region when there are unrecognized characters between two identified characters in a target text image. The text selection unit is used to traverse all pixels within a special recognition area, take the pixels with a specified grayscale value as the target pixels, and construct the text box of the special recognition area based on all the target pixels within the special recognition area. A special recognition unit is used to extract the features of the characters to be recognized in the text box and input the features of the characters to be recognized into a preset special character recognition model for recognition, so as to obtain the special characters in the text box. The position determination unit is used to determine the relative positional relationship between each special character in the text box, the relative positional relationship between each special character and the text box, and the relative positional relationship between the text box and the two recognized characters before and after it. The first editing unit is used to type and edit each identified character and the blank window corresponding to each text box in a blank electronic document based on the relative positional relationship between each identified character and the relative positional relationship between each text box and the corresponding two identified characters. The second editing unit is used to type and edit each special character in the corresponding blank box based on the relative positional relationship between each special character in the text box and the relative positional relationship between each special character and the text box; The document generation unit is used to generate the corresponding electronic document of advanced mathematics after all recognized characters and special characters have been edited.
9. A higher mathematics text processing system, characterized in that, include: Memory, used to store instructions; A processor is configured to read instructions stored in the memory and execute the advanced mathematical text processing method according to any one of claims 1-7.
10. A computer program product, characterized in that, When the computer program product is run on a computer, it executes the advanced mathematical text processing method according to any one of claims 1-7.