A judicial information data field processing system
By designing a judicial information data field processing system, the problems of low efficiency of judicial data analysis and inaccurate rule recommendations are solved, and efficient and accurate judicial information processing and rule recommendations are achieved.
Patent Information
- Application Number
- CN202410721941.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-05
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-06-05
AI Technical Summary
The problems of low efficiency of judicial data analysis and inaccurate recommendation of judicial rules in the existing technology are time-consuming and labor-intensive and prone to errors, and cannot meet the efficient and accurate requirements of modern judicial work.
A judicial information data field processing system was designed, including judicial information acquisition module, signal analysis module, signal storage module, event analysis module, rule matching module and rule recommendation module. Through signal field analysis and rule matching, the minimum rule event and Judicial incidents, recommend applicable rules text to users, and improve data analysis efficiency and accuracy of rule recommendations.
Through the use of the system, the completeness and accuracy of information acquisition, the accuracy and efficiency of signal field analysis, and the accuracy of rule matching are improved, and the efficiency of judicial data analysis and judicial rule recommendations are improved.
Smart Images

Figure CN118297058B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of judicial data analysis, and in particular to a judicial information data field processing system. Background Art
[0002] With the rapid development of information technology, a large amount of case information data has accumulated in the judicial system. However, these data are often scattered in different databases with different formats, making them difficult to manage and analyze in a unified manner, which poses a huge challenge to judicial workers. Traditional manual sorting and analysis methods are not only time-consuming and laborious, but also prone to errors and cannot meet the requirements of modern judicial work for efficiency and accuracy. Therefore, it is particularly important to develop a system that can automatically identify, standardize and intelligently analyze judicial information data fields.
[0003] Chinese Patent Publication No.: CN110969017B discloses a judicial data processing method and system, the method comprising: obtaining case information of pending cases for which judicial data needs to be predicted, the judicial data including the crime, and the case information including the text information of the pending cases. The text information is used as the input of a pre-established crime prediction model to predict the legal provisions, and the predicted crime of the pending cases is obtained based on the legal provisions prediction results, wherein the crime prediction model is obtained by training a neural network model based on sample data and class labels. The judicial data processing method provided by the invention obtains a crime prediction model by pre-training a neural network model using the already disclosed judicial document data, and inputs the text information of the pending cases into the prediction model to predict the corresponding predicted crime, which can shorten the judgment time and improve the accuracy and efficiency of the judgment; it can be seen that the invention does not specifically analyze the process of predicting and analyzing the text information of the pending cases, and there are problems of low efficiency in judicial data analysis and inaccurate judicial rule recommendations to users. Summary of the invention
[0004] To this end, the present invention provides a judicial information data field processing system to overcome the problems of low efficiency in judicial data analysis and inaccurate judicial rule recommendations to users in the prior art.
[0005] To achieve the above-mentioned purpose, the present invention provides a judicial information data field processing system, comprising:
[0006] Judicial information acquisition module, used to acquire judicial information, rule text groups and pre-processing files;
[0007] A signal analysis module, used to select a corresponding rule text group according to the type of judicial case, and analyze the signal field of each rule text according to the selected rule text group, and the signal analysis module is also used to generate a minimum rule event according to the signal field of each rule text, and combine the minimum rule events into a rule event set of each rule text;
[0008] A signal storage module is used to store the rule event set and signal field of each rule text;
[0009] An event analysis module, used to perform signal field analysis on judicial text information according to the stored signal fields, obtain a judicial signal field group, and generate a judicial event according to the judicial signal field group;
[0010] A rule matching module is used to match the judicial events according to the rule event set of each stored rule text;
[0011] An applicable analysis module is used to analyze the applicable rule text of the judicial text information according to the rule matching results of the judicial event;
[0012] The rule recommendation module is used to recommend applicable rule texts to users based on the applicable rule text analysis results of judicial text information.
[0013] Furthermore, the signal analysis module is provided with a signal field analysis unit, which compares the vector inner product v(i, j) of each word with each preset inner product, and performs signal field analysis on the words in the preprocessing rule word group according to the comparison result, wherein:
[0014] When V1≤v(i,j)<V2, the signal field analysis unit determines that the word is an entity signal field;
[0015] When V3≤v(i,j)<V4, the signal field analysis unit determines that the word is a relational signal field;
[0016] when When the signal field analysis unit determines that the word is a non-signal field;
[0017] Among them, V1 is the first preset vector inner product, V2 is the second preset vector inner product, V3 is the third preset vector inner product, V4 is the fourth preset vector inner product, V1<V2, V3<V4.
[0018] Furthermore, the signal analysis module is further provided with an event generation unit, and the event generation unit generates a minimum rule event according to the signal field of each rule text;
[0019] The event generation unit inputs each entity signal field in the rule text signal field as an entity classification and each relationship signal field as a relationship classification into the pre-training model to extract logical events and obtain a minimum rule event;
[0020] The event generation unit combines the minimum rule events of each rule text into a rule event set B (i, d) of each rule text, wherein i represents the subscript of each rule text in the rule text group, d represents the subscript of the minimum rule event in the rule event set, and B (i, d) represents the dth minimum rule event in the rule event set of the i-th rule text.
[0021] Furthermore, the event analysis module is provided with a text segmentation unit, which segments the judicial text information according to a text stop word list to obtain a preprocessed text word group;
[0022] The text segmentation unit assigns word vectors to the pre-processed text word groups according to the pre-trained word vector file;
[0023] The text segmentation unit performs signal field analysis on the pre-processed text word group after the word vector is assigned according to the stored signal field, wherein:
[0024] When μ1<P<μ2, the text analysis unit determines that the word is a word similar to the signal field v(i,z), and uses the signal field v(i,z) as the judicial text signal field;
[0025] When P≥μ2 or P≤μ1, the text segmentation unit determines that the word is not a word similar to the signal field v(i,z), and does not perform judicial text signal field setting;
[0026] Wherein, P is the similarity index, set P = [V (c) - v (i, z)] / v (i, z), V (c) is the inner product of the word vector of the cth word in the preprocessed text word group, v (i, z) represents the zth signal field in the stored i-th rule text, μ1 is the first preset bias coefficient, μ2 is the second preset bias coefficient, μ1 < μ2;
[0027] The text segmentation unit combines the judicial text signal fields into a judicial signal field group.
[0028] Furthermore, the event analysis module is further provided with a self-attention adjustment unit, which calculates the attention index C (c, i, z) between each word in the preprocessed text word group and the stored signal field according to the preprocessed text word group after the word vector assignment. The calculation formula of the attention index C (c, i, z) is as follows:
[0029]
[0030] Where C(c,i,z) represents the attention index between the cth word in the preprocessed text word group and the zth signal field in the stored i-th rule text, Y is the total dimension of the word vector, V(z,y) represents the yth dimension word vector of the cth word in the preprocessed text word group, and v(i,z,y) represents the yth dimension word vector of the zth signal field in the stored i-th rule text;
[0031] The self-attention adjustment unit adjusts the signal field analysis process of the preprocessed text word group after the word vector assignment according to the calculation result of the attention index C (c, i, z), adjusts the similarity index P to P', and sets P'=[V (c) - v (i, z)] / v (i, z) × C (c, i, z).
[0032] Furthermore, the event analysis module is further provided with an optimization unit, which compares the recall rate α of the judicial text signal field with the recall rate threshold K, and optimizes the signal field adjustment process of the preprocessed text word group after the word vector assignment according to the comparison result, wherein:
[0033] When α<K, the optimization unit determines that the recall rate of the judicial text signal field is normal and does not perform optimization;
[0034] When α≥K, the optimization unit determines that the recall rate of the judicial text signal field is abnormal, and optimizes the attention index to the attention index C'(c,i,z), setting .
[0035] Furthermore, the rule matching module performs rule matching on the judicial event generation result and the stored rule event set, wherein:
[0036] when When , the rule matching unit determines that the judicial event A(m) is equivalent to the minimum rule event B(i, d) of the rule text, and determines that the judicial event A(m) successfully matches the minimum rule event B(i, d);
[0037] when When , the rule matching unit determines that the judicial event A(m) is not equivalent to the minimum rule event B(i, d) of the rule text, and determines that the judicial event A(m) fails to match the minimum rule event B(i, d);
[0038] Where A(m) represents the mth judicial event, m=1,2...M, and M is the number of judicial events generated by judicial text information.
[0039] Furthermore, the applicable analysis module analyzes the applicable rule text of the judicial text information according to the rule matching result of the judicial event, wherein:
[0040] When R(m, i) / F(i)<β, the applicability analysis module determines that the i-th rule text is not applicable to the judicial text information and does not use it as the applicable rule text;
[0041] When R(m, i) / F(i)≥β, the applicability analysis module determines that the i-th rule text is applicable to the judicial text information and regards it as the applicable rule text;
[0042] Among them, R(m, i) is the minimum number of rule events that successfully matches the mth judicial event with respect to the i-th rule text, F(i) is the minimum number of rule events of the i-th rule text, β is the preset minimum ratio of successful matching events, 0.7<β≤1.
[0043] Furthermore, the rule recommendation module is provided with a priority analysis unit, which analyzes the priority of the applicable rule text according to the applicable rule analysis result of the judicial text information;
[0044] The priority analysis unit calculates the priority γ(h) of the applicable rule text, setting:
[0045]
[0046] Among them, γ(h) represents the priority of the h-th applicable rule text over the judicial text information, h=1,2...H, H is the number of applicable rule texts, and F(h) is the minimum number of rule events for the h-th applicable rule text.
[0047] Furthermore, the rule recommendation module is further provided with a rule recommendation unit, which compares the priority γ(h) of the applicable rule text with the priority of each preset rule, and analyzes the priority application status of the applicable rule text according to the comparison result, and is also used to recommend rules to the user according to the analysis result of the priority application status of the applicable rule text, wherein:
[0048] When γ(h)<U1, the rule recommendation unit determines that the priority application state of the applicable rule text is level three;
[0049] When U1≤γ(h)<U2, the rule recommendation unit determines that the priority application state of the applicable rule text is level 2;
[0050] When γ(h)≥U2, the rule recommendation unit determines that the priority application state of the applicable rule text is level one;
[0051] Wherein, U1 is the priority of the first preset rule, U2 is the priority of the second preset rule, 0<U1<U2≤1;
[0052] The rule recommendation unit outputs the applicable rule text with a priority applicable status of level one to the user.
[0053] Compared with the prior art, the beneficial effects of the present invention are that the information required by the present embodiment is acquired by the judicial information acquisition module, thereby improving the completeness and accuracy of information acquisition; the corresponding rule text group is selected according to the judicial case type by the signal analysis module, and the signal field of each rule text is analyzed according to the selected rule text group; the signal analysis module is also used to generate a minimum rule event according to the signal field of each rule text, and the minimum rule event is combined into a rule event set of each rule text, thereby improving the accuracy of signal field analysis and the accuracy of minimum rule event generation; the rule event set and signal field of each rule text are stored by the signal storage module, thereby improving the efficiency of analyzing different judicial information; the signal field analysis of the judicial text information is performed by the event analysis module to obtain a judicial signal field group, and a judicial event is generated according to the judicial signal field group, thereby improving the accuracy and efficiency of judicial event analysis; the rule matching module is used to match the judicial events, thereby improving the accuracy of rule matching; the applicable analysis module is used to analyze the applicable rule text, thereby improving the accuracy of the applicable rule text analysis; the rule recommendation module is used to recommend the applicable rule text to the user, thereby improving the efficiency of judicial data analysis and the accuracy of judicial rule recommendation. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 Schematic diagram of the structure of the judicial information data field processing system of this embodiment.
[0055] Figure 2 Schematic diagram of the structure of the signal analysis module in this embodiment.
[0056] Figure 3 Schematic diagram of the structure of the event analysis module of this embodiment.
[0057] Figure 4 This is a schematic diagram of the structure of the rule recommendation module in this embodiment. DETAILED DESCRIPTION
[0058] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0059] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0060] It should be noted that in the description of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0061] See also Figure 1 As shown, it is a schematic diagram of the structure of the judicial information data field processing system of this embodiment, including:
[0062] A judicial information acquisition module is used to acquire judicial information, a rule text group and a pre-processed file; the judicial information includes judicial case types and judicial text information, the judicial case types include criminal cases, civil cases, administrative cases and economic cases, the judicial text information is text information in judicial activities, specifically including basic case information, party information and legal document data; the rule text group is specifically a legislative document, which includes the Criminal Procedure Law of the People's Republic of China, the Civil Procedure Law of the People's Republic of China, the Civil Code of the People's Republic of China and the Administrative Procedure Law of the People's Republic of China in this embodiment; the pre-processed file includes a pre-trained word vector file, a rule stop word list and a text stop word list; in this embodiment, no specific limitation is made on the acquisition method of judicial information, and those skilled in the art can freely set it, and only need to meet the acquisition requirements of judicial information, such as through user interaction; in this embodiment, the rule text group can be obtained through the official website of the law; in this embodiment, no specific limitation is made on the acquisition method of the pre-processed file, and those skilled in the art can freely set it, and only need to meet the acquisition requirements of the pre-processed file, such as through the GitHub website to obtain relevant pre-trained word vector files, rule stop word lists and text stop word lists;
[0063] A signal analysis module is used to select a corresponding rule text group according to the type of judicial case, and generate a signal field of each rule text according to the selected rule text group. The signal analysis module is also used to generate a minimum rule event according to the signal field of each rule text, and combine the minimum rule event into a rule event set of each rule text. The signal analysis module is connected to the judicial information acquisition module; the rule text group is a set of rules and regulations, which contains multiple rule texts; the signal field of each rule text is a signal field set of each rule text, which also contains multiple signal fields; the minimum rule event is the minimum judgment condition of the applicable event of each rule text. When the judicial information meets all the minimum rule texts of the rule text, it can be determined that the judicial information meets the effectiveness condition of the rule text; the rule event set is a set of multiple events combined by the signal field;
[0064] A signal storage module, used for storing event sets and signal fields, the signal storage module is connected to the signal analysis module;
[0065] An event analysis module, used for segmenting judicial text information according to the stored signal fields to obtain a judicial signal field group, and the event analysis module is also used for generating a judicial event according to the judicial signal field group, and the event analysis module is connected to the signal storage module;
[0066] A rule matching module, used for matching the judicial event with the stored rule event set, the rule matching module is connected with the event analysis module and the signal storage module;
[0067] An applicability analysis module, used to analyze the applicable rules of the judicial text information according to the rule matching result, and the applicability analysis module is connected to the rule matching module;
[0068] The rule recommendation module is used to analyze the priority of applicable rules according to the applicable rule analysis results of the judicial text information, recommend rules to users according to the applicable rule priority analysis results, and output the rule recommendation results to users. The rule recommendation module is connected to the applicable analysis module.
[0069] See also Figure 2 As shown, it is a schematic diagram of the structure of the signal analysis module of this embodiment, including:
[0070] A rule selection unit, used to select the corresponding rule text according to the type of judicial case;
[0071] A signal field analysis unit, used for generating a signal field according to the selected rule text group, the signal field analysis unit being connected to the rule selection unit;
[0072] The event generation unit is used to generate regular events according to the signal field and combine the regular events into a regular event set. The event generation unit is connected to the signal field analysis unit.
[0073] See also Figure 3 As shown, it is a schematic diagram of the structure of the event analysis module of this embodiment, including:
[0074] A text segmentation unit, used to segment the judicial text information according to the stored signal fields to obtain a judicial signal field group;
[0075] The judicial event generation unit is used to generate a judicial event according to the judicial signal field group, and the judicial event generation unit is connected to the text segmentation unit.
[0076] See also Figure 4 As shown, it is a schematic diagram of the structure of the analysis module applicable to this embodiment, including:
[0077] A priority analysis unit, used to analyze the priority of the applicable rule text according to the applicable rule analysis result of the judicial text information;
[0078] The rule recommendation unit is used to analyze the priority application status of the applicable rule text according to the priority analysis result of the applicable rule text, and is also used to recommend rules to users according to the priority application status analysis result of the applicable rule text. The rule recommendation unit is connected to the priority analysis unit.
[0079] Specifically, the judicial information data field processing system described in this embodiment is applied to the data field processing of judicial information, and is specifically applied to the extraction and determination of applicable rules within judicial information; this embodiment performs signal field analysis on the rule text, generates minimum rule events and judicial signal field groups based on the signal fields, analyzes judicial events based on the judicial signal field groups, and analyzes applicable rules based on the judicial event analysis results and the minimum rule events, and finally outputs the applicable rules to the user.
[0080] Specifically, the rule selection unit selects a corresponding rule text group according to the type of judicial case, wherein:
[0081] When the judicial case type is a criminal case, the rule selection unit selects criminal law as the corresponding rule text group;
[0082] When the judicial case type is a civil case, the rule selection unit selects the civil law as the corresponding rule text group;
[0083] When the judicial case type is an administrative case, the rule selection unit selects administrative law as the corresponding rule text group.
[0084] Specifically, the rule selection unit improves the flexibility of rule selection and the flexibility of rule changes by selecting the corresponding rule text group according to the type of judicial case, thereby improving the accuracy of signal field analysis and minimum rule event generation, thereby improving the accuracy of judicial event generation based on judicial text information, and ultimately improving the efficiency of judicial data analysis and the accuracy of judicial rule recommendations; the criminal law described in this embodiment is specifically the "Criminal Procedure Law of the People's Republic of China", the civil law is specifically the "Civil Procedure Law of the People's Republic of China" and the "Civil Code of the People's Republic of China", and the administrative law is specifically the "Administrative Procedure Law of the People's Republic of China"; in this embodiment, the rules in the rule text group are specifically the legal provisions of each law.
[0085] Specifically, the signal field analysis unit generates a signal field according to the selected rule text;
[0086] The signal field analysis unit performs word segmentation on the rule text according to the rule stop word list to obtain a preprocessing rule word group;
[0087] The signal field analysis unit performs word vector assignment for words in the pre-processing rule word group according to the pre-trained word vector file;
[0088] The signal field analysis unit calculates the vector inner product v(i, j) of each word according to the word vector assignment result. The calculation formula of the vector inner product v(i, j) is as follows:
[0089] v(i,j)=v1 2 +v2 2 +...+vN 2 ;
[0090] Where i represents the i-th rule in the rule text group, j represents the j-th word in the preprocessing rule word group of the i-th rule, v1 is the first-dimensional word vector of the j-th word in the preprocessing rule word group of the i-th rule, v2 is the second-dimensional word vector of the word, vN is the N-th-dimensional word vector of the j-th word in the preprocessing rule word group of the i-th rule, and N is the number of word vector dimensions;
[0091] The signal field analysis unit compares the vector inner product v(i, j) of each word with each preset inner product, and performs signal field analysis on the words in the preprocessing rule word group according to the comparison result, wherein:
[0092] When V1≤v(i,j)<V2, the signal field analysis unit determines that the word is an entity signal field;
[0093] When V3≤v(i,j)<V4, the signal field analysis unit determines that the word is a relational signal field;
[0094] when When the signal field analysis unit determines that the word is a non-signal field;
[0095] Among them, V1 is the first preset vector inner product, V2 is the second preset vector inner product, V3 is the third preset vector inner product, V4 is the fourth preset vector inner product, V1<V2, V3<V4.
[0096] Specifically, the signal field analysis unit improves the accuracy of signal field analysis by segmenting the rule text group and performing signal field analysis on the pre-processed rule word group obtained by the segmentation, thereby improving the accuracy of minimum logical event analysis and the accuracy of judicial signal field analysis, thereby improving the accuracy of minimum rule event generation, thereby improving the accuracy of judicial event generation based on judicial text information, and ultimately improving the efficiency of judicial data analysis and the accuracy of judicial rule recommendation; it can be understood that in this embodiment, the values of the first preset vector inner product V1, the second preset vector inner product V2, the third preset vector inner product V3 and the fourth preset vector inner product V4 are not specifically limited, and technicians in this field can set them freely, as long as the value requirements of the first preset vector inner product V1, the second preset vector inner product V2, the third preset vector inner product V3 and the fourth preset vector inner product V4 are met. For example, the first preset vector inner product V1 can be set as V2. The product V1 is set to 90% of the mean inner product of the entity words in the pre-trained word vector file, the second preset vector inner product V2 is set to 110% of the mean inner product of the entity words in the pre-trained word vector file, the third preset vector inner product V3 is set to 90% of the mean inner product of the relationship words in the pre-trained word vector file, and the fourth preset vector inner product V4 is set to 110% of the mean inner product of the entity words in the pre-trained word vector file; it is worth noting that in actual operation, there may be a discontinuous range of preset vector inner products in this embodiment, that is, there may be an even number of preset vector inner products, and the logic of the judgment signal field is the same as the above logic; in this embodiment, the operation of segmenting the rule text according to the rule stop word list is not specifically limited, and technical personnel in this field can set it freely, as long as the demand for segmenting the rule text according to the rule stop word list is met, such as the rule text can be segmented by the mmseg4j tool and the rule stop word list.
[0097] Specifically, the event generation unit generates a minimum rule event according to the signal field of each rule text;
[0098] The event generation unit inputs each entity signal field in the signal field group of the rule text as an entity classification and the relationship signal field as a relationship classification into the pre-training model to extract logical events, thereby obtaining a minimum rule event;
[0099] The event generation unit combines minimum rule events into a rule event set of each rule text.
[0100] Specifically, the event generation unit generates a minimum rule event according to the signal field of each rule text, thereby improving the accuracy of generating the minimum rule event, thereby improving the accuracy of generating judicial events according to judicial text information, and ultimately improving the efficiency of judicial data analysis and the accuracy of judicial rule recommendation; it can be understood that the type of pre-trained model is not specifically limited in this embodiment, and technical personnel in this field can set it freely, such as selecting BERT, RoBERTa, ELECTRA and other transformer-based models as pre-trained models of this embodiment; when the number of rule text groups is small, in addition to extracting logical events from the rule text in the manner of the pre-trained model described in this embodiment, the signal field of each rule text can also be used as a regular expression to extract logical events, and the extracted logical events are used as the minimum rule events of the rule, and the event generation unit combines the minimum rule events of the rule into a rule event set; it is worth noting that the format of the generated minimum rule event is (entity, relationship, entity), wherein the entity and relationship are both signal fields, for example: (plaintiff, patent infringement, defendant).
[0101] Specifically, the text segmentation unit segments the judicial text information according to the text stop word list to obtain a preprocessed text word group;
[0102] The text segmentation unit assigns word vectors to the pre-processed text word groups according to the pre-trained word vector file;
[0103] The text segmentation unit performs signal field analysis on the pre-processed text word group after the word vector is assigned according to the stored signal field, wherein:
[0104] When μ1<P<μ2, the text analysis unit determines that the word is a word similar to the signal field v(i,z), and uses the signal field v(i,z) as the judicial text signal field;
[0105] When P≥μ2 or P≤μ1, the text segmentation unit determines that the word is not a word similar to the signal field v(i,z), and does not perform judicial text signal field setting;
[0106] Wherein, P is the similarity index, set P = [V (c) - v (i, z)] / v (i, z), V (c) is the inner product of the word vector of the cth word in the preprocessed text word group, v (i, z) represents the zth signal field in the stored i-th rule text, μ1 is the first preset bias coefficient, μ2 is the second preset bias coefficient, μ1 < μ2;
[0107] The text segmentation unit combines the judicial text signal fields into a judicial signal field group.
[0108] Specifically, the text segmentation unit improves the accuracy of signal field analysis on judicial text information by performing signal field analysis on the preprocessed text word group after assigning word vectors according to the stored signal field, thereby improving the efficiency of judicial data analysis and the accuracy of judicial rule recommendations; it can be understood that in this embodiment, no specific limitation is made on the values of the first preset bias coefficient μ1 and the second preset bias coefficient μ2, and those skilled in the art can set them freely, as long as the value requirements of the first preset bias coefficient μ1 and the second preset bias coefficient μ2 are met, such as the first preset bias coefficient μ1 can be set to 0.6, and the second preset bias coefficient μ2 can be set to 0.8; it is worth noting that the reason for setting the second preset bias coefficient μ2 in this embodiment is to eliminate the influence of overfitting.
[0109] Specifically, the self-attention adjustment unit calculates the attention index C (c, i, z) between each word in the preprocessed text word group and the stored signal field according to the preprocessed text word group after the word vector assignment. The calculation formula of the attention index C (c, i, z) is as follows:
[0110]
[0111] Where C(c,i,z) represents the attention index between the cth word in the preprocessed text word group and the zth signal field in the stored i-th rule text, Y is the total dimension of the word vector, V(z,y) represents the yth dimension word vector of the cth word in the preprocessed text word group, and v(i,z,y) represents the yth dimension word vector of the zth signal field in the stored i-th rule text;
[0112] The self-attention adjustment unit adjusts the signal field analysis process of the preprocessed text word group after the word vector assignment according to the calculation result of the attention index C (c, i, z), adjusts the similarity index P to P', and sets P'=[V (c) - v (i, z)] / v (i, z) × C (c, i, z).
[0113] Specifically, the self-attention adjustment unit adjusts the signal field analysis process of the preprocessed text word group after word vector assignment according to the preprocessed text word group after word vector assignment, thereby improving the accuracy of attention index analysis of the judicial signal field group, and then improving the accuracy of signal field analysis of judicial text information, thereby improving the efficiency of judicial data analysis and the accuracy of judicial rule recommendation.
[0114] Specifically, the optimization unit compares the recall rate α of the judicial text signal field with the recall rate threshold K, and optimizes the signal field adjustment process of the preprocessed text word group after the word vector assignment according to the comparison result, wherein:
[0115] When α<K, the optimization unit determines that the recall rate of the judicial text signal field is normal and does not perform optimization;
[0116] When α≥K, the optimization unit determines that the recall rate of the judicial text signal field is abnormal, and optimizes the attention index to the attention index C'(c,i,z), setting .
[0117] Specifically, the optimization unit optimizes the signal field adjustment process of the preprocessed text word group after the word vector is assigned according to the recall rate of the judicial text signal field, thereby improving the accuracy of the attention index analysis of the judicial signal field group, and then improving the accuracy of the signal field analysis of the judicial text information, thereby improving the efficiency of judicial data analysis and the accuracy of judicial rule recommendations; in this embodiment, no specific limitation is made on the value of the recall rate threshold K, and technical personnel in this field can set it freely, as long as the value requirement of the recall rate threshold K is met, such as the recall rate threshold K can be set to 0.05.
[0118] Specifically, the judicial event generation unit generates a judicial event according to the judicial signal field group;
[0119] The process of generating a judicial event by the judicial event generating unit is the same as the process of generating the minimum rule event.
[0120] Specifically, the judicial event generation unit generates judicial events according to the judicial signal field group, thereby improving the efficiency of judicial data analysis and the accuracy of judicial rule recommendations; it can be understood that the judicial events generated in this embodiment are specifically logical events.
[0121] Specifically, the rule matching module performs rule matching on judicial events according to the rule event set of each stored rule text, wherein:
[0122] when When , the rule matching unit determines that the judicial event A(m) is equivalent to the minimum rule event B(i, d) of the rule text, and determines that the judicial event A(m) successfully matches the minimum rule event B(i, d) of the rule text;
[0123] when When , the rule matching unit determines that the judicial event A(m) is not equivalent to the minimum rule event B(i, d) of the rule text, and determines that the judicial event A(m) fails to match the minimum rule event B(i, d) of the rule text;
[0124] Where A(m) represents the mth judicial event, m=1,2...M, and M is the number of judicial events generated by judicial text information.
[0125] Specifically, the rule matching module improves the accuracy of rule matching by matching judicial events according to the rule event set of each stored rule text, thereby improving the accuracy of applicable rule text analysis, and ultimately improving the efficiency of judicial data analysis and the accuracy of judicial rule recommendation. It can be understood that when matching logical event A with logical event B in this embodiment, it is specifically to determine whether the two logical events are equivalent. For example, when matching the event "entity t1, relationship 1, entity t2" with the event "entity t3, relationship 2, entity t4 caused harm", it is necessary to perform word vector matching judgment on (entity t1, entity t3), (relationship 1, relationship 2) and (entity t2, entity t4) respectively. When (entity t1, entity t3), (relationship 1, relationship 2) and (entity t2, entity t4) are all matched successfully, it is determined that the event "entity t1, relationship 1, entity t2" is logically equivalent to the event "entity t3, relationship 2, entity t4 caused harm"; at the same time, the matching judgment of the word vector is the same as the judgment process of the above-mentioned judicial text signal field. In this embodiment, " " indicates the logical equivalence between A(m) and B(i,d), " " indicates that A(m) and B(i,d) are not logically equivalent.
[0126] Specifically, the applicable analysis module analyzes the applicable rule text of the judicial text information according to the rule matching result of the judicial event, wherein:
[0127] When R(m, i) / F(i)<β, the applicability analysis module determines that the i-th rule text is not applicable to the judicial text information and does not use it as the applicable rule text;
[0128] When R(m, i) / F(i)≥β, the applicability analysis module determines that the i-th rule text is applicable to the judicial text information and regards it as the applicable rule text;
[0129] Among them, R(m, i) is the minimum number of rule events that successfully matches the mth judicial event with respect to the i-th rule text, F(i) is the minimum number of rule events of the i-th rule text, β is the preset minimum ratio of successful matching events, 0.7<β≤1.
[0130] Specifically, the applicability analysis module analyzes the applicable rule text of the judicial text information according to the rule matching results of the judicial events, thereby improving the accuracy of the applicable rule text analysis, and ultimately improving the efficiency of judicial data analysis and the accuracy of judicial rule recommendations; in this embodiment, no specific limitation is made on the value of the preset minimum event ratio β, and those skilled in the art can set it freely, as long as the value requirement of the preset minimum event ratio β is met, such as the preset minimum event ratio β can be set to 0.8.
[0131] Specifically, the priority analysis unit analyzes the priority of the applicable rules according to the applicable rule analysis result of the judicial text information;
[0132] The priority analysis unit calculates the priority γ(h) of the applicable rule text, setting:
[0133]
[0134] Among them, γ(h) represents the priority of the h-th applicable rule text over the judicial text information, h=1,2...H, H is the number of applicable rule texts, and F(h) is the minimum number of rule events for the h-th applicable rule text.
[0135] Specifically, the priority analysis unit analyzes the priority of applicable rules according to the applicable rule analysis results of the judicial text information, thereby improving the accuracy of priority calculation of applicable rule texts, thereby improving the efficiency of judicial data analysis and the accuracy of judicial rule recommendations.
[0136] Specifically, the rule recommendation unit compares the priority γ(h) of the applicable rule with the priority of each preset rule, analyzes the priority application status of the rule according to the comparison result, and recommends the rule to the user according to the analysis result of the priority application status of the rule, wherein:
[0137] When γ(h)<U1, the rule recommendation unit determines that the priority application state of the applicable rule text is level three;
[0138] When U1≤γ(h)<U2, the rule recommendation unit determines that the priority application state of the applicable rule text is level 2;
[0139] When γ(h)≥U2, the rule recommendation unit determines that the priority application state of the applicable rule text is level one;
[0140] Wherein, U1 is the priority of the first preset rule, U2 is the priority of the second preset rule, 0<U1<U2≤1;
[0141] The rule recommendation unit outputs the applicable rule text with a priority applicable status of level one to the user.
[0142] Specifically, the rule recommendation unit analyzes the priority application status of the rule according to the priority of the applicable rule, and is also used to recommend the rule to the user according to the analysis result of the priority application status of the rule, thereby improving the efficiency of judicial data analysis and the accuracy of judicial rule recommendation; it can be understood that in this embodiment, the values of the first preset rule priority U1 and the second preset rule priority U2 are not specifically limited, and those skilled in the art can set them freely, as long as the value requirements of the first preset rule priority U1 and the second preset rule priority U2 are met. For example, the first preset rule priority U1 can be set to 0.53 and the second preset rule priority U2 can be set to is 0.86; in this embodiment, the priority application status of the applicable rule text is level three, indicating that the applicable rule is an applicable edge rule, the priority application status of the applicable rule text is level two, indicating that the applicable rule is an applicable general rule, and the priority application status is level one, indicating that the applicable rule is an applicable adaptation rule; it is worth noting that when there is no applicable rule text with a priority application status of level one, the rule recommendation unit will output the applicable rule text with a priority application status of level two to the user; when there is no applicable rule text with a priority application status of level one and a priority application status of level two, the rule recommendation unit will output the applicable rule text with a priority application status of level three to the user.
[0143] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
Claims
1. A judicial information data field processing system, It is characterized in that include, Judicial information acquisition module, used to obtain judicial information, rule text groups and pre-processing files; A signal analysis module, used to select a corresponding rule text group according to the type of judicial case, and analyze the signal field of each rule text according to the selected rule text group, and the signal analysis module is also used to generate a minimum rule event according to the signal field of each rule text, and combine the minimum rule events into a rule event set of each rule text; A signal storage module is used to store the rule event set and signal field of each rule text; An event analysis module, used to perform signal field analysis on judicial text information according to the stored signal fields, obtain a judicial signal field group, and generate a judicial event according to the judicial signal field group; A rule matching module, used to match the judicial events according to the rule event set of each stored rule text; An applicable analysis module is used to analyze the applicable rule text of the judicial text information according to the rule matching results of the judicial event; A rule recommendation module is used to recommend applicable rule texts to users based on the applicable rule text analysis results of judicial text information; The signal analysis module is provided with a signal field analysis unit, which compares the vector inner product v(i, j) of each word with each preset inner product, and performs signal field analysis on the words in the preprocessing rule word group according to the comparison result, wherein: When V1≤v(i,j)<V2, the signal field analysis unit determines that the word is an entity signal field; When V3≤v(i,j)<V4, the signal field analysis unit determines that the word is a relational signal field; when When the signal field analysis unit determines that the word is a non-signal field; Wherein, V1 is the first preset vector inner product, V2 is the second preset vector inner product, V3 is the third preset vector inner product, V4 is the fourth preset vector inner product, V1<V2, V3<V4; The signal analysis module is further provided with an event generation unit, which generates a minimum rule event according to the signal field of each rule text; The event generation unit inputs each entity signal field in the rule text signal field as an entity classification and each relationship signal field as a relationship classification into the pre-training model to extract logical events and obtain a minimum rule event; The event generation unit combines the minimum rule events of each rule text into a rule event set B (i, d) of each rule text, wherein i represents the subscript of each rule text in the rule text group, d represents the subscript of the minimum rule event in the rule event set, and B (i, d) represents the dth minimum rule event in the rule event set of the i-th rule text.
2. A judicial information data field processing system according to claim 1, It is characterized in that The event analysis module is provided with a text segmentation unit, which segments the judicial text information according to a text stop word list to obtain a preprocessed text word group; The text segmentation unit assigns word vectors to the pre-processed text word groups according to the pre-trained word vector file; The text segmentation unit performs signal field analysis on the pre-processed text word group after the word vector is assigned according to the stored signal field, wherein: When μ1<P<μ2, the text analysis unit determines that the word is a word similar to the signal field v(i,z), and uses the signal field v(i,z) as the judicial text signal field; When P≥μ2 or P≤μ1, the text segmentation unit determines that the word is not a word similar to the signal field v(i,z), and does not perform judicial text signal field setting; Wherein, P is the similarity index, set P = [V (c) - v (i, z)] / v (i, z), V (c) is the inner product of the word vector of the cth word in the preprocessed text word group, v (i, z) represents the zth signal field in the stored i-th rule text, μ1 is the first preset bias coefficient, μ2 is the second preset bias coefficient, μ1 < μ2; The text segmentation unit combines the judicial text signal fields into a judicial signal field group.
3. A judicial information data field processing system according to claim 2, It is characterized in that The event analysis module is further provided with a self-attention adjustment unit, which calculates the attention index C (c, i, z) between each word in the preprocessed text word group and the stored signal field according to the preprocessed text word group after the word vector assignment. The calculation formula of the attention index C (c, i, z) is as follows: , Where C(c,i,z) represents the attention index between the cth word in the preprocessed text word group and the zth signal field in the stored i-th rule text, Y is the total dimension of the word vector, V(z,y) represents the yth dimension word vector of the cth word in the preprocessed text word group, and v(i,z,y) represents the yth dimension word vector of the zth signal field in the stored i-th rule text; The self-attention adjustment unit adjusts the signal field analysis process of the preprocessed text word group after the word vector assignment according to the calculation result of the attention index C (c, i, z), adjusts the similarity index P to P', and sets P'=[V (c) - v (i, z)] / v (i, z) × C (c, i, z).
4. A judicial information data field processing system according to claim 3, It is characterized in that The event analysis module is further provided with an optimization unit, which compares the recall rate α of the judicial text signal field with the recall rate threshold K, and optimizes the signal field adjustment process of the preprocessed text word group after the word vector assignment according to the comparison result, wherein: When α<K, the optimization unit determines that the recall rate of the judicial text signal field is normal and does not perform optimization; When α≥K, the optimization unit determines that the recall rate of the judicial text signal field is abnormal, and optimizes the attention index to the attention index C'(c,i,z), setting .
5. A judicial information data field processing system according to claim 4, It is characterized in that The rule matching module performs rule matching on the judicial event generation result and the stored rule event set, wherein: when When , the rule matching unit determines that the judicial event A(m) is equivalent to the minimum rule event B(i, d) of the rule text, and determines that the judicial event A(m) successfully matches the minimum rule event B(i, d); when When , the rule matching unit determines that the judicial event A(m) is not equivalent to the minimum rule event B(i, d) of the rule text, and determines that the judicial event A(m) fails to match the minimum rule event B(i, d); Where A(m) represents the mth judicial event, m=1,2...M, and M is the number of judicial events generated by judicial text information.
6. A judicial information data field processing system according to claim 5, It is characterized in that The applicable analysis module analyzes the applicable rule text of the judicial text information according to the rule matching result of the judicial event, wherein: When R(m, i) / F(i)<β, the applicability analysis module determines that the i-th rule text is not applicable to the judicial text information and does not use it as the applicable rule text; When R(m, i) / F(i)≥β, the applicability analysis module determines that the i-th rule text is applicable to the judicial text information and regards it as the applicable rule text; Among them, R(m, i) is the minimum number of rule events that successfully matches the mth judicial event with respect to the i-th rule text, F(i) is the minimum number of rule events of the i-th rule text, β is the preset minimum ratio of successful matching events, 0.7<β≤1.
7. A judicial information data field processing system according to claim 6, It is characterized in that The rule recommendation module is provided with a priority analysis unit, which analyzes the priority of the applicable rule text according to the applicable rule analysis result of the judicial text information; The priority analysis unit calculates the priority γ(h) of the applicable rule text, setting: , Among them, γ(h) represents the priority of the h-th applicable rule text over the judicial text information, h=1,2...H, H is the number of applicable rule texts, and F(h) is the minimum number of rule events for the h-th applicable rule text.
8. A judicial information data field processing system according to claim 7, It is characterized in that The rule recommendation module is further provided with a rule recommendation unit, which compares the priority γ(h) of the applicable rule text with the priority of each preset rule, and analyzes the priority application status of the applicable rule text according to the comparison result, and is also used to recommend rules to the user according to the analysis result of the priority application status of the applicable rule text, wherein: When γ(h)<U1, the rule recommendation unit determines that the priority application state of the applicable rule text is level three; When U1≤γ(h)<U2, the rule recommendation unit determines that the priority application state of the applicable rule text is level 2; When γ(h)≥U2, the rule recommendation unit determines that the priority application state of the applicable rule text is level one; Wherein, U1 is the priority of the first preset rule, U2 is the priority of the second preset rule, 0<U1<U2≤1; The rule recommendation unit outputs the applicable rule text with a priority applicable status of level one to the user.
