Announcement content analysis method, system, electronic device and storage medium
By annotating and extracting features from the elements in the announcement, a knowledge graph is generated, which solves the problem of low accuracy in announcement content analysis in the existing technology and achieves high-accuracy analysis results.
Patent Information
- Application Number
- CN202110825236.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-21
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-07-21
AI Technical Summary
Existing announcement content analysis methods have low processing accuracy and rely on the standardization of announcements, making it difficult to achieve high-accuracy analysis.
By annotating the elements in the announcement, the chapter structure and element characteristics are extracted, a knowledge graph is generated, and the graph is used for content analysis, including building an announcement content analysis model for training and visualization to improve analysis accuracy.
It improves the accuracy of announcement processing, achieves high-accuracy analysis of announcement content, and can more accurately extract and analyze key information in announcements.
Smart Images

Figure CN113535981B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of text processing technology, and in particular to an announcement content analysis method, system, electronic device and storage medium. Background Art
[0002] Disclosure announcements of listed companies are an important source of data in securities investment, and investors rely on the analysis and interpretation of data to make investment decisions. The annotation and training process of announcements is relatively complicated, and the current method mainly disassembles the documents before processing. The processing accuracy of the above-mentioned announcement content analysis method that disassembles the documents before processing depends on the standardization of the announcement, so the processing accuracy of the current announcement content analysis solution is low.
[0003] Therefore, how to improve the processing accuracy of announcements and achieve high-accuracy announcement content analysis is a technical problem that technical personnel in this field currently need to solve. Summary of the invention
[0004] The purpose of this application is to provide an announcement content analysis method, system, storage medium and electronic device, which can improve the processing accuracy of announcements and achieve high-accuracy announcement content analysis.
[0005] In order to solve the above technical problems, the present application provides an announcement content analysis method, which includes:
[0006] Marking the elements in the target announcement to obtain the chapter structure of the target announcement;
[0007] Extracting element features of the target announcement according to the chapter structure to obtain feature engineering of each element;
[0008] Generate a knowledge graph of the target announcement according to the feature engineering;
[0009] If an announcement content analysis request is received, the knowledge graph is used to output the analysis results corresponding to the announcement content analysis request.
[0010] Optionally, the step of labeling the elements in the target announcement to obtain the chapter structure of the target announcement includes:
[0011] The table of contents, paragraphs, tables and custom elements in the target announcement are marked to obtain the chapter structure of the target announcement.
[0012] Optionally, extracting element features of the target announcement according to the chapter structure to obtain feature engineering of each element includes:
[0013] Preprocessing the target announcement according to the chapter structure to obtain element features; wherein the element features include any one or a combination of element entities, entity relationships, keywords, TF-IDF values of keywords, paragraph position information, text semantic vectors of paragraphs, and similarities between paragraphs and each level of titles;
[0014] The element features are stored according to the corresponding relationship between the element features and the elements, and feature engineering corresponding to each of the elements is obtained.
[0015] Optionally, generating a knowledge graph of the target announcement according to the feature engineering includes:
[0016] Constructing an announcement content analysis model for the target announcement; wherein the announcement content analysis model includes a positioning function module, an extraction function module, a classification function module and a calculation function module, wherein the positioning function module is used to locate the query content, the extraction function module is used to extract information corresponding to the query condition, the classification function module is used to output the classification result corresponding to the query question, and the calculation function module is used to calculate the calculation result corresponding to the query question;
[0017] Inputting feature engineering of each of the elements and adjacent elements into the announcement content analysis model, training the announcement content analysis model, and obtaining a model processing result;
[0018] The indication map is generated according to the model processing result.
[0019] Optionally, the process of training the announcement content analysis model further includes:
[0020] The training processes of the positioning function module, the extraction function module, the classification function module and the calculation function module are visualized so as to display the positioning results of the positioning function module, the extraction results of the extraction function module, the classification results of the classification function module and the calculation results of the calculation function module on a user interface.
[0021] Optionally, after the announcement content analysis model is trained, the method further includes:
[0022] Receive the user's correction results for the positioning result, the extraction result, the classification result and the calculation result, and perform incremental training on the announcement content analysis model according to the correction results.
[0023] Optionally, generating a knowledge graph of the target announcement according to the feature engineering includes:
[0024] Constructing four arithmetic operation rules of regular expressions according to the elements, performing rule matching on the feature engineering using the four arithmetic operation rules, and marking texts that match the four arithmetic operation rules;
[0025] A knowledge graph of the target announcement is generated according to the rule matching results.
[0026] The present application also provides an announcement content analysis system, the system comprising:
[0027] A marking module, used for marking the elements in the target announcement to obtain the chapter structure of the target announcement;
[0028] A feature extraction module, used to extract the element features of the target announcement according to the chapter structure to obtain feature engineering of each element;
[0029] A knowledge graph generation module, used to generate a knowledge graph of the target announcement according to the feature engineering;
[0030] The announcement analysis module is used to use the knowledge graph to output the analysis results corresponding to the announcement content analysis request if an announcement content analysis request is received.
[0031] The present application also provides a storage medium on which a computer program is stored, and when the computer program is executed, the steps of the above-mentioned announcement content analysis method are implemented.
[0032] The present application also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the processor calls the computer program in the memory, the steps of the above-mentioned announcement content analysis method are implemented.
[0033] The present application provides a method for analyzing announcement content, including: labeling elements in a target announcement to obtain the chapter structure of the target announcement; extracting element features of the target announcement based on the chapter structure to obtain feature engineering of each element; generating a knowledge graph of the target announcement based on the feature engineering; if an announcement content analysis request is received, using the knowledge graph to output an analysis result corresponding to the announcement content analysis request.
[0034] The present application obtains the chapter structure by annotating the elements in the target announcement, and then extracts the feature engineering of each element in the target announcement based on the chapter structure. The feature engineering may include the feature information of each element. The present application may generate a knowledge graph of the target announcement using feature engineering, and the knowledge graph includes all the knowledge information in the target announcement. After receiving the announcement content analysis request, the knowledge graph may be used to directly output the analysis results corresponding to the announcement content analysis request. The present application generates a knowledge graph based on the chapter structure of the target announcement, and embeds the semantic knowledge of the chapter structure into the knowledge graph. Therefore, the present application can improve the processing accuracy of the announcement and achieve high-accuracy announcement content analysis. The present application also provides an announcement content analysis system, an electronic device, and a storage medium, which have the above-mentioned beneficial effects and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0036] Figure 1 A flowchart of a method for analyzing announcement content provided in an embodiment of the present application;
[0037] Figure 2 A structural diagram of an announcement content analysis system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are 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.
[0039] See below Figure 1 , Figure 1 A flowchart of an announcement content analysis method provided in an embodiment of the present application.
[0040] Specific steps may include:
[0041] S101: marking elements in a target announcement to obtain a chapter structure of the target announcement;
[0042] The target announcement of the analysis object in this embodiment can be a disclosure announcement of a listed company, a prospectus, and other announcements, and the type and content of the announcement are not limited here. The target announcement can include elements such as a directory, paragraphs, and tables. In this embodiment, the elements in the target announcement can be annotated by the element tag annotation model to obtain the chapter structure of the target announcement.
[0043] Specifically, in this embodiment, the directory, paragraphs, tables and custom elements in the target announcement can be annotated to obtain the chapter structure of the target announcement.
[0044] S102: extracting element features of the target announcement according to the chapter structure to obtain feature engineering of each element;
[0045] Among them, after obtaining the chapter structure of the target announcement, this step extracts the element features of the target announcement according to the chapter structure, and uses all the element features corresponding to each element as the feature engineering of the element.
[0046] Specifically, this embodiment can obtain the feature engineering of each element in the following manner: preprocess the target announcement according to the chapter structure to obtain element features; store the element features according to the corresponding relationship between the element features and the elements to obtain the feature engineering corresponding to each of the elements.
[0047] The above-mentioned element features include any one or a combination of any several of the following: element entities, entity relationships, keywords, TF-IDF (termfrequency–inverse document frequency) values of keywords, paragraph position information, text semantic vectors of paragraphs, and similarities between paragraphs and each level of titles. In this embodiment, an entity table and a keyword table may be pre-set, and the element entities in the target announcement may be determined based on the entity table, and keywords in the target announcement may be queried based on the keyword table. For example, the entity table may include entity nouns such as company names, names of people, time, place, products, events, attributes, and industries. An entity relationship refers to the relationship between entities. For example, if the target announcement contains the text "Company A provides commodity raw materials to Company B", the entity relationship between entity "Company A" and entity "Company B" is a supplier relationship.
[0048] S103: Generate a knowledge graph of the target announcement according to the feature engineering;
[0049] Among them, feature engineering is stored in elements, and the feature engineering contains the feature information of each element in the target announcement. Therefore, the semantic knowledge of the chapter structure of the target announcement is embedded in the knowledge graph generated by feature engineering.
[0050] As a feasible implementation method, this embodiment can generate a knowledge graph of the target announcement by training a machine learning model. This implementation can also generate a knowledge graph of the target announcement by constructing four arithmetic operations of regular expressions.
[0051] S104: If an announcement content analysis request is received, the knowledge graph is used to output the analysis result corresponding to the announcement content analysis request.
[0052] Among them, the semantic knowledge of the chapter structure is embedded in the knowledge graph, so after receiving the announcement content analysis request, the knowledge graph can be used for graph calculation to obtain the analysis result corresponding to the announcement content analysis request. By parsing the announcement content analysis request, any one or a combination of several of the query content, query conditions, and query questions can be obtained. For example, when the announcement content analysis request is a request to determine whether the target announcement has investment risks, this embodiment can use the knowledge graph to determine whether the target announcement has investment risks.
[0053] This embodiment obtains the chapter structure by annotating the elements in the target announcement, and then extracts the feature engineering of each element in the target announcement based on the chapter structure. The feature engineering may include the feature information of each element. This embodiment uses feature engineering to generate a knowledge graph of the target announcement, and the knowledge graph includes all knowledge information in the target announcement. After receiving the announcement content analysis request, the knowledge graph can be used to directly output the analysis results corresponding to the announcement content analysis request. This embodiment generates a knowledge graph based on the chapter structure of the target announcement, and embeds the semantic knowledge of the chapter structure into the knowledge graph. Therefore, this embodiment can improve the processing accuracy of the announcement and achieve high-accuracy announcement content analysis.
[0054] The following is an example of an actual application to illustrate the process described in the above example. This example provides a chapter structure-oriented announcement visualization annotation and training solution. This example builds a visualization annotation and training system based on domain knowledge and announcement chapter structure. The system can pre-calculate features of different granularities such as announcement chapters and semantics, perform model training, prediction, and result correction for the announcement mining process, and implement incremental training to meet the processing requirements of complex texts. This example may include the following steps:
[0055] Step 1: Based on the chapter structure, mark each element. The marked labels can be customized such as directory (hierarchy), paragraph, table, other customized labels, etc., and finally the chapter structure of the target announcement is obtained.
[0056] Step 2: Preprocess the elements to obtain the calculation results of various features of each element (table of contents, paragraph, table), such as entity, relationship, keyword and tfidf, position information (relative to title, table position), text semantic vector, similarity with titles at all levels, etc., in order to construct feature engineering of various elements in the chapter structure. These feature engineering are stored in elements and can be called in the following rules and scripts in the form of objects and attributes.
[0057] The entities of the above elements may include company names, names, time, place, product, event, attribute, industry, etc. The relationship may include the relationship between time, attribute and attribute value. Tfidf refers to the tfidf of keywords, and the location information is the coordinates of the paragraph in the document. Feature engineering refers to the result of preprocessing, and its role is to provide input for subsequent calls or machine learning. Specifically, feature engineering can be called through the reflection mechanism in the programming language.
[0058] Step 3: Construct the mining task process of announcements for positioning, extraction, classification and calculation. Based on the above feature engineering, a visual model training method is constructed based on a neural network. When each element participates in the training, in addition to the characteristics of each element itself, the characteristics of the context elements of the element can also be introduced to achieve feature enhancement.
[0059] Specifically, the implementation process of this step is as follows: construct an announcement content analysis model of the target announcement; wherein the announcement content analysis model includes a positioning function module, an extraction function module, a classification function module and a calculation function module, the positioning function module is used to locate the query content, the extraction function module is used to extract information corresponding to the query conditions, the classification function module is used to output the classification results corresponding to the query question, and the calculation function module is used to calculate the calculation results corresponding to the query question; the feature engineering of each element and adjacent elements is input into the announcement content analysis model, the announcement content analysis model is trained, and the model processing results are obtained, so as to generate the indication map according to the model processing results. The classification function module can directly output the results according to the query question, and the calculation function module can perform at least one step of calculation operation according to the query question and then output the results.
[0060] After the announcement content analysis model is trained, it is also possible to receive the user's correction results for the positioning result, the extraction result, the classification result and the calculation result, and perform incremental training on the announcement content analysis model based on the correction results.
[0061] Step 4: Construct the four operations of visual regular expressions for elements. The rule calculation results can also be used as one of the characteristics of the element, which can realize the real-time calculation of one or more announcements. Through ORM (Object Relational Mapping), content elements and rules can be uniformly accessed. Content elements can be called in the form of mapping objects in the rules to express contextual features; before the rule engine is executed, an interpreter is added to convert the context mapping object into a value for easy execution. When the rule hits the text, the context and the current text can be highlighted in different colors, which is convenient for developers to analyze and optimize the rules.
[0062] Specifically, the implementation process of this step is as follows: construct the four arithmetic operation rules of the regular expression according to the element, use the four arithmetic operation rules to match the feature engineering rules, and mark the text that hits the four arithmetic operation rules, so as to generate the knowledge graph of the target announcement according to the rule matching results. The element-oriented in this step can be implemented by "calling in the following rules and scripts in the form of objects and attributes" in step 2.
[0063] Step 5: Based on the above, the positioning, extraction, classification and calculation processes are constructed as a visual pipeline process to achieve visual prediction results. After correcting the prediction results, the data is loaded back into the corpus and model to achieve incremental training. The data generated in this process mainly includes the chapter structure table (location and index of the directory, paragraphs and tables), element preprocessing feature table, table content table, text entity and relationship table, element annotation table and prediction results.
[0064] Specifically, in the process of training the announcement content analysis model, the training processes of the positioning function module, the extraction function module, the classification function module and the calculation function module can also be visualized so as to display the positioning results of the positioning function module, the extraction results of the extraction function module, the classification results of the classification function module and the calculation results of the calculation function module on the user interface.
[0065] Step 6: According to the knowledge in the field of financial securities and the above chapter structure, build a domain ontology library, load the processing results into the knowledge graph, and determine the risks contained in the announcement through the knowledge graph and graph computing.
[0066] Among them, the ontology library refers to the elements and the corresponding columns in the feature engineering, the processing results refer to the specific elements in each announcement and the rows in the feature engineering, and the objects of graph calculation are the ontology library and the results.
[0067] This embodiment proposes a multi-task processing solution that integrates different granularities such as chapters, literals and semantics, and improves the efficiency of announcement mining through integrated announcement preprocessing, training and prediction methods; this embodiment also proposes a visual announcement processing method and system, which precipitates the knowledge system of announcement processing and reduces the development workload.
[0068] See also Figure 2 , Figure 2 A structural diagram of an announcement content analysis system provided in an embodiment of the present application;
[0069] The system may include:
[0070] A marking module 201 is used to mark the elements in the target announcement to obtain the chapter structure of the target announcement;
[0071] A feature extraction module 202 is used to extract the element features of the target announcement according to the chapter structure to obtain feature engineering of each element;
[0072] A knowledge graph generation module 203, used to generate a knowledge graph of the target announcement according to the feature engineering;
[0073] The announcement analysis module 204 is used to use the knowledge graph to output the analysis results corresponding to the announcement content analysis request if an announcement content analysis request is received.
[0074] This embodiment obtains the chapter structure by annotating the elements in the target announcement, and then extracts the feature engineering of each element in the target announcement based on the chapter structure. The feature engineering may include the feature information of each element. This embodiment uses feature engineering to generate a knowledge graph of the target announcement, and the knowledge graph includes all knowledge information in the target announcement. After receiving the announcement content analysis request, the knowledge graph can be used to directly output the analysis results corresponding to the announcement content analysis request. This embodiment generates a knowledge graph based on the chapter structure of the target announcement, and embeds the semantic knowledge of the chapter structure into the knowledge graph. Therefore, this embodiment can improve the processing accuracy of the announcement and achieve high-accuracy announcement content analysis.
[0075] Furthermore, the marking module 201 is used to mark the directory, paragraphs, tables and custom elements in the target announcement to obtain the chapter structure of the target announcement.
[0076] Furthermore, the feature extraction module 202 is used to pre-process the target announcement according to the chapter structure to obtain element features; wherein the element features include element entities, entity relationships, keywords, TF-IDF values of keywords, paragraph position information, text semantic vectors of paragraphs, and similarities between paragraphs and each level of titles, any one or a combination of several of them; and is also used to store the element features according to the corresponding relationship between the element features and the elements to obtain feature engineering corresponding to each of the elements.
[0077] Furthermore, the knowledge graph generation module 203 includes:
[0078] A model training unit is used to construct an announcement content analysis model of the target announcement; wherein the announcement content analysis model includes a positioning function module, an extraction function module, a classification function module and a calculation function module, the positioning function module is used to locate the query content, the extraction function module is used to extract information corresponding to the query conditions, the classification function module is used to output the classification results corresponding to the query questions, and the calculation function module is used to calculate the calculation results corresponding to the query questions; it is also used to input the feature engineering of each of the elements and adjacent elements into the announcement content analysis model, train the announcement content analysis model, and obtain the model processing results; it is also used to generate the indication map according to the model processing results.
[0079] Furthermore, it also includes:
[0080] A visualization unit is used to visualize the training process of the positioning function module, the extraction function module, the classification function module and the calculation function module during the training of the announcement content analysis model, so as to display the positioning result of the positioning function module, the extraction result of the extraction function module, the classification result of the classification function module and the calculation result of the calculation function module on the user interface.
[0081] Furthermore, it also includes:
[0082] The incremental training unit is used to receive the user's correction results of the positioning result, the extraction result, the classification result and the calculation result after training the announcement content analysis model, and perform incremental training on the announcement content analysis model according to the correction results.
[0083] A rule matching unit is used to construct the four arithmetic operation rules of the regular expression according to the elements, use the four arithmetic operation rules to match the feature engineering rules, and mark the text that hits the four arithmetic operation rules; it is also used to generate the knowledge graph of the target announcement according to the rule matching results.
[0084] Since the embodiments of the system part correspond to the embodiments of the method part, please refer to the description of the embodiments of the method part for the embodiments of the system part, which will not be repeated here.
[0085] The present application also provides a storage medium on which a computer program is stored, and when the computer program is executed, the steps provided in the above embodiment can be implemented. The storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0086] The present application also provides an electronic device, which may include a memory and a processor, wherein the memory stores a computer program, and when the processor calls the computer program in the memory, the steps provided in the above embodiment may be implemented. Of course, the electronic device may also include various network interfaces, power supplies and other components.
[0087] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of this application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of this application.
[0088] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used 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 "comprises", "comprising" 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 "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
Claims
1. A method for analyzing announcement content, characterized in that: include: Marking the elements in the target announcement to obtain the chapter structure of the target announcement; wherein the target announcement is an announcement including a directory; Extracting element features of the target announcement according to the chapter structure to obtain feature engineering of each element; Generate a knowledge graph of the target announcement according to the feature engineering; wherein the knowledge graph is embedded with semantic knowledge of the chapter structure; If an announcement content analysis request is received, the analysis result corresponding to the announcement content analysis request is outputted using the knowledge graph; The step of labeling the elements in the target announcement to obtain the chapter structure of the target announcement includes: Annotating the directory, paragraphs, tables and custom elements in the target announcement to obtain the chapter structure of the target announcement; The step of extracting the element features of the target announcement according to the chapter structure to obtain the feature engineering of each element includes: Preprocessing the target announcement according to the chapter structure to obtain element features; wherein the element features include element entities, entity relationships, keywords, TF-IDF values of keywords, paragraph position information, text semantic vectors of paragraphs, and similarities between paragraphs and each level of titles; The element features are stored according to the corresponding relationship between the element features and the elements, and feature engineering corresponding to each of the elements is obtained; Wherein, generating the knowledge graph of the target announcement according to the feature engineering includes: Constructing an announcement content analysis model for the target announcement; wherein the announcement content analysis model includes a positioning function module, an extraction function module, a classification function module and a calculation function module, wherein the positioning function module is used to locate the query content, the extraction function module is used to extract information corresponding to the query condition, the classification function module is used to output the classification result corresponding to the query question, and the calculation function module is used to calculate the calculation result corresponding to the query question; Inputting feature engineering of each of the elements and adjacent elements into the announcement content analysis model, training the announcement content analysis model, and obtaining a model processing result; Generate the knowledge graph according to the model processing result; Among them, it also includes: The positioning, extraction, classification and calculation processes are constructed as a visual pipeline process to achieve visual prediction results; after correcting the prediction results, the data is loaded back into the corpus and model to achieve incremental training; the data generated by this process includes a chapter structure table, an element preprocessing feature table, a table content table, a text entity and relationship table, an element annotation table and prediction results; the chapter structure table includes the location and index of the directory, paragraphs and tables; A domain ontology library is constructed according to the knowledge and chapter structure of the financial securities field, and the processing results are loaded into the knowledge graph. The risks contained in the announcement are determined through the knowledge graph and graph computing. The ontology library refers to the elements and the corresponding columns in the feature engineering, and the processing results refer to the elements in each announcement and the rows in the feature engineering. The objects of graph computing are the ontology library and the processing results.
2. The method for analyzing announcement content according to claim 1, characterized in that: The process of training the announcement content analysis model also includes: The training processes of the positioning function module, the extraction function module, the classification function module and the calculation function module are visualized so as to display the positioning results of the positioning function module, the extraction results of the extraction function module, the classification results of the classification function module and the calculation results of the calculation function module on a user interface.
3. The method for analyzing announcement content according to claim 2, characterized in that: After the announcement content analysis model is trained, the method further includes: Receive the user's correction results for the positioning result, the extraction result, the classification result and the calculation result, and perform incremental training on the announcement content analysis model according to the correction results.
4. The method for analyzing announcement content according to claim 1, characterized in that: Generating a knowledge graph of the target announcement according to the feature engineering includes: Constructing four arithmetic operation rules of regular expressions according to the elements, performing rule matching on the feature engineering using the four arithmetic operation rules, and marking texts that match the four arithmetic operation rules; A knowledge graph of the target announcement is generated according to the rule matching results.
5. A bulletin content analysis system, characterized in that: include: A marking module, used for marking elements in a target announcement to obtain a chapter structure of the target announcement; wherein the target announcement is an announcement containing a directory; A feature extraction module, used to extract the element features of the target announcement according to the chapter structure to obtain feature engineering of each element; A knowledge graph generation module, used to generate a knowledge graph of the target announcement according to the feature engineering; wherein the knowledge graph is embedded with the semantic knowledge of the chapter structure; An announcement analysis module, configured to output an analysis result corresponding to an announcement content analysis request by using the knowledge graph if an announcement content analysis request is received; The annotation module is used to annotate the directory, paragraphs, tables and custom elements in the target announcement to obtain the chapter structure of the target announcement; The feature extraction module is used to pre-process the target announcement according to the chapter structure to obtain element features; wherein the element features include element entities, entity relationships, keywords, TF-IDF values of keywords, paragraph position information, text semantic vectors of paragraphs, and similarities between paragraphs and each level of titles; and is also used to store the element features according to the corresponding relationship between the element features and the elements to obtain feature engineering corresponding to each of the elements; Wherein, the knowledge graph generation module includes: A model training unit, used to construct an announcement content analysis model of the target announcement; wherein the announcement content analysis model includes a positioning function module, an extraction function module, a classification function module and a calculation function module, wherein the positioning function module is used to locate the query content, the extraction function module is used to extract information corresponding to the query condition, the classification function module is used to output the classification result corresponding to the query question, and the calculation function module is used to calculate the calculation result corresponding to the query question; it is also used to input the feature engineering of each of the elements and adjacent elements into the announcement content analysis model, train the announcement content analysis model, and obtain the model processing result; it is also used to generate the knowledge graph according to the model processing result; The operations implemented by the announcement content analysis system also include: The positioning, extraction, classification and calculation processes are constructed as a visual pipeline process to achieve visual prediction results; after correcting the prediction results, the data is loaded back into the corpus and model to achieve incremental training; the data generated by this process includes a chapter structure table, an element preprocessing feature table, a table content table, a text entity and relationship table, an element annotation table and prediction results; the chapter structure table includes the location and index of the directory, paragraphs and tables; A domain ontology library is constructed according to the knowledge and chapter structure of the financial securities field, and the processing results are loaded into the knowledge graph. The risks contained in the announcement are determined through the knowledge graph and graph computing. The ontology library refers to the elements and the corresponding columns in the feature engineering, and the processing results refer to the elements in each announcement and the rows in the feature engineering. The objects of graph computing are the ontology library and the processing results.
6. An electronic device, characterized in that: It comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the announcement content analysis method as claimed in any one of claims 1 to 4 when calling the computer program in the memory.
7. A storage medium, characterized in that: The storage medium stores computer executable instructions, which, when loaded and executed by a processor, implement the steps of the announcement content analysis method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Construction system and method of knowledge map
CN108874878A
Construction method and system for automobile field knowledge graph
CN110245239A
Medicine knowledge graph construction method and device and computer equipment
CN111723570A
Monitoring and early warning method and device based on knowledge graph and electronic equipment
CN111967761A
