Document marking method and device, electronic device, and storage medium
By building automatic marking methods of document trees and multi-system channels, the problems of low efficiency and omission of document marking in the prior art are solved, and efficient and accurate document marking is achieved.
Patent Information
- Application Number
- CN202210824525.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-14
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2042-07-14
AI Technical Summary
Existing document marking methods are inefficient and prone to omissions, and are costly, which cannot effectively solve the document marking needs within the enterprise.
By building a document tree in the tag component library, filtering the tag input system of multiple systems, establishing database and log channels, automatically marking document tree nodes, and cross-verification, pruning and similarity merging to improve tag efficiency and avoiding Missing.
Automated document marking is realized, improving efficiency, reducing the cost and risk of missed manual marking, and improving the accuracy and efficiency of marking.
Smart Images

Figure CN115146592B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of document processing technology, and in particular to a document marking method and device, electronic equipment, and storage medium. Background Art
[0002] When using documents within an enterprise, it is inevitable to mark the documents, such as what the document's tags are, what the document's associated documents are, what the associated content of some of the content in the document is, etc.
[0003] The current method for marking documents mainly involves staff using reading devices to read the documents to be marked, manually searching for relevant information, and marking the documents to be marked.
[0004] However, the manual marking method is not only costly and inefficient, but also prone to omissions. Summary of the invention
[0005] Based on the above-mentioned deficiencies of the prior art, the present application provides a document marking method and device, an electronic device, and a storage medium to solve the problems of low efficiency and easy omissions in the prior art.
[0006] In order to achieve the above objectives, this application provides the following technical solutions:
[0007] The first aspect of the present application provides a document marking method, comprising:
[0008] Get the target document;
[0009] Constructing document trees of the target documents corresponding to the respective markup components in the markup component library respectively;
[0010] Based on the document content in the target document, selecting a markup input system for the target document from a plurality of systems;
[0011] Building a database channel and a log channel with each of the tag input systems;
[0012] For each of the marking components, the content of each node in the document tree of the target document corresponding to each of the marking components is marked through the database channel and the log channel.
[0013] Optionally, in the above document marking method, after marking the content of each node in the document tree of the target document corresponding to each marking component through the database channel and the log channel, the method further comprises:
[0014] Cross-validate the tag content of each node of the document tree of the target document corresponding to each tag component to determine each accidental tag content;
[0015] For each of the accidental marking contents, pruning the accidental marking contents respectively;
[0016] Calculating the similarity between the accidental marking content and the marking content of each node at the same level;
[0017] Merging the accidental marked content with the marked content having a similarity greater than a preset threshold and having the highest similarity;
[0018] Starting from the node of the merged marked content, it is uploaded to the root node step by step.
[0019] Optionally, in the above-mentioned document tagging method, the step of selecting a tag input system for the target document from a plurality of systems based on the document content in the target document comprises:
[0020] Selecting a preset proportion of document content from the target document as sampled content;
[0021] Retrieving and filtering logs of each part of the sampled content for each system;
[0022] If the proportion of the successfully retrieved and successfully filtered contents to the sampled contents is greater than a preset proportion threshold, the system marks the target document as the mark input system.
[0023] Optionally, in the above-mentioned document marking method, marking the content of each node in the document tree of the target document corresponding to each marking component through the database channel and the log channel respectively for each marking component, includes:
[0024] Respectively for each of the tag components, respectively through the database channel between each of the tag input systems, searching for the contents of each part of the target document to obtain a search result;
[0025] Marking the content of each node in the document tree of the target document corresponding to the marking component according to the search result;
[0026] Obtaining filtering rules in the marking component;
[0027] Through the log channels between the respective tag input systems, and according to the filtering rules in the tag component, the log content of each part of the target document is filtered to obtain filtering results;
[0028] Summarizing the filtering results;
[0029] The content of each node in the document tree of the target document corresponding to the marking component is marked according to the aggregated filtering results.
[0030] A second aspect of the present application provides a document marking device, comprising:
[0031] A document acquisition unit, used for acquiring a target document;
[0032] A first construction unit is used to respectively construct a document tree of the target document corresponding to each markup component in the markup component library;
[0033] A screening unit, configured to screen a markup input system of the target document from a plurality of systems based on the document content in the target document;
[0034] A second construction unit is used to construct a database channel and a log channel with each of the tag input systems;
[0035] The marking unit is used to mark the content of each node in the document tree of the target document corresponding to each marking component through the database channel and the log channel respectively.
[0036] Optionally, in the above document marking device, it also includes:
[0037] A content determination unit, configured to cross-validate the tag content of each node of the document tree of the target document corresponding to each tag component, and determine each accidental tag content;
[0038] A pruning unit, pruning each of the accidental marking contents respectively;
[0039] A calculation unit, used for calculating the similarity between the accidental marked content and the marked content of each node at the same level;
[0040] A merging unit, used to merge the accidental marked content with the marked content whose similarity is greater than a preset threshold and has the highest similarity;
[0041] The transmission unit is used to upload the merged marked content to the root node step by step starting from the node.
[0042] Optionally, in the above-mentioned document marking device, the screening unit includes:
[0043] A sampling unit, used for selecting a preset proportion of document content from the target document as sampled content;
[0044] A processing unit, used for searching and filtering logs of each part of the sampled content for each system;
[0045] The system determination unit is used to input the mark of the system as the target document into the system if the proportion of the successfully retrieved and successfully filtered content to the sampled content is greater than a preset proportion threshold.
[0046] Optionally, in the above-mentioned document marking device, the marking unit includes:
[0047] A retrieval unit, used for searching the contents of each part of the target document through the database channel between each of the mark input systems for each of the mark components, to obtain a retrieval result;
[0048] A first marking unit, used for marking the content of each node in the document tree of the target document corresponding to the marking component according to the search result;
[0049] A rule acquisition unit, used to acquire the filtering rules in the marking component;
[0050] A filtering unit, configured to filter the contents of each part of the target document through the log channel between each of the tag input systems according to the filtering rules in the tag component to obtain a filtering result;
[0051] A summarizing unit, used for summarizing the filtering results;
[0052] The second marking unit is used to mark the content of each node in the document tree of the target document corresponding to the marking component according to the summarized filtering results.
[0053] A third aspect of the present application provides an electronic device, including:
[0054] Memory and processor;
[0055] Wherein, the memory is used to store programs;
[0056] The processor is used to execute the program, and when the program is executed, it is specifically used to implement any one of the document marking methods described above.
[0057] A fourth aspect of the present application provides a computer storage medium, characterized in that it is used to store a computer program, and when the computer program is executed, it is used to implement the document marking method as described in any one of claims 1 to 4.
[0058] The present application provides a document tagging method, in which multiple tagging components are pre-configured in a tagging component library, so when it is necessary to tag a target document, first obtain the target document, and then build the document tree of the target document corresponding to each tagging component in the tagging component library. Then, based on the document content in the target document, the tagging input system of the target document is screened out from multiple systems, and a database channel and a log channel are built between each tagging input system, so that the information related to the content of the target document can be automatically obtained through the database channel and the log channel to achieve tagging. Therefore, in the end, for each tagging component, through the database channel and the log channel, the content of each node in the document tree of the target document corresponding to each tagging component is marked, thereby realizing a method for automatically tagging documents, improving the efficiency of tagging, and effectively avoiding omissions. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0060] Figure 1 A flowchart of a document marking method provided in an embodiment of the present application;
[0061] Figure 2 A flowchart of a method for selecting a target document from multiple systems and inputting a markup into a system provided by an embodiment of the present application;
[0062] Figure 3 A flowchart of a method for marking content provided in an embodiment of the present application;
[0063] Figure 4 A flowchart of a method for clipping a document tree of a target document provided in an embodiment of the present application;
[0064] Figure 5 A schematic diagram of the structure of a document marking device provided in an embodiment of the present application;
[0065] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0066] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0067] In this application, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0068] The present application embodiment provides a document marking method, such as Figure 1 As shown, the following steps are included:
[0069] S101. Obtain a target document.
[0070] The target document refers to the document that currently needs to be marked.
[0071] S102: construct document trees of target documents corresponding to respective markup components in the markup component library.
[0072] It should be noted that in the embodiment of the present application, various marking components that need to be marked in the document are pre-built into the designer, and each marking component is stored in the marking component library. Among them, the marking components may include a label marking component, an associated content marking component, a latest and hottest document (content) marking component, etc.
[0073] In order to facilitate the marking of the target document and the subsequent use after marking, in an embodiment of the present application, an independent document tree of the target document is constructed for each marking component in the marking component library.
[0074] Optionally, the document tree of the target document may adopt the natural structure of the document itself, such as document title, primary title, content (secondary title), content (third-level title), etc., thereby forming a multi-level document tree with one or more nodes at each level.
[0075] S103: Based on the document content in the target document, select a markup input system of the target document from multiple systems.
[0076] It should be noted that in order to mark the target document, it is necessary to obtain information about the specific use of the target document. Based on this information, the specific related content of each part of the target document, as well as the latest and hottest content therein, can be determined, thereby achieving marking of the content in the target document.
[0077] This part of information needs to be obtained from the system that uses the target document. Therefore, in the embodiment of the present application, it is necessary to first filter out the markup input system of the target document from multiple systems based on the document content in the target document.
[0078] Optionally, in another embodiment of the present application, a specific implementation of step S103 is as follows: Figure 2 As shown, the following steps are included:
[0079] S201: Select a preset proportion of document content from a target document as sample content.
[0080] Optionally, usually by running it, part of the content is selected from the content of each stage of the document tree of the target document as sample content, and the sample content is used for subsequent processing, that is, the content document of the target document is sampled, which is generally one-third or one-half of the total document content of the target document. Through this part of the sample content, not only can the markup input system of the target document be accurately screened, but also the processing efficiency can be improved.
[0081] Of course, in order to ensure accuracy, you can also select document content with other preset proportions as the adopted content to perform subsequent steps.
[0082] S202: for each system, search and filter the logs of each part of the sampled content.
[0083] It should be noted that the adopted content is composed of multiple parts, wherein the content of each part can be a sentence, or a paragraph, etc., and the granularity can be set according to the needs.
[0084] Specifically, for each system, each part of the sampled content is searched in the system to determine whether the content related to the part can be successfully retrieved, and information is filtered in the log of the system to determine whether the information related to the part is filtered out.
[0085] S203: Determine whether the proportion of successfully retrieved and successfully filtered content to the sampled content is greater than a preset proportion threshold.
[0086] Among them, successful retrieval refers to successfully retrieving content related to the document content in the target document, and successful filtering refers to filtering out information related to the document content in the target document from the system log.
[0087] If the proportion of successfully retrieved and successfully filtered content to the sampled content is greater than the preset proportion threshold, it means that the system will often use the target document, so step S204 is executed at this time.
[0088] S204, marking the system as a target document and inputting the mark into the system.
[0089] S104: Build a database channel and a log channel with each tag input system.
[0090] It should be noted that in order to retrieve information from the database of each tag input system and filter the required information from the log of each tag input system, it is necessary to first build a database channel and a log channel between each tag input system.
[0091] S105 . For each marking component, mark the content of each node in the document tree of the target document corresponding to each marking component through the database channel and the log channel.
[0092] It should be noted that, since the content to be marked by each marking component is different, it is necessary to mark each marking component separately. Specifically, for the content of each node of the target document, the information related to the content in the database of each marking input system is retrieved through each database channel. In addition, the information related to the content is filtered out from the log of each marking input system through each log channel.
[0093] It should be noted that for a certain part of the content, relevant information may be available from multiple marking input systems. In this case, preset rules can be used to select the best content for marking.
[0094] Optionally, in another embodiment of the present application, a specific implementation of step S105 is as follows: Figure 3 As shown, including the following:
[0095] S301 , for each tag component, respectively, through the database channel between each tag input system, search for the content of each part in the target document to obtain the search result.
[0096] Specifically, for a database channel, the relevant content of the tag component can be retrieved by automatic relationship retrieval, and the collection and distribution results can be directly stored in the tag component library.
[0097] S302: Mark the content of each node in the document tree of the target document corresponding to the marking component according to the search result.
[0098] S303: Obtain the filtering rules in the marking component.
[0099] It should be noted that, since different marking components need to mark different contents, the rules for obtaining data are also different. In the embodiment of the present application, corresponding rules are pre-configured in each marking component, and corresponding filtering rules can be obtained from the marking component.
[0100] S304: Filter the log contents of each part of the target document according to the filtering rules in the tag component through the log channels between each tag input system to obtain filtering results.
[0101] Specifically, filtering conditions can be generated according to the filtering rules of the tag component, and then the log content can be filtered for each part of the content according to the filtering conditions to obtain corresponding filtering results.
[0102] S305: Summarize the filtering results.
[0103] Similarly, for a part of the content, it may be possible to filter multiple results from the logs of multiple tags input into the system, so the filtering results need to be summarized.
[0104] S306: Mark the content of each node in the document tree of the target document corresponding to the marking component according to the summarized filtering results.
[0105] Optionally, in another embodiment of the present application, after executing step S105, the document tree of the target document may be further pruned. Figure 4 As shown, an embodiment of the present application provides a method for clipping a document tree of a target document, comprising:
[0106] S401, cross-validate the tag content of each node of the document tree of the target document corresponding to each tag component to determine each accidental tag content.
[0107] It should be noted that for some content, when it is marked, it is actually an accidental event, so the marking of this part of the content is inaccurate, so it is necessary to search and process this part of the content, and then record it accurately.
[0108] Specifically, the marked content can be cross-verified through the constraint relationship between each marking component to determine the marked content that is marked incorrectly due to accidental events.
[0109] S402: Prune each accidentally marked content.
[0110] Since the markup of the accidental tagged content is incorrect, it needs to be pruned, which means cutting it off from the node where it is located in the document tree.
[0111] S403: Calculate the similarity between the accidental mark content and the mark content of each node at the same level.
[0112] In order to merge the clipped accidental mark content with the content that actually has a relationship, it is necessary to calculate the similarity between the accidental mark content and the mark content of each node at the same level.
[0113] S404: Merge the accidental marked content with the marked content whose similarity is greater than a preset threshold and has the highest similarity.
[0114] S405 , starting from the node of the merged marked content, uploading to the root node level by level.
[0115] Since the merging of accidental markup content may affect the upper levels in the document tree, it is necessary to check the nodes of the merged markup content step by step until the root node, so as to make corresponding adjustments to the affected levels.
[0116] The embodiment of the present application provides a document tagging method, in which multiple tagging components are pre-configured in a tagging component library, so when it is necessary to tag a target document, the target document is first obtained, and then the document tree of the target document corresponding to each tagging component in the tagging component library is constructed respectively. Then, based on the document content in the target document, the tagging input system of the target document is screened out from multiple systems, and a database channel and a log channel are constructed between each tagging input system, so that information related to the content of the target document can be automatically obtained through the database channel and the log channel to realize tagging. Therefore, in the end, for each tagging component, through the database channel and the log channel, the content of each node in the document tree of the target document corresponding to each tagging component is marked, thereby realizing a method for automatically tagging documents, improving the efficiency of tagging, and effectively avoiding omissions.
[0117] It should be noted that the flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of the boxes in the block diagram and / or the flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0118] Although operations are depicted in a particular order, this should not be understood as requiring that the operations be performed in the particular order shown or in a sequential order.Multitasking and parallel processing may be advantageous under certain circumstances.
[0119] Another embodiment of the present application provides a document marking device, such as Figure 5 As shown, including:
[0120] The document acquisition unit 501 is used to acquire a target document.
[0121] The first construction unit 502 is used to respectively construct the document tree of the target document corresponding to each markup component in the markup component library.
[0122] The screening unit 503 is used to screen out a markup input system of the target document from multiple systems based on the document content in the target document.
[0123] The second construction unit 504 is used to construct a database channel and a log channel with each tag input system.
[0124] The marking unit 505 is used to mark the content of each node in the document tree of the target document corresponding to each marking component through the database channel and the log channel.
[0125] Optionally, in another embodiment of the present application, the document marking device further includes:
[0126] The content determination unit is used to cross-verify the tag content of each node of the document tree of the target document corresponding to each tag component to determine each accidental tag content.
[0127] The pruning unit prunes the accidental labeled content respectively for each accidental labeled content.
[0128] The calculation unit is used to calculate the similarity between the accidental mark content and the mark content of each node at the same level.
[0129] The merging unit is used to merge the accidental marked content with the marked content whose similarity is greater than a preset threshold and has the highest similarity.
[0130] The transmission unit is used to upload the merged marked content from the node to the root node step by step.
[0131] Optionally, in a document marking device provided in another embodiment of the present application, the screening unit includes:
[0132] The sampling unit is used to select a preset proportion of document content from the target document as the sampling content.
[0133] The processing unit is used to retrieve and filter logs of each part of the sampled content for each system respectively.
[0134] The system determination unit is used to input the mark of the system as the target document into the system if the proportion of the successfully retrieved and successfully filtered content to the sampled content is greater than a preset proportion threshold.
[0135] Optionally, in a document marking device provided in another embodiment of the present application, the marking unit includes:
[0136] The retrieval unit is used to retrieve the contents of each part of the target document for each tag component through the database channel between each tag input system to obtain the retrieval result.
[0137] The first marking unit is used to mark the content of each node in the document tree of the target document corresponding to the marking component according to the search result.
[0138] The rule acquisition unit is used to acquire the filtering rules in the marking component.
[0139] The filtering unit is used to filter the log contents of each part of the target document through the log channels between each tag input system according to the filtering rules in the tag component to obtain the filtering results.
[0140] The summary unit is used to summarize the filtering results.
[0141] The second marking unit is used to mark the content of each node in the document tree of the target document corresponding to the marking component according to the summarized filtering results.
[0142] It should be noted that the specific working process of each unit provided in the above embodiments of the present application can refer to the corresponding steps in the above method embodiments, which will not be repeated here.
[0143] Another embodiment of the present application provides an electronic device, such as Figure 6 As shown, including:
[0144] Memory 601 and processor 602 .
[0145] The memory 601 is used to store programs.
[0146] The processor 602 is used to execute the program stored in the memory 601, and when the program is executed, it is specifically used to implement the document marking method provided in any one of the above embodiments.
[0147] Another embodiment of the present application provides a computer storage medium, characterized in that it is used to store a computer program, and when the computer program is executed, it is used to implement any of the document marking methods described above.
[0148] Computer storage media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0149] It should be noted that the document tagging method and device, electronic device, and storage medium provided by the present invention can be used in the field of artificial intelligence, big data, or finance. The above is only an example and does not limit the application field of the document tagging method and device, electronic device, and storage medium provided by the present invention.
[0150] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0151] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A document marking method, characterized in that: include: Get the target document; Constructing document trees of the target documents corresponding to the respective markup components in the markup component library respectively; Based on the document content in the target document, selecting a markup input system for the target document from a plurality of systems; Building a database channel and a log channel with each of the tag input systems; For each of the marking components, marking the content of each node in the document tree of the target document corresponding to each of the marking components through the database channel and the log channel; Cross-validate the tag content of each node of the document tree of the target document corresponding to each tag component to determine each accidental tag content; For each of the accidental marking contents, pruning the accidental marking contents respectively; Calculating the similarity between the accidental marking content and the marking content of each node at the same level; Merging the accidental marked content with the marked content having a similarity greater than a preset threshold and having the highest similarity; Starting from the node of the merged marked content, it is uploaded to the root node step by step.
2. The method according to claim 1, characterized in that The step of selecting a markup input system for the target document from a plurality of systems based on the document content in the target document includes: Selecting a preset proportion of document content from the target document as sampled content; Retrieving and filtering logs of each part of the sampled content for each system; If the proportion of the successfully retrieved and successfully filtered contents to the sampled contents is greater than a preset proportion threshold, the system marks the target document as the mark input system.
3. The method according to claim 1, characterized in that The marking of the content of each node in the document tree of the target document corresponding to each marking component through the database channel and the log channel respectively includes: Respectively for each of the tag components, respectively through the database channel between each of the tag input systems, searching for the contents of each part of the target document to obtain a search result; Marking the content of each node in the document tree of the target document corresponding to the marking component according to the search result; Obtaining filtering rules in the marking component; Through the log channels between the respective tag input systems, and according to the filtering rules in the tag component, the log content of each part of the target document is filtered to obtain filtering results; Summarizing the filtering results; The content of each node in the document tree of the target document corresponding to the marking component is marked according to the aggregated filtering results.
4. A document marking device, characterized in that: include: A document acquisition unit, used for acquiring a target document; A first construction unit is used to respectively construct a document tree of the target document corresponding to each markup component in the markup component library; A screening unit, configured to screen a markup input system of the target document from a plurality of systems based on the document content in the target document; A second construction unit is used to construct a database channel and a log channel with each of the tag input systems; A marking unit, used for marking the content of each node in the document tree of the target document corresponding to each marking component through the database channel and the log channel respectively for each marking component; A content determination unit, configured to cross-validate the tag content of each node of the document tree of the target document corresponding to each tag component, and determine each accidental tag content; A pruning unit, pruning each of the accidental marking contents respectively; A calculation unit, used for calculating the similarity between the accidental marked content and the marked content of each node at the same level; A merging unit, used to merge the accidental marked content with the marked content whose similarity is greater than a preset threshold and has the highest similarity; The transmission unit is used to upload the merged marked content to the root node step by step starting from the node.
5. The device according to claim 4, characterized in that The screening unit comprises: A sampling unit, used for selecting a preset proportion of document content from the target document as sampled content; A processing unit, used for searching and filtering logs of each part of the sampled content for each system; The system determination unit is used to input the mark of the system as the target document into the system if the proportion of the successfully retrieved and successfully filtered content to the sampled content is greater than a preset proportion threshold.
6. The device according to claim 4, characterized in that The marking unit comprises: A retrieval unit, used for searching the contents of each part of the target document through the database channel between each of the mark input systems for each of the mark components, to obtain a retrieval result; A first marking unit, used for marking the content of each node in the document tree of the target document corresponding to the marking component according to the search result; A rule acquisition unit, used to acquire the filtering rules in the marking component; A filtering unit, configured to filter the contents of each part of the target document through the log channel between each of the tag input systems according to the filtering rules in the tag component to obtain a filtering result; A summarizing unit, used for summarizing the filtering results; The second marking unit is used to mark the content of each node in the document tree of the target document corresponding to the marking component according to the summarized filtering results.
7. An electronic device, characterized in that: include: Memory and processor; Wherein, the memory is used to store programs; The processor is used to execute the program, and when the program is executed, it is specifically used to implement the document marking method according to any one of claims 1 to 3.
8. A computer storage medium, characterized in that: Used to store a computer program, which, when executed, is used to implement the document marking method according to any one of claims 1 to 3.
Citation Information
Patent Citations
Webpage information extraction method and related equipment
CN111737623A
Recommendation list generation method and device
CN112148889A
Logical structure tree construction method and system for listed company reports, storage medium and terminal
CN113642291A
Model training method and device, knowledge extraction method and device, equipment and medium
CN114186533A
Document analysis method and system, computer equipment and computer readable storage medium
CN114238575A
