Document improvement suggestion generation method and device and storage medium

Through the use of the document quality detection model, the visual and textual features of the document are obtained to generate detection results and modification suggestions, which solves the problem of low document review efficiency in the existing technology and achieves efficient and accurate generation of document improvement suggestions.

CN118586385APending Publication Date: 2024-09-03ZTE CORP +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310216441.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-27
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Existing document review methods rely on the level of professionals, resulting in low review accuracy and efficiency, making it difficult to quickly and accurately generate document modification suggestions.

Method used

By obtaining the visual feature vector and text feature vector of the document to be detected, inputting it into the preset document quality detection model, the document quality detection results are generated, and the target features are determined based on the detection results to obtain modification suggestions.

Benefits of technology

It improves the accuracy and efficiency of document modification suggestions, can quickly identify and correct document quality problems, and reduces reliance on professionals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118586385A
    Figure CN118586385A
Patent Text Reader

Abstract

The embodiment of the invention provides a document improvement suggestion generation method and device and a storage medium, and belongs to the technical field of computers. The method comprises the steps of obtaining a visual feature vector and a text feature vector of a to-be-detected document, and inputting the visual feature vector and the text feature vector into a preset document quality detection model to generate a document quality detection result; under the condition that the document quality detection result is unqualified, determining at least one target feature used for improving the document quality of the to-be-detected document according to the visual feature vector, the text feature vector and a preset document quality detection model; and according to the at least one target feature, obtaining a modification suggestion matched with the to-be-detected document. According to the technical scheme, the accuracy and the efficiency of generating the modification suggestion of the document are greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of computer technology, and in particular to a method, device and storage medium for generating document improvement suggestions. Background Art

[0002] Documents are of great significance to both individuals and enterprises. Documents are the output of knowledge and information accumulation. The quality of documents directly affects the accuracy and effectiveness of information transmission, so it is crucial to ensure the quality of documents. Currently, the quality of documents is mainly guaranteed by technical personnel in related fields. The review process includes judging whether the quality of documents is qualified and providing improvement suggestions for unqualified documents. The existing review method is too dependent on the professional level of reviewers, which is difficult, time-consuming and labor-intensive, resulting in low accuracy and efficiency of document review. Summary of the invention

[0003] The embodiment of the present invention provides a method, device and storage medium for generating a document improvement suggestion, aiming to accurately and efficiently generate a modification suggestion for a document.

[0004] In a first aspect, an embodiment of the present invention provides a method for generating a document improvement suggestion, comprising:

[0005] Obtaining a visual feature vector and a text feature vector of a document to be detected, and inputting the visual feature vector and the text feature vector into a preset document quality detection model to generate a document quality detection result;

[0006] In the case where the document quality detection result is unqualified, determining at least one target feature for improving the document quality of the document to be detected according to the visual feature vector, the text feature vector and a preset document quality detection model;

[0007] According to at least one of the target features, modification suggestions for matching the document to be detected are obtained.

[0008] In a second aspect, an embodiment of the present invention further provides a terminal device, comprising a processor, a memory, a computer program stored in the memory and executable by the processor, and a data bus for realizing connection and communication between the processor and the memory, wherein when the computer program is executed by the processor, the steps of any one of the document improvement suggestion generating methods provided in the specification of the present invention are realized.

[0009] In a third aspect, an embodiment of the present invention further provides a storage medium for computer-readable storage, characterized in that the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of any document improvement suggestion generating method provided in the specification of the present invention.

[0010] The embodiment of the present invention provides a method, device and storage medium for generating document improvement suggestions. The embodiment of the present invention can accurately generate a document quality detection result by obtaining a visual feature vector and a text feature vector of a document to be detected, and inputting the visual feature vector and the text feature vector into a preset document quality detection model; when the document quality detection result is unqualified, at least one target feature for improving the document quality of the document to be detected is determined based on the visual feature vector, the text feature vector and the preset document quality detection model; then, based on the at least one target feature, a modification suggestion for matching the document to be detected can be accurately obtained. In the case where the document to be detected is detected as an unqualified document, this solution can accurately determine the target feature for improving the document quality through the visual feature vector, the text feature vector and the preset document quality detection model of the document to be detected, and can accurately obtain the modification suggestion for matching the document to be detected through the target feature, thereby greatly improving the accuracy and efficiency of generating modification suggestions for documents. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 A flowchart of a method for generating document improvement suggestions provided by an embodiment of the present invention;

[0012] Figure 2 for Figure 1 A flowchart of the sub-steps of the document improvement suggestion generation method in FIG.

[0013] Figure 3 for Figure 1 A flowchart of the sub-steps of the document improvement suggestion generation method in FIG.

[0014] Figure 4 A schematic block diagram of the structure of a terminal device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0015] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0016] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.

[0017] It should be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0018] The embodiment of the present invention provides a method, device and storage medium for generating document improvement suggestions. The method for generating document improvement suggestions can be applied to a terminal device, which can be a mobile phone, a tablet computer, a laptop computer, a desktop computer, a personal digital assistant and other devices. For example, when the terminal device is a mobile phone, the mobile phone obtains a visual feature vector and a text feature vector of a document to be detected, and inputs the visual feature vector and the text feature vector into a preset document quality detection model to generate a document quality detection result; when the document quality detection result is unqualified, at least one target feature for improving the document quality of the document to be detected is determined based on the visual feature vector, the text feature vector and the preset document quality detection model; and based on the at least one target feature, a modification suggestion for matching the document to be detected is obtained.

[0019] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0020] Please refer to Figure 1 , Figure 1 A flowchart of a method for generating document improvement suggestions provided by an embodiment of the present invention.

[0021] like Figure 1 As shown, the document improvement suggestion generating method includes steps S101 to S103.

[0022] Step S101: Obtain a visual feature vector and a text feature vector of a document to be detected, and input the visual feature vector and the text feature vector into a preset document quality detection model to generate a document quality detection result.

[0023] Among them, the visual feature vector is used to characterize the vector of the image of the document to be detected in the visual feature dimension, and the visual feature dimension includes but is not limited to the size and number of the image of the document to be detected; the text feature vector is used to characterize the vector of the text dimension of the document to be detected, and the text dimension includes but is not limited to document integrity, the number of document paragraphs, the number of words in document paragraphs, the number of document words, the number of document tables, and the number of document drawings. Among them, the document quality detection result characterizes whether the quality of the document is qualified. The document quality detection result includes qualified and unqualified. The qualified document quality detection result indicates that the quality of the document meets the expected requirements. For example, the form requirement of the bachelor's graduation thesis is 30 pages, the number of pages of graduation thesis A is 32 pages, and the number of pages of graduation thesis B is 25 pages. It can be determined that the form of graduation thesis A is qualified and the form of graduation thesis B is unqualified.

[0024] In one embodiment, a document to be detected is obtained, and a preset quantization rule is obtained; the document to be detected is parsed according to the preset quantization rule to generate a visual feature vector and a text feature vector of the document to be detected. The preset quantization rule is a pre-established document quantization rule, and the preset quantization rule can be set according to actual conditions, which is not specifically limited in the embodiment of the present invention. The visual feature vector and the text feature vector of the document to be detected can be accurately obtained through the preset quantization rule.

[0025] It should be noted that the preset quantization rule includes a document feature splitting rule and a document vector conversion rule. The document feature splitting rule is used to split the document to be detected into multiple dimensional features, and the document vector conversion rule is used to convert each dimensional feature into a feature vector. The document feature splitting rule and the document vector conversion rule can be set according to actual conditions, and the embodiment of the present invention does not make specific limitations on this. For example, the document vector conversion rule splits the document to be detected to generate document completeness features, document paragraph quantity features, document paragraph word count features, document word count features, document table quantity features, and document figure quantity features. The document vector conversion rule can be a neural network model, based on which the pair of document word count features are identified to generate a document word count feature vector.

[0026] In one embodiment, if Figure 2 As shown, step S101 includes sub-steps S1011 to S1014.

[0027] Sub-step S1011: acquiring sample data, wherein the sample data includes visual feature vectors and text feature vectors corresponding to a plurality of sample documents, and document quality detection results corresponding to the sample documents.

[0028] The sample data includes visual feature vectors and text feature vectors corresponding to multiple sample documents, and document quality detection results corresponding to the sample documents. The document quality detection results are document quality detection results obtained by technicians through quality assessment of the sample documents.

[0029] In one embodiment, multiple sample documents are obtained, and preset quantization rules are obtained, and each sample document is parsed according to the preset quantization rules to generate visual feature vectors and text feature vectors of each document to be detected, and a technician evaluates each sample data to generate a document quality detection result corresponding to each sample document. By obtaining multiple sample documents and parsing each sample document, the visual feature vector and text feature vector of each sample document can be accurately obtained, and each sample document can be evaluated to accurately obtain the document quality detection result of each sample document, which greatly improves the efficiency and accuracy of sample data construction.

[0030] Sub-step S1012: inputting the visual feature vector and the text feature vector of the sample document into a preset neural network to obtain a document quality prediction result of the sample document.

[0031] Among them, the preset neural network can be selected according to actual conditions, and the embodiment of the present invention does not make specific limitations on this. For example, the preset neural network can be a long short-term memory artificial neural network model, a convolutional neural network model, and a recurrent convolutional neural network model.

[0032] The visual feature vector and text feature vector of the sample document are input into a preset neural network for processing to generate a document quality prediction result of the sample document. By processing the sample document through the preset neural network, the document quality prediction result of the sample document can be accurately generated.

[0033] Sub-step S1013: determining whether the preset neural network converges according to the document quality detection result and the document quality prediction result.

[0034] In one embodiment, based on the document quality detection results and the document quality prediction results, the loss value of the preset neural network model is determined, and it is determined whether the loss value is less than or equal to the preset loss value; when the loss value is less than or equal to the preset loss value, it is determined that the preset neural network model has converged; when the loss value is greater than the preset loss value, it is determined that the preset neural network model has not converged. Among them, the preset loss value can be set according to actual conditions, and the embodiment of the present invention does not make specific limitations on this. For example, the preset loss value can be set to 0.01. By determining whether the loss value of the preset neural network model is less than or equal to the preset threshold, it is possible to accurately know whether the preset neural network model has converged.

[0035] In one embodiment, the loss value of the preset neural network model is determined according to the document quality detection result and the document quality prediction result. When the document quality detection result and the document quality prediction result are the same, the loss parameter of the neural network model is assigned to 0. When the document quality detection result and the document quality prediction result are different, the loss parameter of the neural network model is assigned to 1. The first parameter is accumulated for each training assignment, and the second parameter is obtained by counting the number of trainings. The first parameter is divided by the second parameter to obtain a third parameter, and the third parameter is used as the loss value of the preset neural network model. By averaging the loss values ​​of each sample document, the accuracy of determining the loss value can be improved, which greatly improves the efficiency and accuracy of training the neural network.

[0036] Sub-step S1014: If the preset neural network model has not converged, the model parameters of the preset neural network model are adjusted to update the preset neural network model, and the updated preset neural network model is continued to be trained until convergence to obtain the preset document quality detection model.

[0037] When it is determined that the loss value of the preset neural network model is greater than the preset threshold, it is determined that the preset neural network model has not converged, the model parameters of the preset neural network model are adjusted to update the preset neural network model, and the sample documents are continuously input into the updated preset neural network model for training until the preset neural network model converges to obtain the preset document quality detection model. By updating the model parameters of the preset neural network model and training until the model converges, the preset document quality detection model can be accurately obtained.

[0038] In one embodiment, the visual feature vector and the text feature vector are input into a preset document quality detection model to generate a document quality detection result. By processing the visual feature vector and the text feature vector through the preset document quality detection model, the document quality detection result of the document to be detected can be accurately obtained, which greatly improves the efficiency and accuracy of the document quality detection result determination.

[0039] Step S102: when the document quality detection result is unqualified, determine at least one target feature for improving the document quality of the document to be detected based on the visual feature vector, the text feature vector and a preset document quality detection model.

[0040] Among them, the document quality inspection results include qualified and unqualified. When the document quality inspection result is qualified, it indicates that the quality of the document to be inspected meets the preset requirements and the document to be inspected does not need to be modified. When the document quality inspection result is unqualified, it indicates that the quality of the document to be inspected does not meet the preset requirements and the document to be inspected needs to be modified.

[0041] In one embodiment, if Figure 3 As shown, step S102 includes sub-steps S1021 and S1022.

[0042] Sub-step S1021: determining a plurality of candidate features that affect the document quality of the document to be detected according to the visual feature vector, the text feature vector and a preset document quality detection model.

[0043] In one embodiment, the visual feature vector, the text feature vector and the preset document quality detection model are input into a preset algorithm to generate multiple candidate features that affect the document quality of the document to be detected. The preset algorithm is used to determine the features of the preset neural network model that affect the document quality; the preset algorithm can be set according to actual conditions, and the embodiment of the present invention does not specifically limit this. For example, the preset algorithm can be the Local Interpretable Model-agnostic Explanations (LIME) algorithm. Through the preset algorithm, multiple candidate features that affect the document quality of the document to be detected can be accurately obtained.

[0044] Sub-step S1022: adjusting the feature parameters of each of the candidate features, and selecting at least one of the target features from the candidate features with adjusted feature parameters through the preset document quality detection model.

[0045] In one embodiment, the feature parameters of each candidate feature are adjusted, and the adjusted feature parameters of each candidate feature replace the corresponding feature parameters in the visual feature vector and / or the text feature vector to obtain a target visual feature vector and a target text feature vector; the target visual feature vector and the target text feature vector are input into a preset document quality detection model to generate a first detection result; when the first detection result is qualified, each candidate feature with the adjusted feature parameters is determined as a target feature. By adjusting the feature parameters of the candidate features and re-identifying the target visual feature vector and the target text feature vector through the preset document quality detection model, it is possible to accurately know whether the target feature exists in multiple candidate features.

[0046] It should be noted that the method of adjusting the feature parameters of each candidate feature can be set according to actual conditions. The embodiment of the present invention does not make specific limitations on this. The adjustment methods include but are not limited to: multiple adjustments to one candidate feature, multiple adjustments to multiple candidate features, and each adjustment of the feature parameters is regarded as a group of adjustment methods, and it is determined whether the result of the document quality detection of the document to be detected is qualified after each group of parameters is adjusted.

[0047] In one embodiment, when the first detection result is qualified, at least one candidate feature that makes the least adjustment between the visual feature vector and the text feature is determined, and the determined candidate feature is used as the target feature. By determining the target feature with the least adjustment, the modification content of the document to be detected can be reduced.

[0048] Exemplarily, the candidate features of the document to be detected include the number of words, the number of drawings and the number of ambiguous words, the first group of feature parameter adjustments include adjustments to ambiguous words, the second group of feature parameter adjustments include adjustments to the number of words and the number of drawings, and the third group of feature parameter adjustments include adjustments to the number of words, the number of drawings and ambiguous words. The first group of feature parameter adjustments is used as the target modification method for the document to be detected, that is, the number of ambiguous words is determined as the target feature.

[0049] Step S103: Obtain modification suggestions for matching the document to be detected based on at least one of the target features.

[0050] In one embodiment, a mapping relationship table of preset features and modification suggestions is obtained, and the modification suggestions matching each target feature are queried from the mapping relationship table to obtain multiple sub-modification suggestions; each sub-modification suggestion is merged to generate a modification suggestion matching the document to be detected. Among them, the mapping relationship table is established in advance based on the features and modification suggestions, and the mapping relationship table can be established according to actual conditions, and the embodiment of the present invention does not specifically limit this. Through the mapping relationship table, the sub-modification suggestions matching each feature can be accurately queried, and the sub-modification suggestions can be merged to accurately obtain the modification suggestion matching the document to be detected.

[0051] Exemplarily, the target features include an increase in the number of words by three, a reduction in the number of ambiguous words by 20, and an increase in the number of illustrations by 5. The sub-modification suggestions corresponding to the increase in the number of words, the reduction in the number of ambiguous words, and the addition of illustrations are queried from the mapping relationship table to obtain sub-modification suggestions of increasing the number of words, reducing the number of ambiguous words, and adding illustrations. The sub-modification suggestions of increasing the number of words, reducing the number of ambiguous words, and adding illustrations are merged to obtain modification suggestions that match the document to be detected, which are to increase the number of words in the document, reduce the number of ambiguous words, and add illustrations for auxiliary explanation.

[0052] The document improvement suggestion generating method in the above-mentioned embodiment can accurately generate a document quality detection result by obtaining the visual feature vector and text feature vector of the document to be detected, and inputting the visual feature vector and text feature vector into a preset document quality detection model; when the document quality detection result is unqualified, at least one target feature for improving the document quality of the document to be detected is determined based on the visual feature vector, text feature vector and the preset document quality detection model; then, based on the at least one target feature, modification suggestions for matching the document to be detected can be accurately obtained. In the case where the document to be detected is detected as an unqualified document, this scheme can accurately determine the target feature for improving the document quality through the visual feature vector, text feature vector and the preset document quality detection model of the document to be detected, and can accurately obtain modification suggestions for matching the document to be detected through the target feature, which greatly improves the accuracy and efficiency of generating modification suggestions for documents.

[0053] See also Figure 4 , Figure 4 A schematic block diagram of the structure of a terminal device provided in an embodiment of the present invention.

[0054] like Figure 4 As shown, the terminal device 200 includes a processor 201 and a memory 202, and the processor 201 and the memory 202 are connected via a bus 203, such as an I2C (Inter-integrated Circuit) bus.

[0055] Specifically, the processor 201 is used to provide computing and control capabilities to support the operation of the entire terminal device. The processor 201 can be a central processing unit (CPU), and the processor 201 can also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.

[0056] Specifically, the memory 202 may be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB flash drive, or a mobile hard disk.

[0057] Those skilled in the art will understand that Figure 4The structure shown in the figure is only a block diagram of a part of the structure related to the scheme of the present invention, and does not constitute a limitation on the terminal device to which the scheme of the present invention is applied. The specific terminal device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0058] The processor is used to run a computer program stored in the memory, and implement any one of the document improvement suggestion generating methods provided by the embodiments of the present invention when executing the computer program.

[0059] In one embodiment, the processor 201 is used to run a computer program stored in a memory, and implements the following steps when executing the computer program:

[0060] Obtaining a visual feature vector and a text feature vector of a document to be detected, and inputting the visual feature vector and the text feature vector into a preset document quality detection model to generate a document quality detection result;

[0061] In the case where the document quality detection result is unqualified, determining at least one target feature for improving the document quality of the document to be detected according to the visual feature vector, the text feature vector and a preset document quality detection model;

[0062] According to at least one of the target features, modification suggestions for matching the document to be detected are obtained.

[0063] In one embodiment, when the processor 201 determines at least one target feature for improving the document quality of the document to be detected according to the visual feature vector, the text feature vector and the preset document quality detection model, it is configured to implement:

[0064] Determining a plurality of candidate features that affect the document quality of the document to be detected according to the visual feature vector, the text feature vector and a preset document quality detection model;

[0065] The feature parameters of each of the candidate features are adjusted, and at least one of the target features is screened out from each of the candidate features with adjusted feature parameters through the preset document quality detection model.

[0066] In one embodiment, when implementing the filtering out of at least one target feature from each of the candidate features whose feature parameters have been adjusted according to the preset document quality detection model, the processor 201 is configured to implement:

[0067] Replacing the corresponding feature parameters in the visual feature vector and / or the text feature vector with the adjusted feature parameters of each of the candidate features to obtain a target visual feature vector and a target text feature vector;

[0068] Inputting the target visual feature vector and the target text feature vector into the preset document quality detection model to generate a first detection result;

[0069] When the first detection result is qualified, each of the candidate features whose feature parameters have been adjusted is determined as a target feature.

[0070] In one embodiment, when the processor 201 determines each of the candidate features whose feature parameters have been adjusted as a target feature when the first detection result is qualified, it is configured to implement:

[0071] When the first detection result is qualified, at least one candidate feature that minimizes the adjustment between the visual feature vector and the text feature is determined, and the candidate feature is determined as the target feature.

[0072] In one embodiment, when the processor 201 implements the acquisition of the modification suggestion for the matching of the to-be-detected document according to at least one of the target features, it is configured to implement:

[0073] Obtaining a mapping relationship table of preset features and modification suggestions, and querying the modification suggestions matching each of the target features from the mapping relationship table to obtain a plurality of sub-modification suggestions;

[0074] The sub-modification suggestions are merged to generate a modification suggestion matching the document to be detected.

[0075] In one embodiment, when the processor 201 implements the acquisition of the visual feature vector and the text feature vector of the document to be detected, it is used to implement:

[0076] Obtain the document to be detected and obtain the preset quantification rules;

[0077] The document to be detected is parsed according to the preset quantization rule to generate a visual feature vector and a text feature vector of the document to be detected.

[0078] In one embodiment, before implementing the step of inputting the visual feature vector and the text feature vector into a preset document quality detection model to generate a document quality detection result, the processor 201 is further configured to implement:

[0079] Acquire sample data, the sample data including visual feature vectors and text feature vectors corresponding to a plurality of sample documents, and document quality detection results corresponding to the sample documents;

[0080] Inputting the visual feature vector and the text feature vector of the sample document into a preset neural network to obtain a document quality prediction result of the sample document;

[0081] Determining whether the preset neural network converges according to the document quality detection result and the document quality prediction result;

[0082] If the preset neural network model has not converged, the model parameters of the preset neural network model are adjusted to update the preset neural network model, and the updated preset neural network model is continuously trained until convergence to obtain the preset document quality detection model.

[0083] In one embodiment, when the processor 201 determines whether the preset neural network converges according to the document quality detection result and the document quality prediction result, it is configured to implement:

[0084] Determining a loss value of the preset neural network model according to the document quality detection result and the document quality prediction result, and determining whether the loss value is less than or equal to a preset loss value;

[0085] When the loss value is less than or equal to a preset loss value, determining that the preset neural network model converges;

[0086] When the loss value is greater than the preset loss value, it is determined that the preset neural network model has not converged.

[0087] It should be noted that technicians in the relevant field can clearly understand that for the convenience and brevity of description, the specific working process of the terminal device described above can refer to the corresponding process in the aforementioned document improvement suggestion generation method embodiment, and will not be repeated here.

[0088] An embodiment of the present invention also provides a storage medium for computer-readable storage, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of any document improvement suggestion generating method provided in the specification of the present invention.

[0089] The storage medium may be an internal storage unit of the terminal device described in the foregoing embodiment, such as a hard disk or memory of the terminal device. The storage medium may also be an external storage device of the terminal device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc., equipped on the terminal device.

[0090] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0091] It should be understood that the term "and / or" used in the present specification refers to any combination of one or more of the associated listed items and all possible combinations, including these combinations. It should be noted that, in this article, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a..." does not exclude the presence of other identical elements in the process, method, article or system including the element.

[0092] The serial numbers of the embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. The above description is only a specific implementation of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be covered within the protection scope of the present invention.

Claims

1. A method for generating document improvement suggestions, characterized in that: include: Obtaining a visual feature vector and a text feature vector of a document to be detected, and inputting the visual feature vector and the text feature vector into a preset document quality detection model to generate a document quality detection result; In the case where the document quality detection result is unqualified, determining at least one target feature for improving the document quality of the document to be detected according to the visual feature vector, the text feature vector and a preset document quality detection model; According to at least one of the target features, modification suggestions for matching the document to be detected are obtained.

2. The method for generating document improvement suggestions according to claim 1, characterized in that: The step of determining at least one target feature for improving the document quality of the document to be detected based on the visual feature vector, the text feature vector and a preset document quality detection model comprises: Determining a plurality of candidate features that affect the document quality of the document to be detected according to the visual feature vector, the text feature vector and a preset document quality detection model; The feature parameters of each of the candidate features are adjusted, and at least one of the target features is screened out from each of the candidate features with adjusted feature parameters through the preset document quality detection model.

3. The method for generating document improvement suggestions according to claim 2, characterized in that: The step of selecting at least one target feature from each of the candidate features whose feature parameters have been adjusted according to the preset document quality detection model includes: Replacing the corresponding feature parameters in the visual feature vector and / or the text feature vector with the adjusted feature parameters of each of the candidate features to obtain a target visual feature vector and a target text feature vector; Inputting the target visual feature vector and the target text feature vector into the preset document quality detection model to generate a first detection result; When the first detection result is qualified, each of the candidate features whose feature parameters have been adjusted is determined as a target feature.

4. The method for generating document improvement suggestions according to claim 3, characterized in that: The step of determining each of the candidate features whose feature parameters have been adjusted as a target feature when the first detection result is qualified includes: When the first detection result is qualified, at least one candidate feature that minimizes the adjustment between the visual feature vector and the text feature is determined, and the candidate feature is determined as the target feature.

5. The method for generating document improvement suggestions according to claim 1, characterized in that: The step of obtaining a modification suggestion for matching the document to be detected according to at least one of the target features includes: Obtaining a mapping relationship table of preset features and modification suggestions, and querying the modification suggestions matching each of the target features from the mapping relationship table to obtain a plurality of sub-modification suggestions; The sub-modification suggestions are merged to generate a modification suggestion matching the document to be detected.

6. The method for generating document improvement suggestions according to claim 1, characterized in that: The step of obtaining the visual feature vector and the text feature vector of the document to be detected includes: Obtain the document to be detected and obtain the preset quantification rules; The document to be detected is parsed according to the preset quantization rule to generate a visual feature vector and a text feature vector of the document to be detected.

7. The method for generating document improvement suggestions according to claim 1, characterized in that: Before inputting the visual feature vector and the text feature vector into a preset document quality detection model to generate a document quality detection result, the method further includes: Acquire sample data, the sample data including visual feature vectors and text feature vectors corresponding to a plurality of sample documents, and document quality detection results corresponding to the sample documents; Inputting the visual feature vector and the text feature vector of the sample document into a preset neural network to obtain a document quality prediction result of the sample document; Determining whether the preset neural network converges according to the document quality detection result and the document quality prediction result; If the preset neural network model has not converged, the model parameters of the preset neural network model are adjusted to update the preset neural network model, and the updated preset neural network model is continuously trained until convergence to obtain the preset document quality detection model.

8. The method for generating document improvement suggestions according to claim 7, characterized in that: The determining whether the preset neural network converges according to the document quality detection result and the document quality prediction result includes: Determining a loss value of the preset neural network model according to the document quality detection result and the document quality prediction result, and determining whether the loss value is less than or equal to a preset loss value; When the loss value is less than or equal to a preset loss value, determining that the preset neural network model converges; When the loss value is greater than the preset loss value, it is determined that the preset neural network model has not converged.

9. A terminal device, characterized in that: The terminal device includes a processor, a memory, a computer program stored in the memory and executable by the processor, and a data bus for realizing connection and communication between the processor and the memory, wherein when the computer program is executed by the processor, the steps of the document improvement suggestion generating method as described in any one of claims 1 to 8 are realized.

10. A storage medium for computer-readable storage, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the document improvement suggestion generating method according to any one of claims 1 to 8.