Innovative text feature construction method and system based on corporate disclosure reports
Through the combination of Word2Vec and ChatGPT, a domain-applicable innovation dictionary and inference features are constructed, which solves the accuracy problem of innovation text extraction and inference information mining in corporate disclosure reports, and achieves a more accurate and complete innovation text feature representation.
Patent Information
- Application Number
- CN202311360362.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-19
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2043-10-19
AI Technical Summary
Existing technology cannot accurately extract innovative text in corporate disclosure reports, and it is especially difficult to mine implicit reasoning information, resulting in insufficient accuracy and completeness of innovative text feature construction.
The Word2Vec model is used to construct an innovative dictionary suitable for the field, the inference text is obtained through ChatGPT and redundant features are removed, and the Transformer model is combined with the initial and inference features to generate a multi-dimensional innovative text feature matrix.
It improves the accurate extraction and inference information mining of innovative text in disclosure reports in specific fields, enhances the accuracy and completeness of innovative text features, and helps better understand and utilize field-related information.
Smart Images

Figure CN117610663B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of text feature mining, and in particular to an innovative text feature construction method and system based on corporate disclosure reports. Background Art
[0002] The innovation text in the corporate disclosure report carries key corporate innovation information, including R&D investment levels, technological innovation progress, new product sales, etc. This innovation information is of great significance to information users because it directly affects their predictions and inferences about the future development of the company. For example, external investors can obtain innovation-related information from corporate disclosure reports to help them evaluate the company's future growth potential and make more reasonable investment plans.
[0003] In summary, information users usually focus on the descriptions of innovation in disclosure reports and analyze and reason about these descriptions to assist their decision-making process. However, current text feature construction techniques can only mine the original explicit information contained in the innovation text itself in the disclosure report, but cannot further mine the implicit reasoning information based on the innovation text. In addition, corporate disclosure reports contain various types of information, and the description of innovation information is varied and usually closely related to the industry field in which the company is located. Therefore, current text feature construction techniques often find it difficult to accurately extract innovation text in disclosure reports.
[0004] Therefore, how to accurately extract the innovative text in the corporate disclosure report and further mine the reasoning information therein to improve the accuracy and completeness of constructing the innovative text features has become an urgent problem to be solved. Summary of the invention
[0005] 1. Technical issues to be resolved
[0006] In view of the deficiencies in the prior art, the present invention provides a method and system for constructing innovative text features based on corporate disclosure reports, which solves the problem of insufficient accuracy and completeness of innovative text feature characterization capabilities under current text feature construction technology.
[0007] (II) Technical solution
[0008] To achieve the above objectives, the present invention is implemented through the following technical solutions:
[0009] In a first aspect, the present invention provides an innovative text feature construction method based on enterprise disclosure reports, comprising:
[0010] S1. Obtain corporate disclosure reports in the target field;
[0011] S2. Extracting innovative text from the enterprise disclosure report based on a preset target field innovation dictionary, wherein the preset target field innovation dictionary is constructed by a Word2Vec model;
[0012] S3, obtaining innovative text features based on the innovative text; the innovative text features include initial features and inference features, wherein the process of obtaining the inference features includes: obtaining the inference text of the innovative text through ChatGPT and extracting the topic features of the inference text, removing redundant topic features in the inference text, and obtaining the inference features;
[0013] S4. Integrate the initial features and inference features, adaptively weight the utility of each feature based on the Transformer model, and generate a multi-dimensional innovative text feature matrix.
[0014] Preferably, S2 includes:
[0015] S21. Formulate a set of innovation seed words that describe the innovation-related information of enterprises in the target field;
[0016] S22. Constructing a corporate disclosure report corpus based on the obtained corporate disclosure reports;
[0017] S23, using the Word2Vec model to train the corporate disclosure corpus and represent the words in the corporate disclosure reports as word vectors containing contextual semantic information;
[0018] S24, based on the word vector, calculating the cosine similarity between each innovative seed word in the innovative seed word set and other words, screening out words whose similarity to the seed word is greater than a set threshold α, obtaining a similar word set of the innovative seed word, and combining it with the innovative seed word set to obtain an innovative dictionary;
[0019] S25. Traverse the innovation words in the innovation dictionary, identify and extract the innovation sentences in the enterprise disclosure report, and obtain the innovation text.
[0020] Preferably, the method of obtaining the inference text of the innovative text through ChatGPT and extracting the subject features of the inference text, removing the redundant subject features in the inference text, and obtaining the inference features includes:
[0021] S321, apply ChatGPT to perform reasoning analysis on the innovation text to obtain the reasoning text of ChatGPT;
[0022] S322, inputting the inference text into the BERTopic model to obtain the topic features of the inference text;
[0023] S323. Design a redundant feature removal mechanism to remove redundant topic features of the reasoning text and obtain reasoning features.
[0024] Preferably, the S323 includes:
[0025] Based on the similarity algorithm, the similarity between the inferred text topic feature vector and the original text topic feature vector is calculated one by one to obtain the similarity calculation result;
[0026] A threshold β is set, and the inference text topic features are filtered according to the similarity calculation result, and redundant inference text topic features with similarity higher than the set threshold are removed to obtain the inference features composed of the remaining non-redundant topic features.
[0027] In a second aspect, the present invention provides an innovative text feature construction system based on enterprise disclosure reports, comprising:
[0028] The report acquisition module is used to execute S1 and obtain corporate disclosure reports in the target field;
[0029] An innovation text extraction module, used to execute S2, extract innovation text from the enterprise disclosure report based on a preset target domain innovation dictionary, wherein the preset target domain innovation dictionary is constructed by a Word2Vec model;
[0030] An innovative text feature acquisition module is used to execute S3 and acquire innovative text features based on the innovative text; the innovative text features include initial features and inference features, wherein the inference feature acquisition process includes: acquiring the inference text of the innovative text through ChatGPT and extracting the topic features of the inference text, removing redundant topic features in the inference text, and obtaining the inference features;
[0031] The innovative text feature matrix generation module is used to execute S4, fuse the initial features and inference features, and adaptively weight the utility of each feature based on the Transformer model to generate a multi-dimensional innovative text feature matrix.
[0032] Preferably, S2 includes:
[0033] S21. Formulate a set of innovation seed words that describe the innovation-related information of enterprises in the target field;
[0034] S22. Constructing a corporate disclosure report corpus based on the obtained corporate disclosure reports;
[0035] S23, using the Word2Vec model to train the corporate disclosure corpus and represent the words in the corporate disclosure reports as word vectors containing contextual semantic information;
[0036] S24, based on the word vector, calculating the cosine similarity between each innovative seed word in the innovative seed word set and other words, screening out words whose similarity to the seed word is greater than a set threshold α, obtaining a similar word set of the innovative seed word, and combining it with the innovative seed word set to obtain an innovative dictionary;
[0037] S25. Traverse the innovation words in the innovation dictionary, identify and extract the innovation sentences in the enterprise disclosure report, and obtain the innovation text.
[0038] Preferably, the method of obtaining the inference text of the innovative text through ChatGPT and extracting the subject features of the inference text, removing the redundant subject features in the inference text, and obtaining the inference features includes:
[0039] S321, apply ChatGPT to perform reasoning analysis on the innovation text to obtain the reasoning text of ChatGPT;
[0040] S322, inputting the inference text into the BERTopic model to obtain the topic features of the inference text;
[0041] S323. Design a redundant feature removal mechanism to remove redundant topic features of the reasoning text and obtain reasoning features.
[0042] Preferably, the S323 includes:
[0043] Based on the similarity algorithm, the similarity between the inferred text topic feature vector and the original text topic feature vector is calculated one by one to obtain the similarity calculation result;
[0044] A threshold β is set, and the inference text topic features are filtered according to the similarity calculation result, and redundant inference text topic features with similarity higher than the set threshold are removed to obtain the inference features composed of the remaining non-redundant topic features.
[0045] In a third aspect, the present invention provides a computer-readable storage medium storing a computer program for constructing innovative text features based on corporate disclosure reports, wherein the computer program enables a computer to execute the method for constructing innovative text features based on corporate disclosure reports as described above.
[0046] In a fourth aspect, the present invention provides an electronic device, comprising:
[0047] One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the programs include methods for executing the innovative text feature construction method based on corporate disclosure reports as described above.
[0048] (III) Beneficial effects
[0049] The present invention provides an innovative text feature construction method and system based on corporate disclosure reports. Compared with the prior art, it has the following beneficial effects:
[0050] The present invention designs a field-applicable innovation text extraction method based on corporate disclosure reports. By constructing a corpus of corporate disclosure reports in a specific field, an innovation dictionary applicable to the field is constructed based on the Word2Vec model, which achieves more accurate and effective extraction of innovation texts in disclosure reports in specific fields. This method improves the accuracy and effectiveness of extracting innovation texts from disclosure reports in specific fields, and helps to better understand and utilize field-related information. At the same time, through the innovation text reasoning feature construction method based on ChatGPT, the reasoning information that can be obtained based on the innovation text can be further mined, so that the multi-dimensional innovation text feature matrix finally constructed can represent the innovation information more accurately and completely. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the embodiments of the present invention 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 some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0052] Figure 1 A flowchart of a method for constructing innovative text features based on corporate disclosure reports provided by an embodiment of the present invention;
[0053] Figure 2 A flowchart of extracting innovative text based on enterprise disclosure reports in an embodiment of the present invention;
[0054] Figure 3 The flowchart of extracting innovative text reasoning features in an embodiment of the present invention. DETAILED DESCRIPTION
[0055] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention are clearly and completely described. 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.
[0056] The embodiment of the present application provides a method and system for constructing innovative text features based on enterprise disclosure reports, which solves the problem of insufficient accuracy and completeness of innovative text feature representation capabilities under current text feature construction technology, and realizes more accurate and effective extraction of innovative texts disclosed in reports in specific fields, thereby improving
[0057] The technical solution in the embodiment of the present application is to solve the above technical problems, and the overall idea is as follows:
[0058] The embodiment of the present invention develops a method for extracting innovative texts applicable to a field based on enterprise disclosure reports. By creating a corpus of enterprise disclosure reports in a specific field and using the Word2Vec model to construct an innovative dictionary applicable to the field, the accurate extraction of innovative texts in the disclosure reports is successfully achieved. Based on the innovative text, statistical features and thematic features are constructed to form an initial feature matrix of the innovative text; based on ChatGPT, a method for constructing inference features of innovative texts is proposed. The method uses the designed prompt information to guide ChatGPT to generate inference texts related to the innovative texts, extract the thematic features of the inference texts, and optimize the feature expression through a redundant feature removal mechanism to form an inference feature matrix of the innovative texts. Finally, the initial feature matrix of the innovative text and the inference feature matrix are integrated, and each feature is adaptively weighted based on the Transformer model to generate a multidimensional innovative text feature matrix. The embodiment of the present invention improves the accuracy, completeness and generalization of constructing innovative text features, provides a more excellent tool and system for the field of text mining, and provides strong support for research and application in related fields.
[0059] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0060] The embodiment of the present invention provides an innovative text feature construction method based on enterprise disclosure reports, such as Figure 1 As shown, the method includes:
[0061] S1. Obtain corporate disclosure reports in the target field;
[0062] S2. Extracting innovative text from the enterprise disclosure report based on a preset target field innovation dictionary, wherein the preset target field innovation dictionary is constructed by a Word2Vec model;
[0063] S3, obtaining innovative text features based on the innovative text; the innovative text features include initial features and inference features, wherein the process of obtaining the inference features includes: obtaining the inference text of the innovative text through ChatGPT and extracting the topic features of the inference text, removing redundant topic features in the inference text, and obtaining the inference features;
[0064] S4. Integrate the initial features and inference features, adaptively weight the utility of each feature based on the Transformer model, and generate a multi-dimensional innovative text feature matrix.
[0065] The embodiment of the present invention designs a method for extracting innovative texts applicable to a field based on corporate disclosure reports. By constructing a corpus of corporate disclosure reports in a specific field, an innovative dictionary applicable to the field is constructed based on the Word2Vec model, thereby achieving more accurate and effective extraction of innovative texts in disclosure reports in specific fields. This method improves the accuracy and effectiveness of extracting innovative texts from disclosure reports in specific fields, and helps to better understand and utilize field-related information. At the same time, through the innovative text reasoning feature construction method based on ChatGPT, the reasoning information that may be obtained based on the innovative text can be further mined, so that the multi-dimensional innovative text feature matrix finally constructed can represent the innovative information more accurately and completely.
[0066] The following is a detailed description of each step:
[0067] In step S1, the enterprise disclosure reports of the target field are obtained. The specific implementation process is as follows:
[0068] The embodiments of the present invention take the Internet industry as the target field.
[0069] In an embodiment of the present invention, a web crawler is used to crawl corporate disclosure reports in the Internet industry from a target website. This process can be roughly divided into the following steps:
[0070] First, determine the target website and webpage structure to be crawled: for example, you can choose financial regulatory agencies, corporate official websites, etc. as target websites for data crawling, and you need to enter the corresponding area, select the report type, and enter the query conditions to obtain the download link or content of the target report;
[0071] Then, write a web crawler program: According to the web page structure of the target website, write a web crawler program, use Python and other programming languages and related web crawler tool libraries (such as requests, BeautifulSoup4, etc.), simulate user login, search, page turning and other operations, and obtain the download link or content of the target disclosure report;
[0072] Finally, the disclosure report is cleaned and stored: Since the data captured by the web crawler may contain duplication, invalidity, garbled characters and other problems, it needs to be cleaned and deduplicated, and the cleaned disclosure report is stored in the database.
[0073] In step S2, the enterprise disclosure report is extracted to obtain innovative text based on a preset target field innovation dictionary, where the preset target field innovation dictionary is constructed using a Word2Vec model. The specific implementation process is as follows:
[0074] In the embodiment of the present invention, the innovation dictionary is first constructed using the corporate disclosure report corpus of the Internet industry, and then the innovation text in the corporate disclosure report is extracted based on the innovation dictionary. Figure 2 ,The specific steps for extracting innovative texts are:
[0075] S21. By manually reading the disclosure reports of Internet industry enterprises, we can develop an innovative seed word set W that describes the innovation-related information of Internet enterprises. IS ={Innovation, big data, artificial intelligence, Internet of Things, cloud computing, e-commerce}.
[0076] S22. Constructing the enterprise disclosure report corpus D based on the obtained enterprise disclosure reports. Specifically:
[0077] In an embodiment of the present invention, it is necessary to first extract text data from corporate disclosure reports and preprocess the text data, including operations such as word segmentation and stop word removal, and then construct a corporate disclosure report corpus for the Internet industry.
[0078] S23. Use the Word2Vec model to train the corporate disclosure corpus D and obtain the word vector V corresponding to each word in D. W Specifically:
[0079] For the same concept or thing, companies often use multiple semantically similar words to describe it in disclosure reports, so it is necessary to expand the innovative seed word set with similar words. Specifically, the Word2Vec CBOW model is used to train the corporate disclosure corpus D to obtain the vector representation V of the word W ={v(w1),v(w2),......,v(w j )}, CBOW model:
[0080]
[0081] In the formula, w represents the Chinese vocabulary, Context(w) represents the context of the vocabulary, and by maximizing the above objective function, we can finally get the Word2Vec word vector V corresponding to each vocabulary in D: W .
[0082] S24, based on the word vector V W , computing the innovative seed word set W IS The cosine similarity between each innovative seed word and other words in the word list is calculated, and the words with similarity to the seed word greater than the threshold α = 0.9 are selected to obtain the similar word set W. SW ={intelligent customer service, smart home, 5G, cloud storage, blockchain, ...}, merge the innovative seed word set and the similar word set to obtain the innovative dictionary W applicable to the Internet industryIK =W IS ∪W SW .
[0083] S25. Traverse the Innovation Dictionary W IK The innovation word in the report is constructed to construct a regular expression to match the innovation sentence in the enterprise disclosure report and extract it to obtain the innovation text. The following is a regular expression constructed in an embodiment of the present invention:
[0084] [^.]*Innovation[^.]*[.]
[0085] This regular expression can be used to match sentences containing the word "innovation" in corporate disclosure reports, such as: "We remain committed to innovation and continue to promote the development of technology and business.", "We firmly believe that innovation is the key to promoting the sustainable development of the company. We will continue to increase investment in innovation and work with partners to create a better Internet future.", etc.
[0086] In step S3, the innovative text features are obtained based on the innovative text; the innovative text features include initial features and inference features, wherein the process of obtaining the inference features includes: obtaining the inference text of the innovative text through ChatGPT and extracting the topic features of the inference text, removing the redundant topic features in the inference text, and obtaining the inference features. The specific implementation process is as follows:
[0087] In an embodiment of the present invention, a method for constructing innovative text features is designed. First, an initial feature is constructed based on the innovative text, and the initial feature includes the statistical features and thematic features of the innovative text; then, a method for constructing inference features based on ChatGPT is proposed, which uses ChatGPT to obtain the inference text of the innovative text and extract the thematic features of the inference text, and then removes the redundant thematic features of the inference text explicitly through a redundant feature removal mechanism to obtain the inference features. The specific steps for constructing the innovative text features are:
[0088] S31. Acquire initial features based on the innovative text; the initial features include statistical features and subject features of the innovative text.
[0089] S311. Based on the innovative text, obtain statistical features of the innovative text. In the embodiment of the present invention, the text features such as the number of sentences, sentence length, and digital content of each innovative text are calculated as statistical features of the innovative text. Of course, in different tasks, users can also add other statistical features according to actual needs, such as word frequency, sentiment, readability, etc.
[0090] S312, input the innovative text into the BERTopic model to obtain the topic features of the innovative text. In the embodiment of the present invention, the nr_topics parameter value of the BERTopic model is set to "auto", so that BERTopic automatically iterates to generate topics and ensures that the similarity between topics is appropriate.
[0091] S32. Based on the innovative text, obtain reasoning features using a reasoning feature construction method based on ChatGPT. Figure 3 ,The specific steps of constructing innovative text reasoning features are:
[0092] S321. Guide ChatGPT to perform reasoning analysis on the innovative text based on the designed prompt information, and obtain the reasoning text output by ChatGPT.
[0093] First, a prompt message is designed to guide ChatGPT to analyze and reason about the innovative text. The prompt message designed in the embodiment of the present invention is as follows:
[0094] “Please play the role of an analyst. We will provide you with some innovative texts from disclosure reports of Internet companies. We hope that you can objectively analyze and infer the innovative information contained in them from different perspectives, and infer the potential impact of this innovative information on the company’s future development.”
[0095] Enter the above prompt information and innovative text in ChatGPT to obtain the inference text output by ChatGPT.
[0096] S322: Input the inference text into the BERTopic model, set the nr_topics parameter value to "auto", and obtain the topic features of the inference text.
[0097] S323. Remove redundant topic features of the reasoning text through a redundant feature removal mechanism to obtain reasoning features.
[0098] In the embodiment of the present invention, firstly, based on the cosine similarity algorithm, the similarity between the inference text theme features and the innovation text theme features is calculated one by one. The cosine similarity algorithm is as follows:
[0099]
[0100] Among them, Similarity i,j represents the cosine similarity between the inference text topic feature i and the innovation text topic feature j, v(IF i ) represents the vector representation of the inference text topic feature i, v(OR j ) represents the vector representation of the innovative text theme feature j, ‖v(IF i )‖ represents v(IFi ) modulus, ||v(OR j )|| means v(OR j ) model.
[0101] According to the cosine similarity calculation results, the inference text topic features are filtered by setting the threshold β = 0.8. Specifically, if Similarity i,j >0.8, it is considered that most of the information reflected by the inference text topic feature i has been represented in the innovation text topic feature j, that is, the inference text topic feature i does not provide new information for inference, so the inference text topic feature i is judged as a redundant feature and removed. After removing the redundant inference text topic features with similarity higher than the set threshold, the inference features composed of the remaining non-redundant topic features are obtained.
[0102] In step S4, the initial features and inference features are integrated, and the utility of each feature is adaptively weighted based on the Transformer model to generate the final multi-dimensional innovative text feature matrix. The specific implementation process is as follows:
[0103] In the embodiment of the present invention, the initial features and the inference features are fused by splicing, and after being input into the Transformer model, the final multi-dimensional innovation text feature matrix Innovation_Matrix is generated.
[0104] So far, the entire process of the text feature construction method based on the enterprise disclosure report of the embodiment of the present invention has been completed.
[0105] In the embodiment of the present invention, the innovation text feature matrix Innovation_Matrix is the final extracted text feature matrix, which can not only characterize the explicit information contained in the innovation text of the disclosure report itself, but also contains the implicit reasoning information of the innovation text.
[0106] The embodiment of the present invention also provides an innovative text feature construction system based on enterprise disclosure reports, the system comprising:
[0107] The report acquisition module is used to execute S1 and obtain corporate disclosure reports in the target field;
[0108] An innovation text extraction module, used to execute S2, extract innovation text from the enterprise disclosure report based on a preset target domain innovation dictionary, wherein the preset target domain innovation dictionary is constructed by a Word2Vec model;
[0109] An innovative text feature acquisition module is used to execute S3 and acquire innovative text features based on the innovative text; the innovative text features include initial features and inference features, wherein the inference feature acquisition process includes: acquiring the inference text of the innovative text through ChatGPT and extracting the topic features of the inference text, removing redundant topic features in the inference text, and obtaining the inference features;
[0110] The innovative text feature matrix generation module is used to execute S4, fuse the initial features and inference features, and adaptively weight the utility of each feature based on the Transformer model to generate a multi-dimensional innovative text feature matrix.
[0111] It can be understood that the innovative text feature construction system based on corporate disclosure reports provided by the embodiment of the present invention corresponds to the above-mentioned innovative text feature construction method based on corporate disclosure reports. The explanations, examples, beneficial effects and other parts of the relevant contents can refer to the corresponding contents in the innovative text feature construction method based on corporate disclosure reports, and will not be repeated here.
[0112] An embodiment of the present invention also provides a computer-readable storage medium storing a computer program for constructing innovative text features based on corporate disclosure reports, wherein the computer program enables a computer to execute the method for constructing innovative text features based on corporate disclosure reports as described above.
[0113] An embodiment of the present invention further provides an electronic device, including:
[0114] one or more processors;
[0115] Memory; and
[0116] One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the programs including methods for executing the innovative text feature construction method based on corporate disclosure reports as described above.
[0117] In summary, compared with the prior art, the present invention has the following beneficial effects:
[0118] 1. The embodiment of the present invention designs a method for extracting innovative texts applicable to a field based on corporate disclosure reports. By building a corpus of corporate disclosure reports in a specific field, an innovative dictionary applicable to the field is constructed based on the Word2Vec model, thereby achieving more accurate and effective extraction of innovative texts in disclosure reports in specific fields. This method improves the accuracy and effectiveness of extracting innovative texts from disclosure reports in specific fields, and helps to better understand and utilize field-related information. At the same time, through the innovative text reasoning feature construction method based on ChatGPT, the reasoning information that may be obtained based on the innovative text can be further mined, so that the multi-dimensional innovative text feature matrix finally constructed can represent the innovative information more accurately and completely.
[0119] 2. The embodiment of the present invention integrates the initial feature matrix and the inference feature matrix of the innovative text, and based on the Transformer model, adaptively weights the utility of each feature to generate a multidimensional innovative text feature matrix. This method can adjust the differential weights of the multidimensional innovative text features based on the actual needs of different subsequent tasks, thereby improving the flexibility and generalization of the innovative text feature matrix when used for subsequent tasks.
[0120] It should be noted that, in this article, 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 "include", "comprise" 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, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0121] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for constructing innovative text features based on corporate disclosure reports, characterized in that: include: S1. Obtain corporate disclosure reports in the target field; S2. Extracting innovative text from the enterprise disclosure report based on a preset target field innovation dictionary, wherein the preset target field innovation dictionary is constructed by a Word2Vec model; S3, obtaining innovative text features based on the innovative text; the innovative text features include initial features and inference features, wherein the process of obtaining the inference features includes: obtaining the inference text of the innovative text through ChatGPT and extracting the topic features of the inference text, removing redundant topic features in the inference text, and obtaining the inference features; S4, integrating the initial features and inference features, adaptively weighting the utility of each feature based on the Transformer model, and generating a multi-dimensional innovative text feature matrix; Wherein, the S2 includes: S21. Formulate a set of innovation seed words that describe the innovation-related information of enterprises in the target field; S22. Constructing a corporate disclosure report corpus based on the obtained corporate disclosure reports; S23, using the Word2Vec model to train the corporate disclosure corpus and represent the words in the corporate disclosure reports as word vectors containing contextual semantic information; S24, based on the word vector, calculating the cosine similarity between each innovative seed word in the innovative seed word set and other words, screening out words whose similarity to the seed word is greater than a set threshold α, obtaining a similar word set of the innovative seed word, and combining it with the innovative seed word set to obtain an innovative dictionary; S25, traversing the innovation words in the innovation dictionary, identifying and extracting the innovation sentences in the enterprise disclosure report, and obtaining the innovation text; The initial features include statistical features and thematic features of the innovative text; The method of obtaining the inference text of the innovative text through ChatGPT and extracting the subject features of the inference text, removing the redundant subject features in the inference text, and obtaining the inference features includes: S321, apply ChatGPT to perform reasoning analysis on the innovation text to obtain the reasoning text of ChatGPT; S322, inputting the inference text into the BERTopic model to obtain the topic features of the inference text; S323. Design a redundant feature removal mechanism to remove redundant topic features of the reasoning text and obtain reasoning features.
2. The innovative text feature construction method based on enterprise disclosure reports according to claim 1 is characterized in that: The S323 includes: Based on the similarity algorithm, the similarity between the inferred text topic feature vector and the original text topic feature vector is calculated one by one to obtain the similarity calculation result; A threshold β is set, and the inference text topic features are filtered according to the similarity calculation result, and redundant inference text topic features with similarity higher than the set threshold are removed to obtain the inference features composed of the remaining non-redundant topic features.
3. An innovative text feature construction system based on corporate disclosure reports, characterized in that: include: The report acquisition module is used to execute S1 and obtain corporate disclosure reports in the target field; An innovation text extraction module, used to execute S2, extract innovation text from the enterprise disclosure report based on a preset target domain innovation dictionary, wherein the preset target domain innovation dictionary is constructed by a Word2Vec model; An innovative text feature acquisition module is used to execute S3 and acquire innovative text features based on the innovative text; the innovative text features include initial features and inference features, wherein the inference feature acquisition process includes: acquiring the inference text of the innovative text through ChatGPT and extracting the topic features of the inference text, removing redundant topic features in the inference text, and obtaining the inference features; The innovative text feature matrix generation module is used to execute S4, fuse the initial features and inference features, and adaptively weight each feature utility based on the Transformer model to generate a multi-dimensional innovative text feature matrix; Wherein, the S2 includes: S21. Formulate a set of innovation seed words that describe the innovation-related information of enterprises in the target field; S22. Constructing a corporate disclosure report corpus based on the obtained corporate disclosure reports; S23, using the Word2Vec model to train the corporate disclosure corpus and represent the words in the corporate disclosure reports as word vectors containing contextual semantic information; S24, based on the word vector, calculating the cosine similarity between each innovative seed word in the innovative seed word set and other words, screening out words whose similarity to the seed word is greater than a set threshold α, obtaining a similar word set of the innovative seed word, and combining it with the innovative seed word set to obtain an innovative dictionary; S25, traversing the innovation words in the innovation dictionary, identifying and extracting the innovation sentences in the enterprise disclosure report, and obtaining the innovation text; The initial features include statistical features and thematic features of the innovative text; The method of obtaining the inference text of the innovative text through ChatGPT and extracting the subject features of the inference text, removing the redundant subject features in the inference text, and obtaining the inference features includes: S321, apply ChatGPT to perform reasoning analysis on the innovation text to obtain the reasoning text of ChatGPT; S322, inputting the inference text into the BERTopic model to obtain the topic features of the inference text; S323. Design a redundant feature removal mechanism to remove redundant topic features of the reasoning text and obtain reasoning features.
4. The innovative text feature construction system based on enterprise disclosure reports as claimed in claim 3, characterized in that: The S323 includes: Based on the similarity algorithm, the similarity between the inferred text topic feature vector and the original text topic feature vector is calculated one by one to obtain the similarity calculation result; A threshold β is set, and the inference text topic features are filtered according to the similarity calculation result, and redundant inference text topic features with similarity higher than the set threshold are removed to obtain the inference features composed of the remaining non-redundant topic features.
5. A computer-readable storage medium, characterized in that: It stores a computer program for constructing innovative text features based on enterprise disclosure reports, wherein the computer program enables a computer to execute the method for constructing innovative text features based on enterprise disclosure reports as described in any one of claims 1 to 2.
6. An electronic device, characterized in that: include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the programs include a method for executing the innovative text feature construction method based on corporate disclosure reports as described in any one of claims 1 to 2.
Citation Information
Patent Citations
Design knowledge fusion reasoning method supporting rapid product innovation
CN111738445A
Generative common sense reasoning method based on knowledge graph
CN114817574A
