Big Data-Based Judicial Document Analysis Method and System

Through the judicial document analysis method based on big data, the preset classification model and large language model are used to filter the central words and sentences, the problem of poor keyword extraction effect in the existing technology is solved, and efficient and accurate judicial document quality analysis is achieved.

CN120146029BActive Publication Date: 2025-07-25GUANGDONG BOWEI CHUANGYUAN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510592684.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-05-09
Publication Date
2025-07-25
Estimated Expiration
2045-05-09

AI Technical Summary

Technical Problem

In the quality analysis of judicial documents, the keyword extraction effect is poor, resulting in low analysis accuracy and efficiency. It consumes a lot of computing resources when relying on large language models, making it difficult to efficiently process a large number of documents.

Method used

The judicial document analysis method based on big data is adopted, and word thermal data is obtained through preset classification models, central words and central sentences are filtered, keywords are extracted in combination with preset large language models, and quality analysis reports are generated.

Benefits of technology

It improves the accuracy and efficiency of keyword extraction, reduces the demand for computing resources, ensures that the analysis focuses on the core content, and improves the accuracy and efficiency of judicial document quality analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120146029B_ABST
    Figure CN120146029B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of text processing, and particularly to a method and system for analyzing judicial documents based on big data. Starting from word vector data, it uses a preset classification model to output word heat data, quantitatively displays the correlation between word segmentation and word categories in the form of heat values, so as to accurately locate the word segmentation related to each word category in the target judicial document, and then determines the central word, central sentence and keyword in a progressive manner, providing a rich and comprehensive data basis for subsequent quality analysis, improving the accuracy of the quality analysis report, and being able to effectively filter out irrelevant text information in the target judicial document during the keyword extraction process, making the subsequent data extraction and analysis focus on the core content of the target judicial document, reducing the resources occupied by the large language model during the calculation and reasoning process, and improving the efficiency of the quality analysis process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of text processing, and particularly to a method and system for analyzing judicial documents based on big data. Background Art

[0002] In the judicial field, the quality of judicial documents directly affects judicial credibility and case handling efficiency. Therefore, analyzing the quality of judicial documents helps to promptly correct errors in judicial documents, enables judicial personnel to quickly and accurately understand the case content, and avoids repeated communication and misunderstandings caused by unclear document expressions and logical confusion, playing an important role in maintaining the authority of justice and improving the efficiency of judicial management.

[0003] When analyzing the quality of judicial documents, it depends on keyword extraction. The existing keyword extraction methods include rule-based keyword extraction methods, which mainly rely on predefined rules and templates as the basis for keyword extraction, and it is difficult to adapt to the diversity and complexity of the content of judicial documents, resulting in poor keyword extraction effects; and statistic-based keyword extraction methods, which determine keywords by calculating the occurrence frequency of words in the document and their rarity in the entire corpus, only considering the statistical features of words, ignoring the semantic relationships and context information between words, and are prone to extracting words with high frequencies but irrelevant to the core content of the case, or missing important keywords with low occurrence frequencies, resulting in poor keyword extraction effects, and further leading to low accuracy of the quality analysis results of judicial documents.

[0004] In order to improve the keyword extraction effect in judicial documents, in the prior art, keyword extraction methods based on traditional machine learning are adopted, using machine learning models such as Naive Bayes and Support Vector Machine for keyword extraction. However, this method relies on a large amount of labeled data for training, and professional legal knowledge is required for the annotation work of judicial documents, resulting in high costs and low efficiency of the above methods; and keyword extraction of judicial documents based on large language models requires word-by-word analysis and processing of the entire input judicial document, involving complex calculations and reasoning processes, and running large language models requires powerful computing resource support. When extracting keywords from a large number of judicial documents, resource bottlenecks may occur, resulting in slow model operation or even inability to run normally, affecting the accuracy and efficiency of the quality analysis of judicial documents.

[0005] Therefore, how to improve the accuracy and efficiency of the quality analysis of judicial documents has become an urgent problem to be solved. Summary of the Invention

[0006] In view of the above technical problems, the technical solution adopted by the present invention is a method for analyzing judicial documents based on big data, and the method for analyzing judicial documents based on big data includes the following steps:

[0007] S1. Input the word vector data corresponding to each judicial document segment of the target judicial document into a preset classification model to obtain the word heat data of each judicial document segment corresponding to each channel of the preset classification model. Each channel of the preset classification model corresponds to a word category, and each word heat data is used to represent the correlation between each word segment in the corresponding judicial document segment and the corresponding word category through a heat value.

[0008] S2. For any word heat data, determine the several central words corresponding to the judicial document segment corresponding to the current word heat data as the several central words corresponding to the judicial document segment corresponding to the current word heat data from the several word segments corresponding to the several heat centers of the current word heat data in the judicial document segment corresponding to the current word heat data. The heat center refers to the position of the word segment corresponding to the heat value greater than the preset heat value threshold in the word heat data in the corresponding judicial document segment.

[0009] S3. Extract the central sentence corresponding to each central word from the judicial document segment corresponding to the current word heat data.

[0010] S4. Input each central sentence corresponding to the current word heat data and the word category corresponding to the current word heat data into a preset large language model to obtain several keywords in each central sentence corresponding to the current word heat data and the word category corresponding to each keyword.

[0011] S5. Traverse all the word heat data to obtain all the keywords corresponding to the target judicial document and the word category corresponding to each keyword.

[0012] S6. Input all the keywords corresponding to the target judicial document and the word category corresponding to each keyword into a preset large language model to obtain the quality analysis report corresponding to the target judicial document.

[0013] The present invention also provides a judicial document analysis system based on big data. The judicial document analysis system based on big data includes:

[0014] A word classification module, configured to input the word vector data corresponding to each judicial document segment of the target judicial document into a preset classification model to obtain the word heat data of each judicial document segment corresponding to each channel of the preset classification model. Each channel of the preset classification model corresponds to a word category, and each word heat data is used to represent the correlation between each word segment in the corresponding judicial document segment and the corresponding word category through a heat value.

[0015] The central word screening module is used to, for any word heat data, determine, in the judicial document segment corresponding to the current word heat data, the several word segmentations corresponding to several heat centers in the current word heat data as the several central words corresponding to the judicial document segment corresponding to the current word heat data, where a heat center refers to the position of the word segmentation corresponding to the heat value greater than the preset heat value threshold in the word heat data in the corresponding judicial document segment.

[0016] The central sentence extraction module is used to extract, from the judicial document segment corresponding to the current word heat data, the central sentence corresponding to each central word.

[0017] The first keyword extraction module is used to input each central sentence corresponding to the current word heat data and the word category corresponding to the current word heat data into a preset large language model to obtain several keywords in each central sentence corresponding to the current word heat data and the word category corresponding to each keyword.

[0018] The second keyword extraction module is used to traverse all the word heat data to obtain all the keywords corresponding to the target judicial document and the word category corresponding to each keyword.

[0019] The quality analysis module is used to input all the keywords corresponding to the target judicial document and the word category corresponding to each keyword into a preset large language model to obtain the quality analysis report corresponding to the target judicial document.

[0020] The present invention has at least the following beneficial effects: By starting from the word vector data, using a preset classification model to output word heat data, and quantitatively displaying the correlation between the word segmentation and the word category in the form of heat values, the word segmentations related to each word category in the target judicial document can be accurately located. Furthermore, through a step-by-step manner, central words, central sentences, and keywords are determined, providing a rich and comprehensive data basis for subsequent quality analysis, improving the accuracy of the quality analysis report, and effectively filtering out irrelevant text information in the target judicial document during the keyword extraction process, enabling subsequent data extraction and analysis to focus on the core content of the target judicial document, reducing the resources occupied by the large language model during the calculation and reasoning process, and improving the efficiency of the quality analysis process. Description of the Drawings

[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0022] Figure 1Flowchart of a big data-based judicial document analysis method provided in Embodiment 1 of the present invention;

[0023] Figure 2 Schematic diagram of a big data-based judicial document analysis system provided in Embodiment 2 of the present invention. Detailed implementation manners

[0024] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope of protection of the present invention.

[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily need to describe a specific order or sequence. It can be understood that, under appropriate circumstances, the above-mentioned terms for distinguishing similar objects can be interchanged so that the present invention can also implement other embodiments other than the above-mentioned illustrated embodiments or described embodiments. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or server including a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0026] Embodiment 1

[0027] Embodiment 1 of the present invention provides a big data-based judicial document analysis method. The big data-based judicial document analysis method includes the following steps, as Figure 1 shown:

[0028] S1. Input the word vector data corresponding to each judicial document segment of the target judicial document into a preset classification model, and obtain the word heat data of each judicial document segment corresponding to each channel of the preset classification model. Among them, each channel of the preset classification model corresponds to a word category, and each word heat data is used to represent the correlation between each word segment in the corresponding judicial document segment and the corresponding word category through a heat value.

[0029] Among them, the target judicial document refers to a specific judicial document that needs to be analyzed for quality, such as various documents with legal effect or related to judicial procedures, such as judgments, rulings, mediation documents, indictments, etc.

[0030] A judicial document fragment is a smaller text unit obtained by splitting the target judicial document according to certain rules. Each judicial document fragment relatively independently contains a part of semantic information, facilitating subsequent model processing and analysis.

[0031] Word vector data refers to the data obtained by converting the words in a judicial document into numerical vector form. In the vector space, the dimension and value of the word vector reflect the semantic features and context relationships of the words, providing a feature basis for word classification.

[0032] A preset classification model is a machine learning or deep learning model that has been pre-trained. The internal structure and parameters of the preset classification model have been optimized through training on a large amount of relevant data. It is used to classify the input word vector data into different word categories and can identify and judge the relevance between words and different categories.

[0033] A channel refers to a logical unit in the preset classification model. Each channel corresponds to a specific word category. Specifically, when the preset classification model processes the input word vector data, it will perform calculations and analyses for each channel respectively and output the relevance results of the corresponding word categories.

[0034] Word heat data refers to the result data output by the preset classification model, presenting the degree of relevance between each segmented word and the corresponding word category in the form of heat values. The numerical values of the heat data intuitively characterize the importance distribution of different segmented words under different word categories.

[0035] Word category refers to the set classification of words with specific semantics predefined by the implementer according to the content and analysis requirements of the judicial document, used for semantic classification and analysis of the segmented words in the judicial document. For example, the "party information" category includes the plaintiff, defendant, third party, legal representative, entrusted agent, witness, expert witness, etc., used to clarify the identities of various personnel participating in the judicial process. The "judicial procedure" category refers to the words related to the judicial litigation procedure, such as case-filing, acceptance, court session, trial, judgment, ruling, appeal, protest, execution, etc., used to reflect different stages and operations of the case in the judicial process. The "legal basis" category involves specific names of laws and regulations, articles, and related legal concepts, such as "Tort Liability Law", "Principle of Fault Liability", "Contract Breach Clause", etc. The "legal relationship" category is used to define the nature of the legal relationship between the parties, such as contract relationship, tort relationship, marriage relationship, inheritance relationship, etc.

[0036] Heat value refers to the quantitative index in the word heat data, used to measure the strength of the relevance between the segmented word and the corresponding word category. The heat value usually takes values between 0 and 1. The closer the value is to 1, the stronger the relevance between the segmented word and the word category. The closer the value is to 0, the weaker the relevance between the segmented word and the word category.

[0037] As described above, through the word vector technology, the word segmentation in the judicial document fragment is mapped into the vector space, so that the semantic relationship between word segmentations can be quantitatively represented by means of the distance and operation of vectors, which is convenient for the preset classification model to understand and process the semantic information of words. Through the feature patterns and mapping relationships between different word categories and word vectors learned by the preset classification model during the training stage, the possibility that each word segmentation in the judicial document fragment belongs to different word categories is judged, and the correlation result is output in the form of a heat value, realizing the probabilistic judgment and quantitative display of the semantic categories of word segmentations, providing a data basis for subsequent keyword extraction and quality analysis.

[0038] In a specific embodiment, S1 includes the following steps:

[0039] S11, perform word segmentation on each initial statement in the target judicial document to obtain a word segmentation set corresponding to each initial statement, where the word segmentations in each word segmentation set are arranged in the front-back position order in the corresponding initial statement.

[0040] S12, according to the target input length corresponding to the preset classification model and the preset length of each word vector, obtain the number of word vector inputs corresponding to the preset classification model.

[0041] S13, according to the number of word vector inputs and the number of word segmentations in the word segmentation set corresponding to each initial statement, group all the initial statements to obtain several initial statement combinations and the word segmentation set combinations corresponding to each initial statement combination, where the total number of word segmentations corresponding to each initial statement combination is less than or equal to the number of word vector inputs.

[0042] S14, determine each initial statement combination as a judicial document fragment.

[0043] S15, perform word vector conversion on each word segmentation in the word segmentation set combination corresponding to each judicial document fragment to obtain the word vector data corresponding to each judicial document fragment.

[0044] Wherein, the initial statement refers to a complete sentence separated by punctuation marks such as a period, a question mark, an exclamation mark, etc. in the target judicial document.

[0045] With the help of a word segmentation tool, each initial statement in the target judicial document is split into individual word segmentations, and then the word segmentation set corresponding to each initial statement is obtained. Those skilled in the art know that any word segmentation tool in the prior art falls within the protection scope of the present invention and will not be elaborated here.

[0046] Calculate the number of word vector inputs that the preset classification model can accept based on the target input length required by the preset classification model and the preset length of each word vector when tokenizing according to the preset tokenization tool. Specifically, the number of word vector inputs is equal to the ratio of the target input length to the preset length of each word vector.

[0047] The initial statements in each initial statement combination are arranged in the order of their positions before and after in the target legal document. The grouping principle of the initial statements is that the total number of tokens corresponding to several initial statements in each initial statement combination does not exceed the number of word vector inputs, and according to the order of the positions of each initial statement before and after in the target legal document, the total number of tokens corresponding to several initial statements in each initial statement combination plus the number of tokens corresponding to the next initial statement exceeds the number of word vector inputs, thereby obtaining several initial statement combinations and the corresponding token set combinations for each combination.

[0048] Convert each token in the token set combination corresponding to each legal document fragment into a word vector through a pre-trained word vector model, and finally obtain the word vector data corresponding to each legal document fragment. Correspondingly, the word vectors of each word vector data are arranged in the order of the positions of the corresponding tokens before and after in the corresponding initial statement. Those skilled in the art know that any word vector model in the prior art falls within the protection scope of the present invention, and will not be elaborated here.

[0049] As described above, through the tokenization operation, the initial statement is segmented into meaningful word units, which provides basic word units for subsequent word vector conversion, ensures that the order information of the words is retained, is conducive to the classification model learning the semantics and grammatical structures of the statement, and according to the target input length corresponding to the preset classification model and the preset length of each word vector, obtains the number of word vector inputs corresponding to the preset classification model, ensures that the data input into the preset classification model meets the input requirements of the model, avoids the preset classification model from not working properly due to the mismatch of the input length, and guarantees the normal operation of the preset classification model.

[0050] In a specific embodiment, the preset classification model is trained through the following steps:

[0051] S10, obtain a plurality of legal document fragment samples, the corresponding word vector data samples for each legal document fragment sample, and the corresponding reference heat data samples for each legal document fragment sample for each word category.

[0052] S20, input the word vector data sample corresponding to each legal document fragment sample into the initial classification model, and obtain the word heat data sample corresponding to each channel of the initial classification model for each legal document fragment sample.

[0053] S30. Obtain the total model loss corresponding to the initial classification model based on the word heat data samples of each channel of the initial classification model corresponding to each judicial document fragment sample and the reference heat data samples corresponding to each word category for each judicial document fragment sample.

[0054] S40. Update the parameters of the initial classification model according to the total model loss until the total model loss converges, and obtain the trained preset classification model.

[0055] Among them, the judicial document fragment sample refers to the text fragment selected from various judicial documents for model training. In this implementation, a large number of judicial document fragment samples are obtained as the training data of the initial classification model. The judicial document fragment samples cover various types of judicial document contents, such as judgments, indictments of different case types, etc., to ensure that the preset classification model can learn rich semantic features of judicial documents and word category correlation patterns, thereby improving the generalization ability and accuracy of the preset classification model.

[0056] The word vector data sample refers to the data obtained by converting the word segmentation in the judicial document fragment sample into a vector form, which reflects the semantic information and context relationship of the words. The acquisition method of the word vector data sample can refer to the acquisition method of the word vector data corresponding to each judicial document fragment of the target judicial document.

[0057] The reference heat data sample refers to the accurate representation of the correlation between each word segmentation and each word category determined in advance for each judicial document fragment sample, which can be manually labeled and presented in the form of heat values as the target output of the initial classification model training, so as to calculate the difference with the actual output to characterize the output accuracy of the initial classification model.

[0058] Based on its own network structure and initial parameters, the initial classification model performs feature extraction and classification prediction on the input word vector data sample, and obtains the word heat data samples of each channel of the initial classification model corresponding to each judicial document fragment sample, which is used to characterize the correlation degree between each word segmentation in each judicial document fragment sample and different word categories.

[0059] Further, the word heat data sample (i.e., the model prediction result) of each channel of the initial classification model corresponding to each judicial document fragment sample is compared with the reference heat data sample (i.e., the true result) corresponding to each word category of each judicial document fragment sample. The difference between the corresponding word heat data sample and the reference heat data sample is calculated through the loss function to measure the gap between the model prediction result and the true result. Thus, the differences of all judicial document fragment samples are aggregated to obtain the total model loss corresponding to the initial classification model, providing a clear direction and goal for model parameter update, that is, adjusting the parameters in the direction of reducing the total model loss. When the total model loss converges, it indicates that the classification model has learned the effective relationship between the input data and the output data, and a trained preset classification model is obtained for more accurate analysis and processing of new judicial document fragments.

[0060] As described above, through training with a large number of sample data and continuous optimization of parameters, the preset classification model can deeply learn the complex relationship between word segmentation and each word category in judicial documents, making the preset classification model more accurate in semantic analysis and relevance judgment of judicial document fragments in practical applications, thereby improving the accuracy of word heat data.

[0061] In a specific embodiment, S10 includes the following steps:

[0062] S101, obtain the word segmentation set combination sample corresponding to each judicial document fragment sample, several central word samples corresponding to each word segmentation set combination sample, and the word category corresponding to each central word sample.

[0063] S102, for any central word sample in any word segmentation set combination sample, determine the first function parameter corresponding to the current central word sample according to the sequence number of the current central word sample in the current word segmentation set combination sample, where the first function parameter is used to determine the position of the corresponding distribution function sample on the number axis.

[0064] S103, according to the preset second function parameter and the first function parameter corresponding to the current central word sample, obtain the distribution function sample corresponding to the current central word sample, where the distribution function sample takes the sequence number corresponding to the word segmentation in the current word segmentation set combination sample as the independent variable and the correlation between the word segmentation in the current word segmentation set combination sample and the word category corresponding to the current central word sample as the dependent variable, and the preset second function parameter is used to determine the width and height of the corresponding distribution function sample.

[0065] S104, according to the distribution function sample corresponding to the current central word sample, obtain the heat sub-value sample of each word segmentation in the current word segmentation set combination sample for the word category corresponding to the current central word sample.

[0066] S105, Traverse all the central word samples in the current judicial document fragment sample, and obtain several heat sub-value samples for each word segmentation in the current word segmentation set combination sample for each word category.

[0067] S106, According to the several heat sub-value samples for each word segmentation in the current word segmentation set combination sample for each word category, obtain the heat total value sample for each word segmentation in the current word segmentation set combination sample for each word category.

[0068] S107, For any word category, according to the heat total value sample of each word segmentation in the current word segmentation set combination sample for the current word category, obtain the reference heat data sample of the corresponding judicial document fragment of the current word segmentation set combination sample for the current word category.

[0069] S108, Traverse all the word segmentation set combination samples and all the word categories, and obtain the reference heat data sample of each judicial document fragment for each word category.

[0070] Among them, the acquisition method of the word segmentation set combination sample corresponding to each judicial document fragment sample can refer to the acquisition method of the word segmentation set combination corresponding to each initial statement combination in the target judicial document.

[0071] The central word sample refers to the word with key semantics in the word segmentation set combination sample, representing a specific semantic category, serving as the core for subsequent analysis of the relevance between word segmentation and word category, and playing a key role in the entire text analysis process.

[0072] The sequential number refers to the number assigned to each word segmentation in the word segmentation set combination sample according to its front-back order in the word segmentation set combination sample.

[0073] The position of the central word in the text will affect the degree of its semantic influence on the surrounding word segmentations. The sequential number can reflect the position information. As the central position parameter of the Gaussian distribution function, that is, the first function parameter μ, it represents the position of the central word in the word segmentation set.

[0074] Combine the preset second function parameter σ and the first function parameter μ corresponding to the current central word sample to construct a Gaussian distribution function with the sequential number corresponding to the word segmentation in the current word segmentation set combination sample as the independent variable and the relevance between the word segmentation in the current word segmentation set combination sample and the word category corresponding to the current central word sample as the dependent variable, that is, the distribution function sample, which is used to describe the attenuation law of the relevance between the word segmentation and the word category corresponding to the central word sample with the distance (measured by the sequential number of the word segmentation). Specifically, μ determines the position of the corresponding distribution function sample on the number axis, and σ determines the width and height of the corresponding Gaussian distribution function, reflecting the influence range of the central word sample.

[0075] Further, substitute the sequential number of each word segment in the combined sample of the current word segment set into the sample of the distribution function corresponding to the current central word sample, and according to the positional relationship between the word segment and the current central word sample, obtain a heat sub-value sample of each word segment for the word category corresponding to the current central word sample, which characterizes the correlation between each word segment and the word category corresponding to the current central word sample.

[0076] A word segment may be related to different word categories corresponding to multiple central words. By traversing all central word samples to comprehensively consider various correlations, and summarizing several heat sub-value samples of each word segment for each word category, such as summing or weighted summing, a heat total value sample of each word segment for each word category is obtained, which characterizes the correlation between each word segment and each word category, so as to obtain a more comprehensive and accurate quantitative result of the correlation between word segments and word categories.

[0077] Further, for any word category, combine the heat total value samples of each word segment in the combined sample of the current word segment set for this word category to obtain a reference heat data sample of the judicial document segment corresponding to the combined sample of the current word segment set for the word category corresponding to this word category, that is, the overall correlation information of this judicial document segment in this word category, as the target output for training the initial classification model, so as to calculate the difference with the actual output to characterize the output accuracy of the initial classification model.

[0078] As described above, by segmenting the sample of the judicial document segment, the central word sample and the corresponding word category are obtained. Using the Gaussian distribution function, based on the position information of the central word (i.e., the first function parameter μ) and the preset distribution range parameter (i.e., the second function parameter σ), the correlation heat value between each word segment and different word categories is calculated to accurately capture the semantic correlation between the word segments and different word categories in the judicial document. Finally, a reference heat data sample of each judicial document segment sample for each word category is obtained, which improves the accuracy of the reference heat data sample. Furthermore, when the reference heat data sample is used as the target output for training the initial classification model, the difference is calculated with the actual output to characterize the output accuracy of the initial classification model, thereby improving the accuracy of the preset classification model.

[0079] In a specific embodiment, S30 includes the following steps:

[0080] S301, for any channel of the initial classification model and any judicial document segment sample, according to the word heat data sample of the current judicial document segment sample corresponding to the current channel and the reference heat data sample of the current judicial document segment sample corresponding to the word category corresponding to the current channel, obtain the model sub-loss of the initial classification model for the current channel and the current judicial document segment sample.

[0081] S302, traverse all channels and all judicial document fragment samples of the initial classification model, and obtain the model sub-loss of the initial classification model for each channel and each judicial document fragment sample.

[0082] S303, determine the sum of the model sub-losses of the initial classification model for all channels and all judicial document fragment samples as the model total loss corresponding to the initial classification model.

[0083] Among them, calculating the model sub-loss for each channel and each judicial document fragment sample of the initial classification model characterizes the difference between the word heat data sample predicted by the model on a single channel and a single sample and the reference heat data sample. Then, traverse to obtain all the model sub-losses, and accumulate to obtain the model total loss of the initial classification model, which reflects the overall performance of the classification model on the entire training sample set.

[0084] S2, for any word heat data, determine several segmentation words corresponding to several heat centers of the current word heat data in the judicial document fragment corresponding to the current word heat data as several central words corresponding to the judicial document fragment corresponding to the current word heat data. Among them, the heat center refers to the position where the segmentation word corresponding to the heat value greater than the preset heat value threshold in the word heat data is located in the corresponding judicial document fragment.

[0085] In a specific embodiment, S2 includes the following steps:

[0086] S21, for any word heat data, obtain several heat centers corresponding to the current word heat data according to the heat value corresponding to each segmentation word in the current word heat data and the preset heat value threshold.

[0087] S22, for any heat center corresponding to the current word heat data, determine the segmentation word corresponding to the current heat center in the judicial document fragment corresponding to the current word heat data as the central word corresponding to the judicial document fragment corresponding to the current word heat data for the current heat center.

[0088] S23, traverse all heat centers corresponding to the current word heat data, and obtain all central words corresponding to the judicial document fragment corresponding to the current word heat data.

[0089] Among them, the preset heat value threshold is a numerically standard set in advance, used to judge whether the heat value of the segmentation word is high enough to determine whether the corresponding position of the segmentation word is a heat center. Specifically, when the heat value of the segmentation word is greater than the preset heat value threshold, the corresponding position of the segmentation word can be regarded as a heat center, and then the segmentation word corresponding to the heat center in the judicial document fragment is determined as the corresponding central word to reflect the main theme and key information of the target judicial document.

[0090] In a specific embodiment, the heat value is between 0 and 1. The closer the value is to 1, the stronger the correlation. The closer the value is to 0, the weaker the correlation. The specific value of the preset heat value threshold can be set by the implementer according to the actual situation. For example, the heat value threshold can be the maximum value of the dependent variable corresponding to the distribution function. For the Gaussian distribution function, the maximum value of the dependent variable is determined by the second function parameter σ. Specifically, the heat value threshold Z = 1 / (σ×(2×π) 1 / 2 ). When the amount of judicial document data to be processed is large, in order to avoid screening out too many irrelevant heat centers, the heat value threshold can be appropriately increased to ensure that the extracted central words have high representativeness and significance. Conversely, for a small amount of judicial document data, the heat value threshold can be relatively reduced to make full use of the limited data information. Or, if the accuracy requirement for information extraction is high and only the core information highly relevant to a specific word category is desired, the heat value threshold should be set high to ensure that the selected central words have high correlation and accuracy. Conversely, if the subsequent tasks require more comprehensive and rich information, such as text summary generation or knowledge graph construction, etc., the heat value threshold is appropriately reduced to obtain more potential central words and provide a more sufficient information basis for subsequent processing.

[0091] As described above, by screening to obtain the heat centers and determining the central words, the key information highly relevant to a specific word category can be accurately extracted from the judicial document fragments, so as to facilitate focusing the analysis on the key central words, avoiding meaningless searches and analyses in a large amount of irrelevant texts, simplifying the text analysis process, helping to quickly grasp the core content and key viewpoints of the documents, and thus improving the accuracy and efficiency of information extraction.

[0092] S3. Extract the central sentences corresponding to each central word from the judicial document fragment corresponding to the current word heat data.

[0093] In a specific embodiment, S3 includes the following steps:

[0094] S31. Segment each judicial document fragment according to the preset punctuation marks to obtain several segmented sentences corresponding to each judicial document fragment.

[0095] S32. For any central word corresponding to the judicial document fragment corresponding to the current word heat data, determine the segmented sentence corresponding to the current central word in the current judicial document fragment as the central sentence corresponding to the current central word.

[0096] S33. Traverse each central word corresponding to the judicial document fragment corresponding to the current word heat data to obtain all the central sentences corresponding to the current word heat data.

[0097] Among them, using preset punctuation marks, such as full stops, question marks, exclamation marks, semicolons, etc. as delimiter marks, each judicial document fragment is cut and processed, divided into several relatively independent segmented sentences, providing a basic text unit for subsequently determining the central sentence corresponding to the central word, enabling more accurate positioning and extraction of sentences related to the central word, and improving the accuracy and efficiency of text processing.

[0098] The central word is a word with important semantics in the judicial document fragment, and the sentence where it is located usually contains key information related to this central word. Therefore, by associating the central word with the segmented sentence where it is located, text content closely related to the central word can be extracted, which helps to further understand the meaning and role of the central word in the context.

[0099] As mentioned above, by extracting the central sentence corresponding to the central word, the analysis focus can be concentrated on the text content related to important semantics, avoiding ineffective searches in a large amount of irrelevant text information, improving the efficiency of information extraction and the efficiency of subsequent quality analysis. Moreover, the central sentence contains specific descriptions and context information of the central word, which helps to more deeply understand the meaning of the central word and its role in the judicial document, thereby better grasping the semantic structure and logical relationship of the entire judicial document, and improving the accuracy of subsequent quality analysis.

[0100] S4. Input each central sentence corresponding to the current word heat data and the word category corresponding to the current word heat data into a preset large language model to obtain several keywords in each central sentence corresponding to the current word heat data and the word category corresponding to each keyword.

[0101] S5. Traverse all word heat data to obtain all keywords corresponding to the target judicial document and the word category corresponding to each keyword.

[0102] Among them, the preset large language model refers to a model that has been pre-trained and has powerful language understanding and generation capabilities. Based on models such as Chat-GPT and BERT, after fine-tuning or training with judicial domain data, it can be used for tasks such as keyword extraction and quality analysis report generation of judicial documents. Specifically, the preset large language model has been trained with a large amount of judicial domain text data and has the ability to semantically understand and analyze natural language text in the judicial domain. By inputting the central sentence and the word category, the preset large language model can, according to the learned language patterns and semantic knowledge, identify important vocabulary related to this word category as keywords to accurately reflect the core content and semantic focus of the central sentence, providing key information for subsequent quality analysis of judicial documents.

[0103] Furthermore, based on the above-mentioned judicial domain text data, extracted keywords, and word categories, a large number of existing high-quality judicial document quality analysis reports are used as reference data. The judicial document quality analysis reports cover the analysis and evaluation of judicial documents of different types and complexities, including evaluation dimensions and specific analysis contents in multiple aspects such as whether the factual description in the document is accurate and complete, whether the legal application is correct and reasonable, whether the recorded content is balanced, and whether the logic is reasonable, as well as specific problem pointing-out and improvement suggestions.

[0104] During training, it is preset that the large language model will learn the structure and language expression of the quality analysis report, and understand how to analyze and evaluate various aspects of judicial documents starting from keywords and word categories. For example, learn how to judge whether the description of party information in a judicial document is complete and accurate based on keywords in the "Party Information" category; how to evaluate the correctness of the legal application in the document according to keywords in the "Legal Basis" category.

[0105] At the same time, according to the differences between the generated quality analysis report and the reference quality analysis report, the parameters of the preset large language model can be continuously adjusted to improve the accuracy, logic, and readability of the generated quality analysis report. For example, adjust the parameters of the preset large language model in each aspect through the similarity between the analysis results of each aspect in the generated quality analysis report and the corresponding part of the reference quality analysis report, so that the preset large language model can comprehensively and deeply analyze judicial documents from multiple dimensions according to the learned language patterns and semantic knowledge, based on all the keywords corresponding to the input target judicial document and the word category corresponding to each keyword, and generate a rich, accurate, and instructive quality analysis report, providing strong support for the quality evaluation and improvement of judicial documents.

[0106] Different word categories have different semantic characteristics and context requirements. Input the central sentences corresponding to each word category into the preset large language model respectively, and the preset large language model can conduct more targeted analysis and understanding for specific categories. For example, for the "Party Information" category, when processing relevant central sentences, the preset large language model will be more focused on identifying words related to personnel identities as keywords, without being interfered by information in other categories, thus improving the accuracy of keyword extraction. At the same time, it reduces the types of different semantic information that the preset large language model needs to process simultaneously, thereby reducing the difficulty of the large language model's understanding and processing. At the same time, inputting the central sentences corresponding to each word category into the preset large language model respectively, the obtained keywords will also be naturally classified according to word categories, which is convenient for summarizing keywords according to different word categories, understanding the distribution and importance of different categories in the document, and providing a data basis for the subsequent generated quality analysis report.

[0107] By traversing all the word heat data, it is ensured that keyword extraction is performed on every part of the target judicial document, comprehensively covering the content of the document and avoiding omission of important information.

[0108] As described above, the complete keyword set and the corresponding word category information of the target judicial document are obtained through the large language model, providing a rich and comprehensive data basis for subsequent quality analysis. It can more accurately evaluate the content and quality of the judicial document, improve the accuracy of keyword extraction. Moreover, the large language model only performs keyword extraction on the central sentences, avoiding ineffective word extraction in a large amount of irrelevant text information, reducing the resources occupied in the calculation and reasoning process, and improving the efficiency of keyword extraction.

[0109] S6. Input all the keywords corresponding to the target judicial document and the word category corresponding to each keyword into the preset large language model to obtain the quality analysis report corresponding to the target judicial document.

[0110] Among them, the preset large language model analyzes and evaluates the content of the judicial document based on all the keywords corresponding to the target judicial document and the word category corresponding to each keyword. Keywords and word categories reflect the core content and semantic structure of the judicial document. By analyzing keywords and word categories, the quality of the document in various aspects can be evaluated. For example, the accuracy and completeness of keywords can reflect whether the document clearly and accurately elaborates on the facts and legal points. The distribution of keywords under different word categories can reflect the balance and logic of the document content. Specifically, accurate keywords and corresponding reasonable word categories can accurately extract the key information in the target judicial document. If the facts and legal points in the target judicial document are clearly and accurately elaborated, the extracted keywords will accurately correspond to the corresponding word categories and can cover all key aspects involved in the target judicial document, indicating that the target judicial document clearly and accurately elaborates on the facts and legal points. For example, in a judicial document of a contract dispute, the keyword "contract breach clause" belongs to the "legal basis" category, the keyword "contract signing date" belongs to the "case facts" category, and the keywords "plaintiff", "defendant", and "third party" belong to the "party information" category. If the above keywords are accurately extracted and their categories are correct, it indicates that the judicial document clearly and accurately elaborates on the legal provisions on which the contract dispute is based and the key facts of the case. If keywords belonging to the "case facts" category such as "description of breach of contract" and "amount of loss" are also extracted, it further reflects the completeness of the fact elaboration in the judicial document.

[0111] The distribution of keywords under different word categories can reflect the degree of emphasis and correlation in different aspects of the content of the target judicial document. A reasonable distribution means that the target judicial document pays appropriate attention to each key area, without excessive verbosity or omission of a certain type of content, reflecting the balance of the document content. At the same time, the logical relationship between keywords can be reflected by the word categories to which the keywords belong. For example, keywords such as "filing a case", "hearing", and "judgment" belonging to the "judicial procedure" category appear in the order of the judicial process, reflecting the logic in describing the judicial procedure in the content of the target judicial document.

[0112] According to the analysis results in various aspects, a quality analysis report corresponding to the target judicial document is generated. The quality analysis report can include evaluations of the content integrity, accuracy, logic, etc. of the judicial document, as well as specific problem indications and improvement suggestions to help judicial personnel or relevant personnel quickly understand the quality status of the document, discover existing problems, and make targeted improvements, thereby improving the quality and standardization of judicial documents.

[0113] As described above, starting from the word vector data, the preset classification model is used to output word heat data, and the correlation between word segmentation and word categories is quantitatively displayed in the form of heat values, so as to accurately locate the word segmentation related to each word category in the target judicial document. Then, through a step-by-step approach, the central word, central sentence, and keyword are determined, providing a rich and comprehensive data basis for subsequent quality analysis, improving the accuracy of the quality analysis report, and effectively filtering out irrelevant text information in the target judicial document during the keyword extraction process, enabling subsequent data extraction and analysis to focus on the core content of the target judicial document, reducing the resources occupied by the large language model in the calculation and reasoning process, and improving the efficiency of the quality analysis process.

[0114] Embodiment 2

[0115] Embodiment 2 provides a big data-based judicial document analysis system, as Figure 2 shown. The big data-based judicial document analysis system includes:

[0116] A word classification module 21, configured to input the word vector data corresponding to each judicial document segment of the target judicial document into a preset classification model, and obtain the word heat data corresponding to each channel of the preset classification model for each judicial document segment. Wherein, each channel of the preset classification model corresponds to a word category, and each word heat data is used to characterize the correlation between each word segmentation in the corresponding judicial document segment and the corresponding word category through a heat value.

[0117] The central word screening module 22 is used to determine, for any word heat data, several words obtained by segmenting several heat centers corresponding to the current word heat data in the judicial document segment corresponding to the current word heat data as several central words corresponding to the judicial document segment corresponding to the current word heat data.

[0118] The central sentence extraction module 23 is used to extract the central sentence corresponding to each central word from the judicial document segment corresponding to the current word heat data.

[0119] The first keyword extraction module 24 is used to input each central sentence corresponding to the current word heat data and the word category corresponding to the current word heat data into a preset large language model to obtain several keywords in each central sentence corresponding to the current word heat data and the word category corresponding to each keyword.

[0120] The second keyword extraction module 25 is used to traverse all word heat data to obtain all keywords corresponding to the target judicial document and the word category corresponding to each keyword.

[0121] The quality analysis module 26 is used to input all keywords corresponding to the target judicial document and the word category corresponding to each keyword into a preset large language model to obtain a quality analysis report corresponding to the target judicial document.

[0122] In a specific embodiment, the word classification module 21 includes:

[0123] The word segmentation set acquisition sub-module is used to segment each initial sentence in the target judicial document to obtain a word segmentation set corresponding to each initial sentence, where the word segments in each word segmentation set are arranged in the front-to-back position order in the corresponding initial sentence.

[0124] The quantity calculation sub-module is used to obtain the word vector input quantity corresponding to the preset classification model according to the target input length corresponding to the preset classification model and the preset length of each word vector.

[0125] The combination acquisition sub-module is used to group all initial sentences according to the word vector input quantity and the number of word segments in the word segmentation set corresponding to each initial sentence to obtain several initial sentence combinations and the word segmentation set combination corresponding to each initial sentence combination, where the total number of word segments corresponding to each initial sentence combination is less than or equal to the word vector input quantity.

[0126] The judicial document segment determination sub-module is used to determine each initial sentence combination as a judicial document segment.

[0127] The word vector data acquisition sub-module is used to perform word vector conversion on each word in the combined word segmentation sets corresponding to each judicial document segment, and obtain the word vector data corresponding to each judicial document segment.

[0128] In a specific embodiment, the word classification module 21 further includes:

[0129] The sample data acquisition sub-module is used to obtain a number of judicial document segment samples, the word vector data samples corresponding to each judicial document segment sample, and the reference heat data samples corresponding to each word category for each judicial document segment sample.

[0130] The sample word classification sub-module is used to input the word vector data samples corresponding to each judicial document segment sample into the initial classification model, and obtain the word heat data samples corresponding to each channel of the initial classification model for each judicial document segment sample.

[0131] The loss calculation sub-module is used to obtain the total model loss corresponding to the initial classification model according to the word heat data samples corresponding to each channel of the initial classification model for each judicial document segment sample and the reference heat data samples corresponding to each word category for each judicial document segment sample.

[0132] The model training sub-module is used to update the parameters of the initial classification model according to the total model loss until the total model loss converges, and obtain the trained preset classification model.

[0133] In a specific embodiment, the sample data acquisition sub-module includes:

[0134] The sample data acquisition unit is used to obtain the combined word segmentation set samples corresponding to each judicial document segment sample, a number of central word samples corresponding to each combined word segmentation set sample, and the word categories corresponding to each central word sample.

[0135] The first function parameter acquisition unit is used to determine the first function parameter corresponding to any central word sample in any combined word segmentation set sample according to the sequence number of the current central word sample in the current combined word segmentation set sample, where the first function parameter is used to determine the position of the corresponding distribution function sample on the number axis.

[0136] A distribution function acquisition unit is configured to obtain a distribution function sample corresponding to the current central word sample according to a preset second function parameter and a first function parameter corresponding to the current central word sample. The distribution function sample takes the sequence number corresponding to the word segmentation in the current word segmentation set combination sample as the independent variable, and takes the correlation between the word segmentation in the current word segmentation set combination sample and the word category corresponding to the current central word sample as the dependent variable. The preset second function parameter is used to determine the width, height and shape of the corresponding distribution function sample.

[0137] A first thermal sub-value acquisition unit is configured to obtain a thermal sub-value sample of each word segmentation in the current word segmentation set combination sample for the word category corresponding to the current central word sample according to the distribution function sample corresponding to the current central word sample.

[0138] A second thermal sub-value acquisition unit is configured to traverse all central word samples in the current judicial document segment sample, and obtain a plurality of thermal sub-value samples of each word segmentation in the current word segmentation set combination sample for each word category.

[0139] A total thermal value acquisition unit is configured to obtain a total thermal value sample of each word segmentation in the current word segmentation set combination sample for each word category according to a plurality of thermal sub-value samples of each word segmentation in the current word segmentation set combination sample for each word category.

[0140] A first reference data acquisition unit is configured to obtain a reference thermal data sample corresponding to the current judicial document segment of the current word segmentation set combination sample for the current word category according to the total thermal value sample of each word segmentation in the current word segmentation set combination sample for any word category.

[0141] A second reference data acquisition unit is configured to traverse all word segmentation set combination samples and all word categories, and obtain a reference thermal data sample corresponding to each judicial document segment for each word category.

[0142] In a specific embodiment, the loss calculation sub-module includes:

[0143] A first model sub-loss calculation unit is configured to obtain a model sub-loss of the initial classification model for the current channel and the current judicial document segment sample according to the word thermal data sample corresponding to the current judicial document segment sample for the current channel and the reference thermal data sample corresponding to the word category corresponding to the current channel of the current judicial document segment sample for any channel and any judicial document segment sample of the initial classification model.

[0144] A second model sub-loss calculation unit is configured to traverse all channels and all judicial document segment samples of the initial classification model, and obtain a model sub-loss of the initial classification model for each channel and each judicial document segment sample.

[0145] A total model loss calculation unit, which is configured to determine the sum of the model sub-losses of the initial classification model for all channels and all judicial document fragment samples as the total model loss corresponding to the initial classification model.

[0146] In a specific embodiment, the central word screening module 22 includes:

[0147] A heat center acquisition sub-module, which is configured to obtain several heat centers corresponding to the current word heat data according to the heat value corresponding to each word segmentation in the current word heat data and a preset heat value threshold for any word heat data.

[0148] A first central word acquisition sub-module, which is configured to determine the word segmentation corresponding to the current heat center in the judicial document fragment corresponding to the current word heat data as the central word corresponding to the current heat center for the judicial document fragment corresponding to the current word heat data.

[0149] A second central word acquisition sub-module, which is configured to traverse all the heat centers corresponding to the current word heat data to obtain all the central words corresponding to the judicial document fragment corresponding to the current word heat data.

[0150] In a specific embodiment, the central sentence extraction module 23 includes:

[0151] A sentence splitting sub-module, which is configured to split each judicial document fragment according to preset punctuation marks to obtain several split sentences corresponding to each judicial document fragment.

[0152] A first central sentence acquisition sub-module, which is configured to determine the split sentence corresponding to the current central word in the current judicial document fragment as the central sentence corresponding to the current central word for any central word corresponding to the judicial document fragment corresponding to the current word heat data.

[0153] A second central sentence acquisition sub-module, which is configured to traverse each central word corresponding to the judicial document fragment corresponding to the current word heat data to obtain all the central sentences corresponding to the current word heat data.

[0154] It should be noted that the information interaction, execution process, etc. between the above modules, due to being based on the same concept as the method embodiment of the present invention, for their specific functions and the technical effects brought, reference can be specifically made to the method embodiment part, and details are not elaborated here.

[0155] The above are only the preferred embodiments of the present invention and do not impose any form of limitation on the present invention. Although the present invention has been disclosed above with the preferred embodiments, it is not intended to limit the present invention. Any person skilled in the relevant art can make some changes or modifications to equivalent embodiments by using the disclosed technical content within the scope of the technical solution of the present invention. However, as long as it does not depart from the content of the technical solution of the present invention, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention still fall within the scope of the technical solution of the present invention.

Claims

1. A method for analyzing judicial documents based on big data, characterized in that, The big data-based judicial document analysis method includes the following steps: S1. Input the word vector data corresponding to each judicial document segment of the target judicial document into a preset classification model, and obtain the word heat data of each judicial document segment corresponding to each channel of the preset classification model. Wherein, each channel of the preset classification model corresponds to a word category, and each word heat data is used to represent the correlation between each word segment and the corresponding word category in the corresponding judicial document segment through a heat value; S2. For any word heat data, determine the several word segments corresponding to several heat centers in the judicial document segment corresponding to the current word heat data as several central words corresponding to the judicial document segment corresponding to the current word heat data. Wherein, the heat center refers to the position of the word segment corresponding to the heat value greater than the preset heat value threshold in the corresponding judicial document segment in the word heat data; S3. Extract the central sentence corresponding to each central word from the judicial document segment corresponding to the current word heat data; S4. Input each central sentence corresponding to the current word heat data and the word category corresponding to the current word heat data into a preset large language model, and obtain several keywords in each central sentence corresponding to the current word heat data and the word category corresponding to each keyword; S5. Traverse all the word heat data to obtain all the keywords corresponding to the target judicial document and the word category corresponding to each keyword; S6. Input all the keywords corresponding to the target judicial document and the word category corresponding to each keyword into the preset large language model to obtain the quality analysis report corresponding to the target judicial document.

2. The method for analyzing judicial documents based on big data according to claim 1, wherein S1 includes the following steps: S11. Segment each initial sentence in the target judicial document to obtain a word segment set corresponding to each initial sentence, wherein the word segments in each word segment set are arranged in the front-back position order in the corresponding initial sentence; S12. According to the target input length corresponding to the preset classification model and the preset length of each word vector, obtain the word vector input quantity corresponding to the preset classification model; S13. Group all the initial sentences according to the word vector input quantity and the number of word segments in the word segment set corresponding to each initial sentence, and obtain several initial sentence combinations and the word segment set combinations corresponding to each initial sentence combination, wherein the total number of word segments corresponding to each initial sentence combination is less than or equal to the word vector input quantity; S14. Determine each initial sentence combination as a judicial document segment; S15. Perform word vector conversion on each word segment in the word segment set combination corresponding to each judicial document segment to obtain the word vector data corresponding to each judicial document segment.

3. The method for analyzing judicial documents based on big data according to claim 1, wherein The preset classification model is trained through the following steps: S10. Obtain several judicial document segment samples, the word vector data samples corresponding to each judicial document segment sample, and the reference heat data samples corresponding to each judicial document segment sample for each word category; S20. Input the word vector data samples corresponding to each sample of the judicial document fragments into the initial classification model, and obtain the word heat data samples corresponding to each sample of the judicial document fragments for each channel of the initial classification model; S30. According to the word heat data samples corresponding to each sample of the judicial document fragments for each channel of the initial classification model and the reference heat data samples corresponding to each sample of the judicial document fragments for each word category, obtain the total model loss corresponding to the initial classification model; S40. Update the parameters of the initial classification model according to the total model loss until the total model loss converges, and obtain the trained preset classification model.

4. The method for analyzing judicial documents based on big data according to claim 3, characterized in that, S10 includes the following steps: S101. Obtain the combined sample of the word segmentation sets corresponding to each sample of the judicial document fragments, several central word samples corresponding to each combined sample of the word segmentation sets, and the word categories corresponding to each central word sample; S102. For any central word sample in any combined sample of the word segmentation sets, determine the first function parameter corresponding to the current central word sample according to the sequence number of the current central word sample in the current combined sample of the word segmentation sets, where the first function parameter is used to determine the position of the corresponding distribution function sample on the number axis; S103. According to the preset second function parameter and the first function parameter corresponding to the current central word sample, obtain the distribution function sample corresponding to the current central word sample, where the distribution function sample takes the sequence number corresponding to the word segmentation in the current combined sample of the word segmentation sets as the independent variable and the correlation between the word segmentation in the current combined sample of the word segmentation sets and the word category corresponding to the current central word sample as the dependent variable, and the preset second function parameter is used to determine the width, height and shape of the corresponding distribution function sample; S104. According to the distribution function sample corresponding to the current central word sample, obtain the heat sub-value sample corresponding to each word segmentation in the current combined sample of the word segmentation sets for the word category corresponding to the current central word sample; S105. Traverse all the central word samples in the current sample of the judicial document fragments, and obtain several heat sub-value samples corresponding to each word segmentation in the current combined sample of the word segmentation sets for each word category; S106. According to the several heat sub-value samples corresponding to each word segmentation in the current combined sample of the word segmentation sets for each word category, obtain the total heat value sample corresponding to each word segmentation in the current combined sample of the word segmentation sets for each word category; S107. For any word category, according to the total heat value sample corresponding to each word segmentation in the current combined sample of the word segmentation sets for the current word category, obtain the reference heat data sample corresponding to the sample of the judicial document corresponding to the current combined sample of the word segmentation sets for the current word category; S108. Traverse all the combined samples of the word segmentation sets and all the word categories, and obtain the reference heat data samples corresponding to each sample of the judicial document for each word category.

5. The method for analyzing judicial documents based on big data according to claim 3, characterized in that S30 includes the following steps: S301. For any channel and any sample of judicial document fragments of the initial classification model, based on the word heat data sample corresponding to the current judicial document fragment sample for the current channel and the reference heat data sample corresponding to the word category corresponding to the current judicial document fragment sample for the current channel, obtain the model sub-loss of the initial classification model for the current channel and the current judicial document fragment sample. S302. Traverse all channels and all samples of judicial document fragments of the initial classification model, and obtain the model sub-loss of the initial classification model for each channel and each sample of judicial document fragments. S303. Determine the sum of the model sub-losses of the initial classification model for all channels and all samples of judicial document fragments as the model total loss corresponding to the initial classification model.

6. The method for analyzing judicial documents based on big data according to claim 1, wherein S2 includes the following steps: S21. For any word heat data, based on the heat value corresponding to each word segment in the current word heat data and a preset heat value threshold, obtain several heat centers corresponding to the current word heat data. S22. For any heat center corresponding to the current word heat data, determine the word segment corresponding to the current heat center in the judicial document fragment corresponding to the current word heat data as the central word corresponding to the current heat center of the judicial document fragment corresponding to the current word heat data. S23. Traverse all heat centers corresponding to the current word heat data, and obtain all central words corresponding to the judicial document fragment corresponding to the current word heat data.

7. The method for analyzing judicial documents based on big data according to claim 1, wherein S3 includes the following steps: S31. According to preset punctuation marks, segment each judicial document fragment to obtain several segmented sentences corresponding to each judicial document fragment. S32. For any central word corresponding to the judicial document fragment corresponding to the current word heat data, determine the segmented sentence corresponding to the current central word in the current judicial document fragment as the central sentence corresponding to the current central word. S33. Traverse each central word corresponding to the judicial document fragment corresponding to the current word heat data, and obtain all central sentences corresponding to the current word heat data.

8. A judicial document analysis system based on big data, characterized in that, The big data-based judicial document analysis system includes: A word classification module, which is used to input the word vector data corresponding to each judicial document fragment of the target judicial document into a preset classification model, and obtain the word heat data corresponding to each judicial document fragment for each channel of the preset classification model. Among them, each channel of the preset classification model corresponds to a word category, and each word heat data is used to represent the correlation between each word segment in the corresponding judicial document fragment and the corresponding word category through the heat value. A central word screening module, which is used for any word heat data, and determines the several word segments corresponding to several heat centers corresponding to the current word heat data in the judicial document fragment corresponding to the current word heat data as several central words corresponding to the judicial document fragment corresponding to the current word heat data. Among them, the heat center refers to the position of the word segment corresponding to the heat value greater than the preset heat value threshold in the word heat data in the corresponding judicial document fragment. A central statement extraction module, which is used to extract the central statement corresponding to each central word from the judicial document segment corresponding to the current word heat data; A first keyword extraction module, which is used to input each central statement corresponding to the current word heat data and the word category corresponding to the current word heat data into a preset large language model, and obtain several keywords in each central statement corresponding to the current word heat data and the word category corresponding to each keyword; A second keyword extraction module, which is used to traverse all the word heat data, and obtain all the keywords corresponding to the target judicial document and the word category corresponding to each keyword; A quality analysis module, which is used to input all the keywords corresponding to the target judicial document and the word category corresponding to each keyword into the preset large language model, and obtain a quality analysis report corresponding to the target judicial document.

9. The judicial document analysis system based on big data according to claim 8, characterized in that, The word classification module includes: A word segmentation set acquisition sub-module, which is used to segment each initial statement in the target judicial document to obtain a word segmentation set corresponding to each initial statement, wherein the word segments in each word segmentation set are arranged in the front-back position order in the corresponding initial statement; A quantity calculation sub-module, which is used to obtain the word vector input quantity corresponding to the preset classification model according to the target input length corresponding to the preset classification model and the preset length of each word vector; A combination acquisition sub-module, which is used to group all the initial statements according to the word vector input quantity and the number of word segments in the word segmentation set corresponding to each initial statement, and obtain several initial statement combinations and the word segmentation set combinations corresponding to each initial statement combination, wherein the total number of word segments corresponding to each initial statement combination is less than or equal to the word vector input quantity; A judicial document segment determination sub-module, which is used to determine each initial statement combination as a judicial document segment; A word vector data acquisition sub-module, which is used to perform word vector conversion on each word segment in the word segmentation set combination corresponding to each judicial document segment, and obtain the word vector data corresponding to each judicial document segment.

10. The judicial document analysis system based on big data according to claim 8, characterized in that, The central word screening module includes: A heat center acquisition sub-module, which is used to obtain several heat centers corresponding to the current word heat data according to the heat value corresponding to each word segment in the current word heat data and a preset heat value threshold for any word heat data; A first central word acquisition sub-module, which is used to determine the word segment corresponding to the current heat center in the judicial document segment corresponding to the current word heat data as the central word corresponding to the current heat center in the judicial document segment corresponding to the current word heat data for any heat center corresponding to the current word heat data; A second central word acquisition sub-module, which is used to traverse all the heat centers corresponding to the current word heat data, and obtain all the central words corresponding to the judicial document segment corresponding to the current word heat data.

Citation Information

Patent Citations

  • Judgment document retrieval method based on semantic matching and server

    CN106502996A

  • Method and apparatus for realizing element recognition in judicial document

    WO2020114373A1