Power entity extraction method and system based on dynamic weight

By constructing a vocabulary co-occurrence graph and iteratively calculating vocabulary node weights in the power entity extraction technology, the problems of low computational efficiency and insufficient migration capabilities in the existing technology are solved, and more efficient power entity extraction accuracy and real-time performance are achieved.

CN118734854APending Publication Date: 2024-10-01HUNAN ELECTRIC POWER DISPATCH HIGH TECH DEV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410927607.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing power entity extraction technology has low computational efficiency when processing large-scale data and is difficult to meet real-time requirements, and rule matching and traditional machine learning methods are insufficient in handling complexity and migration to new fields.

Method used

A power entity extraction method based on dynamic weights is adopted. By constructing a vocabulary co-occurrence graph, iteratively calculates the weight of vocabulary nodes based on the preset algorithm and power entity dictionary, and determines whether the weight is greater than the threshold to set the power entity and improve the accuracy of entity extraction.

Benefits of technology

It improves the accuracy of power entity extraction, makes vocabulary relationships in power field texts more prominent, improves computing efficiency, and can process large-scale data more effectively.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118734854A_ABST
    Figure CN118734854A_ABST
Patent Text Reader

Abstract

The invention discloses a dynamic weight-based power entity extraction method and system. The method comprises the following steps of: obtaining text data in a power field; preprocessing the text data to obtain standard text data; constructing a vocabulary co-occurrence graph based on the standard text data; based on a preset algorithm, obtaining the weight of each vocabulary node according to a preset electric power entity dictionary and the structure of the vocabulary co-occurrence graph; and judging whether the weight of the vocabulary node is greater than a preset weight threshold, and if so, setting the corresponding vocabulary node as the power entity. According to the method, the vocabulary co-occurrence graph is taken as a reference, different initial weights are given to different vocabulary nodes, and the edge weight of the co-occurrence relation is adjusted, so that the vocabulary relation appearing in the power field text is more prominent, and the entity extraction accuracy is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power data processing, and more specifically, to a method and system for extracting power entities based on dynamic weights. Background Art

[0002] Existing power entity extraction technologies are mainly based on rule matching or simple traditional machine learning methods. These methods have certain limitations in entity extraction. For example, rule matching methods rely on manually written rules and are difficult to cope with the diversity and complexity of the corpus; although machine learning methods can automatically learn features, they require a large amount of labeled data and have weak migration capabilities in new fields; in addition, existing technologies have low computational efficiency when processing large-scale data and are difficult to meet real-time requirements. Summary of the invention

[0003] In view of the above problems, an object of the present invention is to provide a method and system for power entity extraction based on dynamic weights, which can more effectively improve the accuracy of entity extraction.

[0004] A first aspect of the present invention provides a method for extracting power entities based on dynamic weights, comprising:

[0005] Get text data in the power sector;

[0006] Preprocessing the text data to obtain standard text data;

[0007] Based on standard text data, construct a vocabulary co-occurrence graph;

[0008] Based on a preset algorithm, the weight of each vocabulary node is obtained according to the structure of the preset power entity dictionary and the vocabulary co-occurrence graph;

[0009] It is determined whether the weight of the vocabulary node is greater than a preset weight threshold, and if so, the corresponding vocabulary node is set as an electric entity.

[0010] In this solution, the step of constructing a vocabulary co-occurrence graph based on standard text data specifically includes:

[0011] Extracting electricity vocabulary from standard text data;

[0012] Classify the electric vocabulary according to preset rules to obtain different types of electric vocabulary;

[0013] Combine any two different types of power vocabulary to obtain a power vocabulary combination and its type combination;

[0014] According to the power vocabulary combination and its type combination, the preset window size table is searched to obtain the window size corresponding to the power vocabulary combination;

[0015] According to the window size of the electric power vocabulary combination multiplied by the preset distance weight coefficient, the maximum distance of the corresponding electric power vocabulary combination co-occurring into a valid relationship is obtained;

[0016] The maximum distance with the co-occurrence of power vocabulary combinations as a valid relationship is set as the position distance of the corresponding two power vocabulary in the vocabulary co-occurrence graph.

[0017] In this solution, the step of obtaining the weight of each vocabulary node specifically includes:

[0018] Extracting electricity vocabulary from the vocabulary co-occurrence graph;

[0019] According to the electric power vocabulary in the vocabulary co-occurrence graph, the preset electric power entity dictionary is searched to obtain the initial weight of the corresponding electric power vocabulary;

[0020] Set the weight of the vocabulary node to P(a i ), the iterative formula of its weight is:

[0021]

[0022] where a n represents the vocabulary node numbered n, k represents the damping coefficient, d mn represents the edge weight between two vocabulary nodes numbered n and m, A(a n ) represents the initial weight of the vocabulary node numbered n, n, m, j∈i and n≠m≠j, i is the set of all vocabulary node numbers.

[0023] In this solution, the step of obtaining the edge weights between the vocabulary nodes specifically includes:

[0024] Get the co-occurrence frequency of two power words in the power field;

[0025] According to the two corresponding electric power words, the preset professional correlation weight distribution table is searched to obtain the distribution weight coefficients of the two corresponding electric power words;

[0026] The co-occurrence frequency of the two power words in the power field is multiplied by the distribution weight coefficient corresponding to the two power words to obtain the edge weights corresponding to the two power words.

[0027] In this solution, after obtaining the weight of each vocabulary node, the method further includes: normalizing the weights of all vocabulary nodes after each iteration.

[0028] In this solution, after obtaining the weight of each vocabulary node, the following steps are further included:

[0029] Extract the weight of each vocabulary node before iteration;

[0030] Subtract the weight of each vocabulary node from the weight of the corresponding vocabulary node before iteration to get the weight difference;

[0031] The weight differences of all vocabulary nodes are accumulated to obtain the total change of the weights of all vocabulary nodes;

[0032] If the total change of all vocabulary node weights is less than a preset change threshold, the iterative calculation process of the vocabulary node weights ends.

[0033] In this solution, after obtaining the weight of each vocabulary node, it also includes:

[0034] Record the number of times the weight of each vocabulary node is iteratively calculated, recorded as the number of iterations;

[0035] It is determined whether the number of iterations is greater than a preset iteration number threshold. If so, the iterative calculation process of the weight of the vocabulary node ends.

[0036] A second aspect of the present invention provides a power entity extraction system based on dynamic weights, comprising a memory and a processor, wherein the memory stores a program of a power entity extraction method based on dynamic weights, and when the program of the power entity extraction method based on dynamic weights is executed by the processor, the following steps are implemented:

[0037] Get text data in the power sector;

[0038] Preprocessing the text data to obtain standard text data;

[0039] Based on standard text data, construct a vocabulary co-occurrence graph;

[0040] Based on a preset algorithm, the weight of each vocabulary node is obtained according to the structure of the preset power entity dictionary and the vocabulary co-occurrence graph;

[0041] It is determined whether the weight of the vocabulary node is greater than a preset weight threshold, and if so, the corresponding vocabulary node is set as an electric entity.

[0042] In this solution, the step of constructing a vocabulary co-occurrence graph based on standard text data specifically includes:

[0043] Extracting electricity vocabulary from standard text data;

[0044] Classify the electric vocabulary according to preset rules to obtain different types of electric vocabulary;

[0045] Combine any two different types of power vocabulary to obtain a power vocabulary combination and its type combination;

[0046] According to the power vocabulary combination and its type combination, the preset window size table is searched to obtain the window size corresponding to the power vocabulary combination;

[0047] According to the window size of the electric power vocabulary combination multiplied by the preset distance weight coefficient, the maximum distance of the corresponding electric power vocabulary combination co-occurring into a valid relationship is obtained;

[0048] The maximum distance with the co-occurrence of power vocabulary combinations as a valid relationship is set as the position distance of the corresponding two power vocabulary in the vocabulary co-occurrence graph.

[0049] In this solution, the step of obtaining the weight of each vocabulary node specifically includes:

[0050] Extracting electricity vocabulary from the vocabulary co-occurrence graph;

[0051] According to the electric power vocabulary in the vocabulary co-occurrence graph, the preset electric power entity dictionary is searched to obtain the initial weight of the corresponding electric power vocabulary;

[0052] Set the weight of the vocabulary node to P(a i ), the iterative formula of its weight is:

[0053]

[0054] where a n represents the vocabulary node numbered n, k represents the damping coefficient, d mn represents the edge weight between two vocabulary nodes numbered n and m, A(a n ) represents the initial weight of the vocabulary node numbered n, n, m, j∈i and n≠m≠j, i is the set of all vocabulary node numbers.

[0055] The present invention discloses a method and system for extracting electric power entities based on dynamic weights. The present invention uses a vocabulary co-occurrence graph as a benchmark, assigns different initial weights to different vocabulary nodes, and adjusts the edge weights of the co-occurrence relationship, so that the vocabulary relationship appearing in the electric power field text is more prominent, further improving the accuracy of entity extraction. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 A flow chart of a method for extracting power entities based on dynamic weights according to the present invention is shown;

[0057] Figure 2 A block diagram of a power entity extraction system based on dynamic weights according to the present invention is shown. DETAILED DESCRIPTION

[0058] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0059] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.

[0060] Figure 1 A flow chart of a method for extracting power entities based on dynamic weights according to the present invention is shown.

[0061] like Figure 1 As shown, the present invention discloses a method for extracting power entities based on dynamic weights, comprising:

[0062] S101, obtaining text data in the field of power;

[0063] S102, preprocessing the text data to obtain standard text data;

[0064] S103, constructing a vocabulary co-occurrence graph based on standard text data;

[0065] S104, based on a preset algorithm, according to the structure of the preset power entity dictionary and the vocabulary co-occurrence graph, obtaining the weight of each vocabulary node;

[0066] S105, determining whether the weight of the vocabulary node is greater than a preset weight threshold, and if so, setting the corresponding vocabulary node as an electric power entity.

[0067] According to an embodiment of the present invention, text data in the electric power field is collected, and the text data is preprocessed, including word segmentation, removal of stop words, part-of-speech tagging, etc., to obtain standard text data, and the preset electric power entity dictionary stores a large number of electric power vocabulary in the electric power field, as well as the initial weights of the corresponding electric power vocabulary; the preset algorithm is an iterative formula of weights, and further, if no lexical node has a weight greater than a preset weight threshold, the weights of the lexical nodes are iteratively calculated using the iterative formula of weights until a lexical node is found with a weight greater than the preset weight threshold; further, when there is a lexical node that is an electric power entity, the number of corresponding electric entities is recorded, and when the number of electric entities is greater than or equal to the preset number threshold, the iterative formula of the corresponding weight stops calculating.

[0068] If the weight of the vocabulary node is greater than the preset weight threshold

[0069] According to an embodiment of the present invention, the step of constructing a vocabulary co-occurrence graph based on standard text data specifically includes:

[0070] Extracting electricity vocabulary from standard text data;

[0071] Classify the electric vocabulary according to preset rules to obtain different types of electric vocabulary;

[0072] Combine any two different types of power vocabulary to obtain a power vocabulary combination and its type combination;

[0073] According to the power vocabulary combination and its type combination, the preset window size table is searched to obtain the window size corresponding to the power vocabulary combination;

[0074] According to the window size of the electric power vocabulary combination multiplied by the preset distance weight coefficient, the maximum distance of the corresponding electric power vocabulary combination co-occurring into a valid relationship is obtained;

[0075] The maximum distance with the co-occurrence of power vocabulary combinations as a valid relationship is set as the position distance of the corresponding two power vocabulary in the vocabulary co-occurrence graph.

[0076] It should be noted that the preset window size table stores power vocabulary combinations composed of various types of power vocabulary and corresponding window sizes. For example, an ab-type power vocabulary combination composed of type b power vocabulary and type c power vocabulary corresponds to one window size, and a bb-type power vocabulary combination composed of type b power vocabulary and type b power vocabulary corresponds to one window size. The maximum distance at which a word and other words co-occur as a valid relationship is defined by the preset distance weight coefficient and window size.

[0077] According to an embodiment of the present invention, the step of obtaining the weight of each vocabulary node specifically includes:

[0078] Extracting electricity vocabulary from the vocabulary co-occurrence graph;

[0079] According to the electric power vocabulary in the vocabulary co-occurrence graph, the preset electric power entity dictionary is searched to obtain the initial weight of the corresponding electric power vocabulary;

[0080] Set the weight of the vocabulary node to P(a i ), the iterative formula of its weight is:

[0081]

[0082] where a n represents the vocabulary node numbered n, k represents the damping coefficient, d mn represents the edge weight between two vocabulary nodes numbered n and m, A(a n) represents the initial weight of the vocabulary node numbered n, n, m, j∈i and n≠m≠j, i is the set of all vocabulary node numbers.

[0083] It should be noted that k represents the damping coefficient, for example, it is set to 0.85, which is used to simulate the important transmission probability of power vocabulary in text data; the initial weight of the power vocabulary is associated with the type of the corresponding power vocabulary classification. For example, if the type of the power vocabulary is professional terminology, the corresponding initial weight is larger; if the type of the corresponding power vocabulary is ordinary power vocabulary, the corresponding initial weight is smaller, and the initial weight is greater than 0.

[0084] According to an embodiment of the present invention, the step of acquiring the edge weights between the vocabulary nodes specifically includes:

[0085] Get the co-occurrence frequency of two power words in the power field;

[0086] According to the two corresponding electric power words, the preset professional correlation weight distribution table is searched to obtain the distribution weight coefficients of the two corresponding electric power words;

[0087] The co-occurrence frequency of the two power words in the power field is multiplied by the distribution weight coefficient corresponding to the two power words to obtain the edge weights corresponding to the two power words.

[0088] It should be noted that each edge in the vocabulary co-occurrence graph is set according to the co-occurrence frequency of power vocabulary in the power field and the weight assigned to reflect the set professional relevance. For example, if two power vocabulary often appear together in power fault reports, the corresponding two power vocabulary will be assigned better weights.

[0089] According to the embodiment of the present invention, after obtaining the weight of each vocabulary node, the method further includes: normalizing the weights of all vocabulary nodes after each iteration.

[0090] It should be noted that after each iteration, the weights of all vocabulary nodes are normalized to obtain the normalized value of the power vocabulary weight, and the normalized value of the power vocabulary weight is set as the initial weight of the power vocabulary in the next iterative calculation.

[0091] According to an embodiment of the present invention, after obtaining the weight of each vocabulary node, the method further includes:

[0092] Extract the weight of each vocabulary node before iteration;

[0093] Subtract the weight of each vocabulary node from the weight of the corresponding vocabulary node before iteration to get the weight difference;

[0094] The weight differences of all vocabulary nodes are accumulated to obtain the total change of the weights of all vocabulary nodes;

[0095] If the total change of all vocabulary node weights is less than a preset change threshold, the iterative calculation process of the vocabulary node weights ends.

[0096] It should be noted that after each iterative calculation, the total change of all vocabulary node weights is calculated, and the total change of all vocabulary node weights is determined by a preset change threshold to optimize the number of iterations.

[0097] According to an embodiment of the present invention, after obtaining the weight of each vocabulary node, the method further includes:

[0098] Record the number of times the weight of each vocabulary node is iteratively calculated, recorded as the number of iterations;

[0099] It is determined whether the number of iterations is greater than a preset iteration number threshold. If so, the iterative calculation process of the weight of the vocabulary node ends.

[0100] It should be noted that the number of iterations is limited by a preset iteration number threshold. For example, if the preset iteration number threshold is 6 times, the number of iterative calculations of the weight of the vocabulary node this time cannot exceed 6 times.

[0101] Figure 2 A block diagram of a power entity extraction system based on dynamic weights according to the present invention is shown.

[0102] like Figure 2 As shown, the second aspect of the present invention provides a power entity extraction system 2 based on dynamic weights, comprising a memory 21 and a processor 22, wherein the memory stores a program of a power entity extraction method based on dynamic weights, and when the program of the power entity extraction method based on dynamic weights is executed by the processor, the following steps are implemented:

[0103] Get text data in the power sector;

[0104] Preprocessing the text data to obtain standard text data;

[0105] Based on standard text data, construct a vocabulary co-occurrence graph;

[0106] Based on a preset algorithm, the weight of each vocabulary node is obtained according to the structure of the preset power entity dictionary and the vocabulary co-occurrence graph;

[0107] It is determined whether the weight of the vocabulary node is greater than a preset weight threshold, and if so, the corresponding vocabulary node is set as an electric entity.

[0108] In this solution, the step of constructing a vocabulary co-occurrence graph based on standard text data specifically includes:

[0109] Extracting electricity vocabulary from standard text data;

[0110] Classify the electric vocabulary according to preset rules to obtain different types of electric vocabulary;

[0111] Combine any two different types of power vocabulary to obtain a power vocabulary combination and its type combination;

[0112] According to the power vocabulary combination and its type combination, the preset window size table is searched to obtain the window size corresponding to the power vocabulary combination;

[0113] According to the window size of the electric power vocabulary combination multiplied by the preset distance weight coefficient, the maximum distance of the corresponding electric power vocabulary combination co-occurring into a valid relationship is obtained;

[0114] The maximum distance with the co-occurrence of power vocabulary combinations as a valid relationship is set as the position distance of the corresponding two power vocabulary in the vocabulary co-occurrence graph.

[0115] In this solution, the step of obtaining the weight of each vocabulary node specifically includes:

[0116] Extracting electricity vocabulary from the vocabulary co-occurrence graph;

[0117] According to the electric power vocabulary in the vocabulary co-occurrence graph, the preset electric power entity dictionary is searched to obtain the initial weight of the corresponding electric power vocabulary;

[0118] Set the weight of the vocabulary node to P(a i ), the iterative formula of its weight is:

[0119]

[0120] where a n represents the vocabulary node numbered n, k represents the damping coefficient, d mn represents the edge weight between two vocabulary nodes numbered n and m, A(a n ) represents the initial weight of the vocabulary node numbered n, n, m, j∈i and n≠m≠j, i is the set of all vocabulary node numbers.

[0121] The present invention discloses a method and system for extracting electric power entities based on dynamic weights. The present invention uses a vocabulary co-occurrence graph as a benchmark, assigns different initial weights to different vocabulary nodes, and adjusts the edge weights of the co-occurrence relationship, so that the vocabulary relationship appearing in the electric power field text is more prominent, further improving the accuracy of entity extraction.

[0122] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0123] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0124] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0125] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiments; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks or optical disks, and other media that can store program codes.

[0126] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.

Claims

1. A method for extracting power entities based on dynamic weights, characterized in that: include: Get text data in the power sector; Preprocessing the text data to obtain standard text data; Based on standard text data, construct a vocabulary co-occurrence graph; Based on a preset algorithm, the weight of each vocabulary node is obtained according to the structure of the preset power entity dictionary and the vocabulary co-occurrence graph; It is determined whether the weight of the vocabulary node is greater than a preset weight threshold, and if so, the corresponding vocabulary node is set as an electric entity.

2. A method for extracting power entities based on dynamic weights according to claim 1, characterized in that: The step of constructing a vocabulary co-occurrence graph based on standard text data specifically includes: Extracting electricity vocabulary from standard text data; Classify the electric vocabulary according to preset rules to obtain different types of electric vocabulary; Combine any two different types of power vocabulary to obtain a power vocabulary combination and its type combination; According to the power vocabulary combination and its type combination, the preset window size table is searched to obtain the window size corresponding to the power vocabulary combination; According to the window size of the electric power vocabulary combination multiplied by the preset distance weight coefficient, the maximum distance of the corresponding electric power vocabulary combination co-occurring into a valid relationship is obtained; The maximum distance with the co-occurrence of power vocabulary combinations as a valid relationship is set as the position distance of the corresponding two power vocabulary in the vocabulary co-occurrence graph.

3. The method for extracting power entities based on dynamic weights according to claim 1, characterized in that: The step of obtaining the weight of each vocabulary node specifically includes: Extracting electricity vocabulary from the vocabulary co-occurrence graph; According to the electric power vocabulary in the vocabulary co-occurrence graph, the preset electric power entity dictionary is searched to obtain the initial weight of the corresponding electric power vocabulary; Set the weight of the vocabulary node to P(a i ), the iterative formula of its weight is: where a n represents the vocabulary node numbered n, k represents the damping coefficient, d mn represents the edge weight between two vocabulary nodes numbered n and m, A(a n ) represents the initial weight of the vocabulary node numbered n, n, m, j∈i and n≠m≠j, i is the set of all vocabulary node numbers.

4. A method for extracting power entities based on dynamic weights according to claim 3, characterized in that: The step of obtaining the edge weights between the vocabulary nodes specifically includes: Get the co-occurrence frequency of two power words in the power field; According to the two corresponding electric power words, the preset professional correlation weight distribution table is searched to obtain the distribution weight coefficients of the two corresponding electric power words; The co-occurrence frequency of the two power words in the power field is multiplied by the distribution weight coefficient corresponding to the two power words to obtain the edge weights corresponding to the two power words.

5. The method for extracting power entities based on dynamic weights according to claim 1, characterized in that: After obtaining the weight of each vocabulary node, the method further includes: normalizing the weights of all vocabulary nodes after each iteration.

6. The method for extracting power entities based on dynamic weights according to claim 1, characterized in that: After obtaining the weight of each vocabulary node, the method further includes: Extract the weight of each vocabulary node before iteration; Subtract the weight of each vocabulary node from the weight of the corresponding vocabulary node before iteration to get the weight difference; The weight differences of all vocabulary nodes are accumulated to obtain the total change of the weights of all vocabulary nodes; If the total change of all vocabulary node weights is less than a preset change threshold, the iterative calculation process of the vocabulary node weights ends.

7. The method for extracting power entities based on dynamic weights according to claim 1, characterized in that: After obtaining the weight of each vocabulary node, the method further includes: Record the number of times the weight of each vocabulary node is iteratively calculated, recorded as the number of iterations; It is determined whether the number of iterations is greater than a preset iteration number threshold. If so, the iterative calculation process of the weight of the vocabulary node ends.

8. A power entity extraction system based on dynamic weights, characterized in that: The invention comprises a memory and a processor, wherein the memory stores a program of a method for extracting power entities based on dynamic weights, and when the program of the method for extracting power entities based on dynamic weights is executed by the processor, the following steps are implemented: Get text data in the power sector; Preprocessing the text data to obtain standard text data; Based on standard text data, construct a vocabulary co-occurrence graph; Based on a preset algorithm, the weight of each vocabulary node is obtained according to the structure of the preset power entity dictionary and the vocabulary co-occurrence graph; It is determined whether the weight of the vocabulary node is greater than a preset weight threshold, and if so, the corresponding vocabulary node is set as an electric entity.

9. The power entity extraction system based on dynamic weight according to claim 8, characterized in that: The step of constructing a vocabulary co-occurrence graph based on standard text data specifically includes: Extracting electricity vocabulary from standard text data; Classify the electric vocabulary according to preset rules to obtain different types of electric vocabulary; Combine any two different types of power vocabulary to obtain a power vocabulary combination and its type combination; According to the power vocabulary combination and its type combination, the preset window size table is searched to obtain the window size corresponding to the power vocabulary combination; According to the window size of the electric power vocabulary combination multiplied by the preset distance weight coefficient, the maximum distance of the corresponding electric power vocabulary combination co-occurring into a valid relationship is obtained; The maximum distance with the co-occurrence of power vocabulary combinations as a valid relationship is set as the position distance of the corresponding two power vocabulary in the vocabulary co-occurrence graph.

10. The power entity extraction system based on dynamic weight according to claim 8, characterized in that: The step of obtaining the weight of each vocabulary node specifically includes: Extracting electricity vocabulary from the vocabulary co-occurrence graph; According to the electric power vocabulary in the vocabulary co-occurrence graph, the preset electric power entity dictionary is searched to obtain the initial weight of the corresponding electric power vocabulary; Set the weight of the vocabulary node to P(a i ), the iterative formula of its weight is: where a n represents the vocabulary node numbered n, k represents the damping coefficient, d mn represents the edge weight between two vocabulary nodes numbered n and m, A(a n ) represents the initial weight of the vocabulary node numbered n, n, m, j∈i and n≠m≠j, i is the set of all vocabulary node numbers.