WO2021042560A1 - Case auxiliary information prompting method, device, storage medium and server - Google Patents

Case auxiliary information prompting method, device, storage medium and server Download PDF

Info

Publication number
WO2021042560A1
WO2021042560A1 PCT/CN2019/118557 CN2019118557W WO2021042560A1 WO 2021042560 A1 WO2021042560 A1 WO 2021042560A1 CN 2019118557 W CN2019118557 W CN 2019118557W WO 2021042560 A1 WO2021042560 A1 WO 2021042560A1
Authority
WO
WIPO (PCT)
Prior art keywords
case
information
legal
keyword
sentencing
Prior art date
Application number
PCT/CN2019/118557
Other languages
French (fr)
Chinese (zh)
Inventor
戴广宇
周剀
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2021042560A1 publication Critical patent/WO2021042560A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/35Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/18Legal services; Handling legal documents

Abstract

Provided are a case auxiliary information prompting method, a device, a storage medium and a server. The method comprises: obtaining a judgment result text of a case (101); extracting sentence information and applicable laws of the case from the judgment result text (102); extracting case information of the case from a legal document related to the case (103); inputting the case information into a pre-constructed first neural network model, and determining the reasonability of the sentence information according to an output result of the first neural network model (104); inputting the case information into a pre-constructed second neural network model, and determining whether the applicable laws are correct according to an output result of the second neural network model (105); and if the reasonability of the sentence information is lower than a preset threshold or the applicable laws are incorrect, outputting auxiliary information for indicating that the case judgment is wrong (106). With this method, a judge can be assisted in supervising and rechecking a judgment result of a case.

Description

一种案件辅助信息的提示方法、装置、存储介质和服务器Method, device, storage medium and server for prompting case auxiliary information
本申请要求于2019年9月3日提交中国专利局、申请号为201910829464.6、申请名称为“一种案件辅助信息的提示方法、装置、存储介质和服务器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on September 3, 2019, the application number is 201910829464.6, and the application name is "a method, device, storage medium and server for prompting auxiliary information in a case", all of which The content is incorporated in this application by reference.
技术领域Technical field
本申请涉及计算机技术领域,尤其涉及一种案件辅助信息的提示方法、装置、存储介质和服务器。This application relates to the field of computer technology, and in particular to a method, device, storage medium and server for prompting case auxiliary information.
背景技术Background technique
目前,案件的审判过程很大程度依赖于法官的主观意识和看法。若法官在案件审判的过程中出错,则可能导致冤假错案的发生。因此,如何辅助法官对案件的判决结果进行监督和复核,减少案件误判行为的发生成为技术人员需要考虑的一个问题。At present, the trial process of a case depends to a large extent on the subjective consciousness and opinions of the judge. If the judge makes a mistake during the trial of the case, it may lead to the occurrence of unjust, false and wrong cases. Therefore, how to assist the judge in supervising and reviewing the judgment results of the case and reducing the occurrence of misjudgment has become a problem for technicians to consider.
技术问题technical problem
有鉴于此,本申请实施例提供了一种案件辅助信息的提示方法、装置、存储介质和服务器,能够辅助法官对案件的判决结果进行监督和复核,减少案件误判行为的发生。In view of this, the embodiments of the present application provide a method, device, storage medium and server for prompting case auxiliary information, which can assist judges in supervising and reviewing the judgment results of the case, and reduce the occurrence of misjudgment behaviors.
技术解决方案Technical solutions
本申请实施例的第一方面,提供了一种案件辅助信息的提示方法,包括:The first aspect of the embodiments of the present application provides a method for prompting case auxiliary information, including:
获取案件的判决结果文本;Obtain the text of the judgment result of the case;
从所述判决结果文本中提取出所述案件的量刑信息和适用法条;Extract the sentencing information and applicable laws and regulations of the case from the text of the judgment result;
从与所述案件相关的法律文书中提取出所述案件的案情信息;Extract information on the merits of the case from legal documents related to the case;
将所述案情信息输入预先构建的第一神经网络模型,通过所述第一神经网络模型的输出结果确定所述量刑信息的合理度,所述第一神经网络模型由对应于所述量刑信息的多个第一样本案件的案情数据作为训练集训练获得,所述第一神经网络模型通过将所述案情信息和所述第一样本案件的案情数据进行匹配得到第一相似度,并根据所述第一相似度的大小确定所述量刑信息的合理度;The case information is input into a pre-built first neural network model, and the reasonableness of the sentencing information is determined by the output result of the first neural network model, and the first neural network model is determined by the information corresponding to the sentencing information. The case data of a plurality of first sample cases are trained as a training set, and the first neural network model obtains the first similarity by matching the case information with the case data of the first sample case, and according to The magnitude of the first degree of similarity determines the reasonableness of the sentencing information;
将所述案情信息输入预先构建的第二神经网络模型,通过所述第二神经网络模型的输出结果确定所述适用法条是否正确,所述第二神经网络模型由对应于所述适用法条的多个第二样本案件的案情数据作为训练集训练获得,所述第二神经网络模型通过将所述案情信息和所述第二样本案件的案情数据进行匹配得到第二相似度,并根据所述第二相似度的大小确定所述适用法条是否正确;The case information is input to a pre-built second neural network model, and the output result of the second neural network model is used to determine whether the applicable law is correct, and the second neural network model is determined by corresponding to the applicable law The case data of the multiple second sample cases is obtained as a training set training, and the second neural network model obtains the second similarity by matching the case information and the case data of the second sample case. The magnitude of the second degree of similarity determines whether the applicable law is correct;
若所述量刑信息的合理度低于预设的阈值或者所述适用法条不正确,则输出用于指示所述案件判决有误的辅助信息。If the reasonableness of the sentencing information is lower than a preset threshold or the applicable legal provisions are incorrect, output auxiliary information indicating that the case is incorrectly judged.
本申请实施例的第二方面,提供了一种面向法官的用户画像装置,包括:The second aspect of the embodiments of the present application provides a user portrait device for judges, including:
判决结果获取模块,用于获取案件的判决结果文本;Judgment result obtaining module, used to obtain the text of the judgment result of the case;
判决信息提取模块,用于从所述判决结果文本中提取出所述案件的量刑信息和适用法条;The judgment information extraction module is used to extract the sentencing information and applicable laws and regulations of the case from the text of the judgment result;
案情信息提取模块,用于从与所述案件相关的法律文书中提取出所述案件的案情信息;The case information extraction module is used to extract the case information of the case from the legal documents related to the case;
量刑合理度确定模块,用于将所述案情信息输入预先构建的第一神经网络模型,通过所述第一神经网络模型的输出结果确定所述量刑信息的合理度,所述第一神经网络模型由对应于所述量刑信息的多个第一样本案件的案情数据作为训练集训练获得,所述第一神经网络模型通过将所述案情信息和所述第一样本案件的案情数据进行匹配得到第一相似度,并根据所述第一相似度的大小确定所述量刑信息的合理度;The sentencing rationality determination module is configured to input the case information into a pre-built first neural network model, and determine the rationality of the sentencing information through the output result of the first neural network model, the first neural network model The case data of a plurality of first sample cases corresponding to the sentencing information is obtained as a training set for training, and the first neural network model matches the case information with the case data of the first sample case Obtain the first degree of similarity, and determine the reasonableness of the sentencing information according to the magnitude of the first degree of similarity;
适用法条确定模块,用于将所述案情信息输入预先构建的第二神经网络模型,通过所述第二神经网络模型的输出结果确定所述适用法条是否正确,所述第二神经网络模型由对应于所述适用法条的多个第二样本案件的案情数据作为训练集训练获得,所述第二神经网络模型通过将所述案情信息和所述第二样本案件的案情数据进行匹配得到第二相似度,并根据所述第二相似度的大小确定所述适用法条是否正确;The applicable law article determination module is used to input the case information into a pre-built second neural network model, and determine whether the applicable law article is correct according to the output result of the second neural network model, and the second neural network model The case data of a plurality of second sample cases corresponding to the applicable law is obtained as a training set for training, and the second neural network model is obtained by matching the case information with the case data of the second sample case A second degree of similarity, and determine whether the applicable law is correct according to the magnitude of the second degree of similarity;
辅助信息输出模块,用于若所述量刑信息的合理度低于预设的阈值或者所述适用法条不正确,则输出用于指示所述案件判决有误的辅助信息。The auxiliary information output module is configured to output auxiliary information for indicating that the judgment of the case is incorrect if the reasonableness of the sentencing information is lower than a preset threshold or the applicable law is incorrect.
本申请实施例的第三方面,提供了一种计算机非易失性可读存储介质,所述计算机非易失性可读存储介质存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如本申请实施例的第一方面提出的案件辅助信息的提示方法的步骤。A third aspect of the embodiments of the present application provides a computer non-volatile readable storage medium, the computer non-volatile readable storage medium stores computer readable instructions, and the computer readable instructions are executed by a processor When executed, the steps of the method for prompting case auxiliary information proposed in the first aspect of the embodiments of the present application are implemented.
本申请实施例的第四方面,提供了一种服务器,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如本申请实施例的第一方面提出的案件辅助信息的提示方法的步骤。In a fourth aspect of the embodiments of the present application, a server is provided, including a memory, a processor, and computer-readable instructions stored in the memory and running on the processor, and the processor executes the computer When the instructions are readable, the steps of the method for prompting case auxiliary information as proposed in the first aspect of the embodiments of the present application are implemented.
有益效果Beneficial effect
本申请实施例提出的案件辅助信息的提示方法,当法官审判完一个案件并产生相应的判决结果文本之后,系统能够从该判决结果文本中提取出相应的量刑信息和适用法条,然后再从相关的法律文书中提取该案件的案情信息,通过将该案情信息分别输入与该量刑信息对应的神经网络模型以及与该适用法条对应的神经网络模型,从而确定该案件的量刑是 否合理以及适用法条是否正确。若量刑不合理或者适用法条不正确,则会输出用于指示该案件判决有误的辅助信息,从而协助法官对案件的判决结果进行监督和复核,减少案件误判行为的发生。In the method for prompting case auxiliary information proposed in the embodiment of this application, after the judge finishes the trial of a case and produces the corresponding judgment result text, the system can extract the corresponding sentencing information and applicable laws and regulations from the judgment result text, and then retrieve it from The case information of the case is extracted from the relevant legal documents, and the case information is input into the neural network model corresponding to the sentencing information and the neural network model corresponding to the applicable law to determine whether the sentencing of the case is reasonable and applicable Whether the law is correct. If the sentencing is unreasonable or the applicable laws and regulations are incorrect, auxiliary information indicating that the judgment of the case is wrong will be output, so as to assist the judge in supervising and reviewing the judgment of the case, and reducing the occurrence of misjudgment.
附图说明Description of the drawings
图1是本申请实施例提供的一种案件辅助信息的提示方法的第一个实施例的流程图;Fig. 1 is a flowchart of a first embodiment of a method for prompting case auxiliary information provided by an embodiment of the present application;
图2是本申请实施例提供的一种案件辅助信息的提示方法的第二个实施例的流程图;2 is a flowchart of a second embodiment of a method for prompting case auxiliary information provided by an embodiment of the present application;
图3是本申请实施例提供的一种案件辅助信息的提示装置的一个实施例的结构图;FIG. 3 is a structural diagram of an embodiment of a device for prompting case auxiliary information provided by an embodiment of the present application;
图4是本申请实施例提供的一种服务器的示意图。Fig. 4 is a schematic diagram of a server provided by an embodiment of the present application.
本申请的实施方式Implementation of this application
请参阅图1,本申请实施例中一种案件辅助信息的提示方法的第一个实施例包括:Referring to Fig. 1, a first embodiment of a method for prompting case auxiliary information in an embodiment of the present application includes:
101、获取案件的判决结果文本;101. Obtain the text of the judgment result of the case;
当一个案件完成审判,产生判决结果之后,服务器会获取该案件的判决结果文本。该案件可以是刑事案件、民事案件等各类需要审判的案件,该判决结果文本可以是电子版的案件判决书,记录着案件的审判结果。When a case is completed and the judgment result is produced, the server will obtain the text of the judgment result of the case. The case can be a criminal case, a civil case, and other cases that need to be tried, and the text of the judgment result can be an electronic version of the case judgment, which records the trial result of the case.
102、从所述判决结果文本中提取出所述案件的量刑信息和适用法条;102. Extract the sentencing information and applicable laws and regulations of the case from the text of the judgment result;
在获得判决结果文本之后,服务器会从该判决结果文本中提取出该案件的量刑信息和适用法条。具体的,量刑信息可以包括三年以下有期徒刑、三年以下拘役、三年以下管制、三年以上十年以下有期徒刑、十年以上有期徒刑、无期徒刑、死刑等,适用法条是法官判决案件时采用的法律条文,比如“中华人民共和国刑法第九条…”、“婚姻法第六条”等。在实际操作中,可以采用关键词检测与提取的方式从该判决结果文本中提取出所述案件的量刑信息和适用法条。比如若检测到关键词“死刑”,则可提取出量刑信息为“死刑”,以此类推。After obtaining the text of the judgment result, the server will extract the sentencing information and applicable laws of the case from the text of the judgment result. Specifically, sentencing information can include fixed-term imprisonment of less than three years, criminal detention less than three years, surveillance of less than three years, fixed-term imprisonment of more than three years and less than 10 years, fixed-term imprisonment of more than 10 years, life imprisonment, death penalty, etc. The applicable law is a judge's judgment The legal provisions adopted in the case, such as "Article 9 of the Criminal Law of the People's Republic of China...", "Article 6 of the Marriage Law", etc. In actual operation, the method of keyword detection and extraction can be used to extract the sentencing information and applicable laws and regulations of the case from the text of the judgment result. For example, if the keyword "death penalty" is detected, the sentencing information can be extracted as "death penalty", and so on.
103、从与所述案件相关的法律文书中提取出所述案件的案情信息;103. Extract the case information of the case from legal documents related to the case;
接着,服务器会从与所述案件相关的法律文书中提取出所述案件的案情信息。这些法律文书记载着该案件的具体的案情信息,比如案件的前因、过程和后果,相关人员的证词等。在实际操作中,同样可以采用关键词检测与提取的方式从该法律文书中提取出案情信息。Then, the server extracts the case information of the case from the legal documents related to the case. These legal documents record the specific facts of the case, such as the cause, process and consequences of the case, and the testimony of relevant personnel. In actual operation, keyword detection and extraction can also be used to extract case information from the legal document.
104、将所述案情信息输入预先构建的第一神经网络模型,通过所述第一神经网络模型的输出结果确定所述量刑信息的合理度;104. Input the case information into a pre-built first neural network model, and determine the reasonableness of the sentencing information based on the output result of the first neural network model;
在提取出案情信息之后,服务器将这些案情信息输入预先构建的第一神经网络模型, 通过所述第一神经网络模型的输出结果确定所述量刑信息的合理度。该第一神经网络模型由对应于所述量刑信息的多个样本案件的案情数据作为训练集训练获得,比如若该量刑信息为“无期徒刑”,则该第一神经网络模型由被量刑为“无期徒刑”的多个历史样本案件的案情数据作为训练集训练获得。具体的,该第一神经网络模型在获取到输入的案情信息之后,会将该案情信息和对应于所述量刑信息的各个历史样本案件的案情数据进行相似度的匹配,得到一个相似度作为输出结果,然后可以根据该相似度的大小确定该量刑信息的合理度,相似度越大则对应的合理度越高,比如若相似度为90%,则确定合理度为80(最大100);若相似度为80%,则确定合理度为60等。After extracting the case information, the server inputs the case information into the pre-built first neural network model, and the rationality of the sentencing information is determined by the output result of the first neural network model. The first neural network model is obtained by training the case data of multiple sample cases corresponding to the sentencing information as a training set. For example, if the sentencing information is "life imprisonment", the first neural network model is changed from sentenced to " The case data of multiple historical sample cases of life imprisonment is obtained as training set training. Specifically, after the first neural network model obtains the input case information, it will match the case information with the case data of each historical sample case corresponding to the sentencing information, and obtain a similarity as the output As a result, the reasonableness of the sentencing information can be determined according to the similarity. The greater the similarity, the higher the corresponding reasonableness. For example, if the similarity is 90%, the reasonableness is determined to be 80 (maximum 100); if If the similarity is 80%, the reasonableness is determined to be 60 and so on.
105、将所述案情信息输入预先构建的第二神经网络模型,通过所述第二神经网络模型的输出结果确定所述适用法条是否正确;105. Input the case information into a pre-built second neural network model, and determine whether the applicable law is correct according to the output result of the second neural network model;
另外,服务器还会将所述案情信息输入预先构建的第二神经网络模型,通过所述第二神经网络模型的输出结果确定所述适用法条是否正确,该第二神经网络模型由对应于所述适用法条的多个样本案件的案情数据作为训练集训练获得,比如若该适用法条为“刑法第九条”,则该第二神经网络模型由被判定适用法条为“刑法第九条”的多个历史样本案件的案情数据作为训练集训练获得。In addition, the server will also input the case information into a pre-built second neural network model, and determine whether the applicable law is correct through the output result of the second neural network model. The second neural network model is determined by the corresponding The case data of multiple sample cases mentioned in the applicable law are obtained as training set training. For example, if the applicable law is “Article 9 of the Criminal Law”, the second neural network model is determined to be applicable to the “Criminal Law Article 9”. The case data of multiple historical sample cases of "bar" is obtained as training set training.
具体的,该第二神经网络模型在获取到输入的案情信息之后,会将该案情信息和对应于所述适用法条的各个历史样本案件的案情数据进行相似度的匹配,得到一个相似度作为输出结果,然后可以根据该相似度的大小确定该适用法条是否正确,比如若该相似度超过某个预设的阈值,则确定适用法条正确;若该相似度未超过该阈值,则确定适用法条错误。Specifically, after the second neural network model obtains the input case information, it will match the case information with the case data of each historical sample case corresponding to the applicable law to obtain a similarity as Output results, and then determine whether the applicable law is correct according to the degree of similarity. For example, if the similarity exceeds a certain preset threshold, the applicable law is determined to be correct; if the similarity does not exceed the threshold, then determine The applicable law is wrong.
优选的,第一神经网络模型及第二神经网络模型均可以采用基于BP神经网络的二分类器,该网络由一个输入层、至少一个隐藏层及一个输出层构成,通过将样本集合(Ai,Bi)送入网络,计算网络的实际输出O与样本值Bi之间的误差D,根据D调整网络的权值矩阵W,从而通过不断的训练使得误差D不超过规定的范围。针对该神经网络模型,其数学表达式可为y i=f(net i),其中,
Figure PCTCN2019118557-appb-000001
W为神经元连接的权值,θ为预先设置的偏置值。其中,激活函数f可选择sigmoid函数,在训练BP神经网络模型时,可采用梯度下降BP训练函数,即将样本输入到神经网络得到输出值后,计算输出值和预计值之间的误差值,将误差值通过反向传播算法从后向前逐层输入到隐藏层,计算出各层参数的偏差,之后将参数移动特定的步长来进行调节,直至参数调整到合适的程度,即误差在可接受的范围内。待分类器训练完成后,将所述案情信息输入到分类器中,获取该分类器输出的结果(0或1)以确定该量刑信息以及适用法条是否合理,比如该分类器输出0则表 示该量刑信息的合理度过低,或者该适用法条错误;输出1则表示该量刑信息的合理度较高,或者该适用法条正确。
Preferably, both the first neural network model and the second neural network model can use a two-classifier based on a BP neural network. The network consists of an input layer, at least one hidden layer and an output layer. The sample set (Ai, Bi) is sent to the network, the error D between the actual output O of the network and the sample value Bi is calculated, and the weight matrix W of the network is adjusted according to D, so that the error D does not exceed the specified range through continuous training. For the neural network model, its mathematical expression can be y i =f(net i ), where,
Figure PCTCN2019118557-appb-000001
W is the weight of the neuron connection, and θ is the preset bias value. Among them, the activation function f can choose the sigmoid function. When training the BP neural network model, the gradient descent BP training function can be used, that is, after the sample is input to the neural network to obtain the output value, the error value between the output value and the expected value is calculated, and the The error value is input to the hidden layer layer by layer through the back-propagation algorithm, and the deviation of the parameters of each layer is calculated, and then the parameters are adjusted by moving a specific step length until the parameters are adjusted to an appropriate level, that is, the error is Within the acceptable range. After the classifier training is completed, input the case information into the classifier, and obtain the output result (0 or 1) of the classifier to determine whether the sentencing information and the applicable laws are reasonable. For example, if the classifier outputs 0, it means The reasonableness of the sentencing information is too low, or the applicable law is wrong; output 1 indicates that the sentencing information is reasonably reasonable or the applicable law is correct.
106、若所述量刑信息的合理度低于预设的阈值或者所述适用法条不正确,则输出用于指示所述案件判决有误的辅助信息。106. If the reasonableness of the sentencing information is lower than a preset threshold or the applicable law is incorrect, output auxiliary information indicating that the case is incorrectly judged.
若所述量刑信息的合理度低于预设的阈值或者所述适用法条不正确,服务器则会输出用于指示所述案件判决有误的辅助信息。比如,可以构建并输出“该案件的量刑信息过轻(过重),建议修正为…”或者“该案件的适用法条错误,请参照法条…”的辅助信息,以提醒审判该案件的法官注意,从而能够协助法官对案件的判决结果进行监督和复核,减少案件误判行为的发生。If the reasonableness of the sentencing information is lower than a preset threshold or the applicable law is incorrect, the server will output auxiliary information indicating that the judgment of the case is incorrect. For example, it is possible to construct and output auxiliary information of "The sentencing information of this case is too light (too heavy), it is recommended to amend it to..." or "The applicable law of this case is wrong, please refer to the law..." to remind the trial of the case The judge's attention can assist the judge in supervising and reviewing the judgment results of the case, and reducing the occurrence of misjudgment.
本申请实施例提出的案件辅助信息的提示方法,当法官审判完一个案件并产生相应的判决结果文本之后,系统能够从该判决结果文本中提取出相应的量刑信息和适用法条,然后再从相关的法律文书中提取该案件的案情信息,通过将该案情信息分别输入与该量刑信息对应的神经网络模型以及与该适用法条对应的神经网络模型,从而确定该案件的量刑是否合理以及适用法条是否正确。若量刑不合理或者适用法条不正确,则会输出用于指示该案件判决有误的辅助信息,从而协助法官对案件的判决结果进行监督和复核,减少案件误判行为的发生。In the method for prompting case auxiliary information proposed in the embodiment of this application, after the judge finishes the trial of a case and produces the corresponding judgment result text, the system can extract the corresponding sentencing information and applicable laws and regulations from the judgment result text, and then retrieve it from The case information of the case is extracted from the relevant legal documents, and the case information is input into the neural network model corresponding to the sentencing information and the neural network model corresponding to the applicable law to determine whether the sentencing of the case is reasonable and applicable Whether the law is correct. If the sentencing is unreasonable or the applicable laws and regulations are incorrect, auxiliary information indicating that the judgment of the case is wrong will be output, so as to assist the judge in supervising and reviewing the judgment of the case, and reducing the occurrence of misjudgment.
请参阅图2,本申请实施例中一种案件辅助信息的提示方法的第二个实施例包括:Referring to Fig. 2, a second embodiment of a method for prompting case auxiliary information in an embodiment of the present application includes:
201、获取案件的判决结果文本;201. Obtain the text of the judgment result of the case;
步骤201与步骤101相同,具体可参照步骤101的相关说明。Step 201 is the same as step 101. For details, please refer to the related description of step 101.
202、从所述判决结果文本中检测预先构建的关键词库中记录的量刑关键词以及法条关键词;202. Detect sentencing keywords and legal keywords recorded in a pre-built keyword database from the text of the judgment result;
在获得该案件的判决结果文本之后,服务器从所述判决结果文本中检测预先构建的关键词库中记录的量刑关键词以及法条关键词。在服务器端,可以预先收集各类常用的量刑关键词和法条关键词,比如三年以上十年以下有期徒刑、十年以上有期徒刑、无期徒刑、死刑、婚姻法第六条、劳动法第二条、刑法第九条…等等,将这些关键词存储于一个关键词库中。然后,从所述判决结果文本中检测是否包含该关键词库中记录的这些关键词。After obtaining the judgment result text of the case, the server detects from the judgment result text the sentenced sentence keywords and legal clause keywords recorded in the pre-built keyword database. On the server side, you can pre-collect all kinds of commonly used sentencing keywords and legal keywords, such as fixed-term imprisonment of more than three years and less than ten years, fixed-term imprisonment of more than ten years, life imprisonment, death penalty, marriage law article 6 and labor law second Article, Article 9 of the Criminal Law...etc, store these keywords in a keyword database. Then, it is detected from the judgment result text whether the keywords recorded in the keyword database are included.
203、分别统计检测到的每个量刑关键词的词频以及每个法条关键词的词频;203. Separately count the word frequency of each sentencing keyword detected and the word frequency of each legal article keyword;
然后,分别统计检测到的每个量刑关键词的词频以及每个法条关键词的词频,也即每个关键词在该判决结果文本中出现的次数。Then, the word frequency of each sentenced keyword and the word frequency of each legal article keyword are counted separately, that is, the number of times each keyword appears in the text of the judgment result.
204、将检测到的量刑关键词中词频最高的关键词确定为提取出的量刑信息;204. Determine the keyword with the highest word frequency among the detected sentencing keywords as the extracted sentencing information;
205、将检测到的法条关键词中词频最高的关键词确定为提取出的适用法条;205. Determine the keyword with the highest word frequency among the detected legal article keywords as the extracted applicable legal article;
接着,将检测到的量刑关键词中词频最高的关键词确定为提取出的量刑信息,将检测到的法条关键词中词频最高的关键词确定为提取出的适用法条。比如,若检测到量刑关键词“无期徒刑”1次,“十年以上有期徒刑”1次,“死刑”4次,则将量刑关键词“死刑”确定为提取出的量刑信息。Next, the keyword with the highest word frequency among the detected sentence keywords is determined as the extracted sentence information, and the keyword with the highest word frequency among the detected legal keywords is determined as the extracted applicable legal article. For example, if the sentencing keyword "life imprisonment" is detected once, "imprisonment of more than ten years" once, and "death sentence" 4 times, the sentencing keyword "death penalty" is determined as the extracted sentencing information.
206、从与所述案件相关的法律文书中提取出所述案件的案情信息;206. Extract case information of the case from legal documents related to the case;
进一步的,所述关键词库还记录案情关键词,步骤206可以包括:Further, the keyword database also records case keywords, and step 206 may include:
(1)采用预先构建的分词模型对所述法律文书的内容进行分词,得到目标词组集;(1) Use the pre-built word segmentation model to segment the content of the legal document to obtain the target phrase set;
(2)将从所述目标词组集中检测到的所述案情关键词确定为提取出的所述案件的案情信息。(2) The case key words detected from the target phrase set are determined as the extracted case information of the case.
在服务器端,可以预先收集各类常用的案情关键词,比如抢夺、盗窃、受贿等,将这些关键词存储于该关键词库中。在从法律文书中提取所述案件的案情信息时,可以采用预先构建的分词模型对所述法律文书的内容进行分词,得到目标词组集,然后将从所述目标词组集中检测到的所述案情关键词确定为提取出的所述案件的案情信息。On the server side, various commonly used case keywords such as snatching, theft, and bribery can be collected in advance, and these keywords can be stored in the keyword database. When extracting the case information of the case from a legal document, a pre-built word segmentation model can be used to segment the content of the legal document to obtain a target phrase set, and then the case information detected from the target phrase set The keywords are determined as the extracted case information of the case.
具体的,对于步骤(1),可以包括:Specifically, for step (1), it may include:
(1.1)从所述法律文书的内容中检测预设的目标关键词;(1.1) Detect preset target keywords from the content of the legal document;
(1.2)根据检测到的目标关键词确定所述法律文书的类型;(1.2) Determine the type of the legal document according to the detected target keywords;
(1.3)选取与所述法律文书的类型对应的分词模型对所述法律文书的内容进行分词。(1.3) Select the word segmentation model corresponding to the type of the legal document to segment the content of the legal document.
在获得法律文书之后,从所述法律文书的内容中检测预设的目标关键词。对所述法律文书进行全文检索,以确定该法律文书的内容中是否包含某些预设的目标关键词,这些目标关键词可以用于确定该法律文书的类型,比如刑事、民事、行政、一审、二审等关键词。接着,根据检测到的目标关键词确定所述法律文书的类型。比如若检测到的目标关键词为“刑事”类型法律文书所对应的关键词,则确定该法律文书的类型为“刑事”;检测到的目标关键词为“一审”类型法律文书所对应的关键词,则确定该法律文书的类型为“一审”。另外,还可以通过识别法律文书中的法律理由,即作出该判决所适用的法条,来确定该法律文书的类型。也即,在对法律文书进行全文搜索时,可以首先识别文书中的书名号,将书名号中的法条名称取出,再根据法条名称确定该法律文书为刑事、民事或其他类型。After obtaining the legal document, the preset target keywords are detected from the content of the legal document. Perform a full-text search on the legal document to determine whether the content of the legal document contains certain preset target keywords. These target keywords can be used to determine the type of the legal document, such as criminal, civil, administrative, and first-instance , Second trial and other keywords. Then, the type of the legal document is determined according to the detected target keywords. For example, if the detected target keyword is the keyword corresponding to the "criminal" type legal document, the type of the legal document is determined to be "criminal"; the detected target keyword is the key corresponding to the "first instance" type legal document Word, the type of the legal document is determined to be "first instance". In addition, the type of legal document can also be determined by identifying the legal reasons in the legal document, that is, the law applicable to the judgment. That is, when searching the full text of a legal document, you can first identify the book title number in the document, extract the legal article name from the book title number, and then determine whether the legal document is a criminal, civil, or other type based on the legal article name.
在确定所述法律文书的类型之后,选取与所述法律文书的类型对应的分词模型对所述法律文书的内容进行分词,得到目标词组集。不同的法律文书类型的用语、文书结构、段落组成有较大差别,因此,根据不同的文书类型预先生成不同的分词模型,在应用时选择合适的分词模型进行分词处理,有助于提高分词的合理性,从而获得更为精确的分词结果。After determining the type of the legal document, a word segmentation model corresponding to the type of the legal document is selected to segment the content of the legal document to obtain a target phrase set. The terms, document structure, and paragraph composition of different legal document types are quite different. Therefore, different word segmentation models are generated in advance according to different document types, and the appropriate word segmentation model is selected for word segmentation during application, which helps to improve word segmentation. Reasonable, so as to obtain more accurate word segmentation results.
具体的,对于步骤(1.2),可以包括:Specifically, for step (1.2), it can include:
(1.2.1)若检测到的目标关键词的数量为一个,则根据所述检测到的目标关键词确定所述法律文书的类型;(1.2.1) If the number of detected target keywords is one, determine the type of the legal document according to the detected target keywords;
(1.2.2)若检测到的目标关键词的数量为二个以上,则将所述检测到的目标关键词划分为一个以上的关键词组合,并根据所述关键词组合确定所述法律文书的类型,每个所述关键词组合包含二个以上的所述目标关键词。(1.2.2) If the number of detected target keywords is more than two, the detected target keywords are divided into more than one keyword combination, and the legal document is determined according to the keyword combination Each keyword combination contains more than two target keywords.
若检测到的目标关键词的数量只有一个,则直接根据该目标关键词确定该法律文书的类型;若检测到的目标关键词的数量为二个以上,则将这些目标关键词划分为一个以上的关键词组合,然后根据划分得到的关键词组合确定该法律文书的类型,每个所述关键词组合包含二个以上的所述目标关键词。比如,目标关键词为“民事”,则直接确定该法律文书的类型为“民事”类型;划分得到的关键词组合为“民事,一审”,则可以确定该法律文书的类型为“一审的民事”类型。If the number of detected target keywords is only one, the type of the legal document is determined directly based on the target keyword; if the number of detected target keywords is more than two, these target keywords are divided into more than one Then, the type of the legal document is determined according to the keyword combinations obtained by the division, and each of the keyword combinations includes more than two of the target keywords. For example, if the target keyword is "civil", the type of the legal document is directly determined as "civil"; the keyword combination obtained by dividing is "civil, first instance", then the type of the legal document can be determined as "civil at first instance". "Types of.
具体的,对于步骤(1.2.2),所述根据所述关键词组合确定所述法律文书的类型可以包括:Specifically, for step (1.2.2), the determining the type of the legal document according to the combination of keywords may include:
(1.2.2.1)若所述关键词组合的数量为一个,则根据所述关键词组合确定所述法律文书的类型;(1.2.2.1) If the number of the keyword combination is one, the type of the legal document is determined according to the keyword combination;
(1.2.2.2)若所述关键词组合的数量为二个以上,则分别统计每个所述关键词组合所包含的各个目标关键词在所述法律文书中的文本距离,并根据所述文本距离最小的关键词组合确定所述法律文书的类型。(1.2.2.2) If the number of the keyword combinations is more than two, the text distances in the legal documents of the target keywords contained in each keyword combination are counted separately, and the text distance is calculated according to the text The keyword combination with the smallest distance determines the type of the legal document.
若划分得到的关键词组合的数量为一个,则直接根据该关键词组合确定所述法律文书的类型,若划分得到的关键词组合的数量为二个以上,则可以分别统计每个所述关键词组合所包含的各个目标关键词在所述法律文书中的文本距离,也即两个关键词在法律文书的内容中所间隔的字符数量,最后根据所述文本距离最小的关键词组合确定所述法律文书的类型。通过这样设置,能够应对语义复杂,通过单个关键词无法判断法律文书类型的应用场景。If the number of keyword combinations obtained by the division is one, the type of the legal document is directly determined according to the keyword combination. If the number of the keyword combinations obtained by the division is more than two, then each key combination can be counted separately. The text distance of each target keyword contained in the word combination in the legal document, that is, the number of characters between the two keywords in the content of the legal document, and finally the key word combination with the smallest text distance is determined. State the types of legal documents. Through this setting, it can deal with application scenarios where the semantics are complex and the type of legal document cannot be judged by a single keyword.
举例来说,在法律文书的内容“撤销北京市第二中级人民法院(2017)京02民终10216号民事判决第一项、第四项、第五项、第六项及北京市东城区人民法院(2016)京0101民初7939号民事判决第一项;维持北京市第二中级人民法院(2017)京02民终10216号民事判决第二项及北京市东城区人民法院(2016)京0101民初7939号民事判决第二项”中,选择出“撤销”、“民事判决第一项、第四项、第五项、第六项”、“维持”以及“民事判决第二项”等目标关键词,组合为关键词组合“撤销…民事判决第二项”,以及关键词组合“维持…民事判决第二项”。则通过统计可得,“撤销…民事判决第二项”该关键词组合中关键词的文 本距离大于“维持…民事判决第二项”的文本距离,则选取“维持…民事判决第二项”关键词组合以确定该法律文书的类型。For example, in the content of the legal document “Revocation of the Civil Judgment No. 1, 4, 5, and 6 of the Beijing Second Intermediate People’s Court (2017) Jing 02 Min Zhong 10216 and the People’s Court of Dongcheng District, Beijing The court (2016) Jing 0101 Min Chu No. 7939 Civil Judgment No. 1; upholds the Beijing Second Intermediate People's Court (2017) Jing 02 Min Zhong No. 10216 Civil Judgment No. 2 and Beijing Dongcheng District People's Court (2016) Jing 0101 In Minchu No. 7939 Civil Judgment No. 2", "Revocation", "Civil Judgment No. 1, 4, 5, and 6", "Maintenance" and "Civil Judgment No. 2" are selected. The target keyword, the combination is the keyword combination "revoke...the second item of civil judgment", and the keyword combination "maintain...the second item of civil judgment". According to statistics, the text distance of the keyword in the keyword combination "Revoke...Civil Judgment 2" is greater than the text distance of "Maintain...Civil Judgment 2", then select "Maintain...Civil Judgment 2" The combination of keywords determines the type of the legal document.
207、将所述案情信息输入预先构建的第一神经网络模型,通过所述第一神经网络模型的输出结果确定所述量刑信息的合理度;207. Input the case information into a pre-built first neural network model, and determine the reasonableness of the sentencing information based on the output result of the first neural network model;
208、将所述案情信息输入预先构建的第二神经网络模型,通过所述第二神经网络模型的输出结果确定所述适用法条是否正确;208. Input the case information into a pre-built second neural network model, and determine whether the applicable law is correct according to the output result of the second neural network model;
209、若所述量刑信息的合理度低于预设的阈值或者所述适用法条不正确,则输出用于指示所述案件判决有误的辅助信息。209. If the reasonableness of the sentencing information is lower than a preset threshold or the applicable law is incorrect, output auxiliary information indicating that the judgment of the case is incorrect.
步骤207-209与步骤104-106相同,具体可参照步骤104-106的相关说明。Steps 207-209 are the same as steps 104-106. For details, please refer to the relevant descriptions of steps 104-106.
与本申请的第一个实施例相比,本实施例提出了一种从案件的判决结果文本中提取出量刑信息和适用法条的具体方式。Compared with the first embodiment of this application, this embodiment proposes a specific method for extracting sentencing information and applying legal provisions from the text of the judgment result of a case.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the size of the sequence number of each step in the foregoing embodiment does not mean the order of execution. The execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
请参阅图3,本申请实施例中一种案件辅助信息的提示装置的一个实施例包括:Referring to FIG. 3, an embodiment of a device for prompting case auxiliary information in an embodiment of the present application includes:
判决结果获取模块301,用于获取案件的判决结果文本;The judgment result obtaining module 301 is used to obtain the judgment result text of the case;
判决信息提取模块302,用于从所述判决结果文本中提取出所述案件的量刑信息和适用法条;The judgment information extraction module 302 is used to extract the sentencing information and applicable laws and regulations of the case from the text of the judgment result;
案情信息提取模块303,用于从与所述案件相关的法律文书中提取出所述案件的案情信息;The case information extraction module 303 is used to extract case information of the case from legal documents related to the case;
量刑合理度确定模块304,用于将所述案情信息输入预先构建的第一神经网络模型,通过所述第一神经网络模型的输出结果确定所述量刑信息的合理度,所述第一神经网络模型由对应于所述量刑信息的多个第一样本案件的案情数据作为训练集训练获得,所述第一神经网络模型通过将所述案情信息和所述第一样本案件的案情数据进行匹配得到第一相似度,并根据所述第一相似度的大小确定所述量刑信息的合理度;The sentencing rationality determination module 304 is configured to input the case information into a pre-built first neural network model, and determine the rationality of the sentencing information based on the output result of the first neural network model, the first neural network The model is obtained by training the case data of a plurality of first sample cases corresponding to the sentencing information as a training set, and the first neural network model is performed by combining the case information and the case data of the first sample case The first degree of similarity is obtained by matching, and the reasonable degree of the sentencing information is determined according to the magnitude of the first degree of similarity;
适用法条确定模块305,用于将所述案情信息输入预先构建的第二神经网络模型,通过所述第二神经网络模型的输出结果确定所述适用法条是否正确,所述第二神经网络模型由对应于所述适用法条的多个第二样本案件的案情数据作为训练集训练获得,所述第二神经网络模型通过将所述案情信息和所述第二样本案件的案情数据进行匹配得到第二相似度,并根据所述第二相似度的大小确定所述适用法条是否正确;The applicable law clause determining module 305 is configured to input the case information into a pre-built second neural network model, and determine whether the applicable law clause is correct according to the output result of the second neural network model, and the second neural network The model is obtained by training the case data of a plurality of second sample cases corresponding to the applicable law as a training set, and the second neural network model matches the case information with the case data of the second sample case Obtain the second degree of similarity, and determine whether the applicable law is correct according to the magnitude of the second degree of similarity;
辅助信息输出模块306,用于若所述量刑信息的合理度低于预设的阈值或者所述适用法条不正确,则输出用于指示所述案件判决有误的辅助信息。The auxiliary information output module 306 is configured to output auxiliary information indicating that the judgment of the case is incorrect if the reasonableness of the sentencing information is lower than a preset threshold or the applicable law is incorrect.
进一步的,所述判决信息提取模块可以包括:Further, the decision information extraction module may include:
关键词检测单元,用于从所述判决结果文本中检测预先构建的关键词库中记录的量刑关键词以及法条关键词;The keyword detection unit is used to detect from the judgment result text the sentencing keywords and legal keywords recorded in the pre-built keyword database;
词频统计单元,用于分别统计检测到的每个量刑关键词的词频以及每个法条关键词的词频;The word frequency statistics unit is used to separately count the word frequency of each sentenced keyword and the word frequency of each legal article keyword detected;
量刑信息确定单元,用于将检测到的量刑关键词中词频最高的关键词确定为提取出的所述量刑信息;The sentencing information determining unit is configured to determine the keyword with the highest word frequency among the detected sentencing keywords as the extracted sentencing information;
适用法条确定单元,用于将检测到的法条关键词中词频最高的关键词确定为提取出的所述适用法条。The applicable legal clause determining unit is used to determine the keyword with the highest word frequency among the detected legal clause keywords as the extracted applicable legal clause.
进一步的,所述关键词库还记录案情关键词,所述案情信息提取模块可以包括:Further, the keyword database also records keywords on the case, and the case information extraction module may include:
分词单元,用于采用预先构建的分词模型对所述法律文书的内容进行分词,得到目标词组集;The word segmentation unit is used to segment the content of the legal document using a pre-built word segmentation model to obtain a target phrase set;
案情信息确定单元,用于将从所述目标词组集中检测到的所述案情关键词确定为提取出的所述案件的案情信息。The case information determining unit is configured to determine the case key words detected from the target phrase set as the extracted case information of the case.
更进一步的,所述分词单元可以包括:Furthermore, the word segmentation unit may include:
关键词检测子单元,用于从所述法律文书的内容中检测预设的目标关键词;The keyword detection subunit is used to detect preset target keywords from the content of the legal document;
法律文书类型确定子单元,用于根据检测到的目标关键词确定所述法律文书的类型;The legal document type determination subunit is used to determine the type of the legal document according to the detected target keywords;
分词模型选取子单元,用于选取与所述法律文书的类型对应的分词模型对所述法律文书的内容进行分词。The word segmentation model selection subunit is used to select a word segmentation model corresponding to the type of the legal document to segment the content of the legal document.
更进一步的,所述法律文书类型确定子单元可以包括:Furthermore, the legal document type determination subunit may include:
第一类型确定孙单元,用于若检测到的目标关键词的数量为一个,则根据所述检测到的目标关键词确定所述法律文书的类型;The first type determining grandchild unit is configured to determine the type of the legal document according to the detected target keyword if the number of detected target keywords is one;
第二类型确定孙单元,用于若检测到的目标关键词的数量为二个以上,则将所述检测到的目标关键词划分为一个以上的关键词组合,并根据所述关键词组合确定所述法律文书的类型,每个所述关键词组合包含二个以上的所述目标关键词。The second type determines the grandchildren unit, which is used to divide the detected target keyword into more than one keyword combination if the number of detected target keywords is more than two, and determine according to the keyword combination For the type of the legal document, each of the keyword combinations includes more than two of the target keywords.
本申请实施例还提供一种服务器,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如图1或图2表示的任意一种案件辅助信息的提示方法的步骤。An embodiment of the present application also provides a server, including a memory, a processor, and computer-readable instructions stored in the memory and capable of running on the processor, and the processor executes the computer-readable instructions to implement Figure 1 or Figure 2 shows the steps of any kind of case auxiliary information presentation method.
图4是本申请一实施例提供的服务器的示意图。如图4所示,该实施例的服务器4包括:处理器40、存储器41以及存储在所述存储器41中并可在所述处理器40上运行的计算机可读指令42。所述处理器40执行所述计算机可读指令42时实现上述各个应用推广效 果的评估方法实施例中的步骤,例如图1所示的步骤101至106。或者,所述处理器40执行所述计算机可读指令42时实现上述各装置实施例中各模块/单元的功能,例如图3所示模块301至306的功能。Fig. 4 is a schematic diagram of a server provided by an embodiment of the present application. As shown in FIG. 4, the server 4 in this embodiment includes a processor 40, a memory 41, and computer-readable instructions 42 stored in the memory 41 and running on the processor 40. When the processor 40 executes the computer-readable instructions 42, the steps in the above-mentioned application promotion effect evaluation method embodiments, such as steps 101 to 106 shown in Fig. 1, are implemented. Alternatively, when the processor 40 executes the computer-readable instructions 42, the functions of the modules/units in the foregoing device embodiments are implemented, for example, the functions of the modules 301 to 306 shown in FIG. 3.
示例性的,所述计算机可读指令42可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器41中,并由所述处理器40执行,以完成本申请。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机可读指令段,该指令段用于描述所述计算机可读指令42在所述服务器4中的执行过程。Exemplarily, the computer-readable instructions 42 may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 41 and executed by the processor 40, To complete this application. The one or more modules/units may be a series of computer-readable instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer-readable instructions 42 in the server 4.
所述处理器40可以是中央处理单元(Central Processing Unit,CPU),还可以是其它通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其它可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 40 may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
所述存储器41可以是所述服务器4的内部存储单元,例如服务器4的硬盘或内存。所述存储器41也可以是所述服务器4的外部存储设备,例如所述服务器4上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器41还可以既包括所述服务器4的内部存储单元也包括外部存储设备。所述存储器41用于存储所述计算机可读指令以及所述服务器4所需的其它指令和数据。所述存储器41还可以用于暂时地存储已经输出或者将要输出的数据。The memory 41 may be an internal storage unit of the server 4, for example, a hard disk or a memory of the server 4. The memory 41 may also be an external storage device of the server 4, such as a plug-in hard disk equipped on the server 4, a smart memory card (Smart Media Card, SMC), and a Secure Digital (SD) card. Flash Card, etc. Further, the memory 41 may also include both an internal storage unit of the server 4 and an external storage device. The memory 41 is used to store the computer-readable instructions and other instructions and data required by the server 4. The memory 41 can also be used to temporarily store data that has been output or will be output.
在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。The functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机非易失性可读存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干计算机可读指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储计算机可读指令的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer non-volatile readable storage medium. Based on this understanding, the technical solution of the present application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including several computer-readable instructions to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks, etc., which can store computer readable instructions. Medium.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以 通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于一计算机非易失性可读取存储介质中,该计算机可读指令在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the method of the above-mentioned embodiments can be implemented by instructing relevant hardware through computer-readable instructions. The computer-readable instructions can be stored in a non-volatile computer. In a readable storage medium, when the computer-readable instructions are executed, they may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and/or volatile memory. Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not a limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, a person of ordinary skill in the art should understand that it can still implement the foregoing The technical solutions recorded in the examples are modified, or some of the technical features are equivalently replaced; these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (20)

  1. 一种案件辅助信息的提示方法,其特征在于,包括:A method for prompting case auxiliary information, which is characterized in that it includes:
    获取案件的判决结果文本;Obtain the text of the judgment result of the case;
    从所述判决结果文本中提取出所述案件的量刑信息和适用法条;Extract the sentencing information and applicable laws and regulations of the case from the text of the judgment result;
    从与所述案件相关的法律文书中提取出所述案件的案情信息;Extract information on the merits of the case from legal documents related to the case;
    将所述案情信息输入预先构建的第一神经网络模型,通过所述第一神经网络模型的输出结果确定所述量刑信息的合理度,所述第一神经网络模型由对应于所述量刑信息的多个第一样本案件的案情数据作为训练集训练获得,所述第一神经网络模型通过将所述案情信息和所述第一样本案件的案情数据进行匹配得到第一相似度,并根据所述第一相似度的大小确定所述量刑信息的合理度;The case information is input into a pre-built first neural network model, and the reasonableness of the sentencing information is determined by the output result of the first neural network model, and the first neural network model is determined by the information corresponding to the sentencing information. The case data of a plurality of first sample cases are trained as a training set, and the first neural network model obtains the first similarity by matching the case information with the case data of the first sample case, and according to The magnitude of the first degree of similarity determines the reasonableness of the sentencing information;
    将所述案情信息输入预先构建的第二神经网络模型,通过所述第二神经网络模型的输出结果确定所述适用法条是否正确,所述第二神经网络模型由对应于所述适用法条的多个第二样本案件的案情数据作为训练集训练获得,所述第二神经网络模型通过将所述案情信息和所述第二样本案件的案情数据进行匹配得到第二相似度,并根据所述第二相似度的大小确定所述适用法条是否正确;The case information is input to a pre-built second neural network model, and the output result of the second neural network model is used to determine whether the applicable law is correct, and the second neural network model is determined by corresponding to the applicable law The case data of the multiple second sample cases is obtained as a training set training, and the second neural network model obtains the second similarity by matching the case information and the case data of the second sample case. The magnitude of the second degree of similarity determines whether the applicable law is correct;
    若所述量刑信息的合理度低于预设的阈值或者所述适用法条不正确,则输出用于指示所述案件判决有误的辅助信息。If the reasonableness of the sentencing information is lower than a preset threshold or the applicable legal provisions are incorrect, output auxiliary information indicating that the case is incorrectly judged.
  2. 根据权利要求1所述的案件辅助信息的提示方法,其特征在于,所述从所述判决结果文本中提取出所述案件的量刑信息和适用法条包括:The method for prompting auxiliary information of a case according to claim 1, wherein said extracting sentencing information and applicable legal provisions of said case from said judgment result text comprises:
    从所述判决结果文本中检测预先构建的关键词库中记录的量刑关键词以及法条关键词;Detect sentencing keywords and legal keywords recorded in the pre-built keyword database from the text of the judgment result;
    分别统计检测到的每个量刑关键词的词频以及每个法条关键词的词频;Separately count the word frequency of each sentenced keyword detected and the word frequency of each legal article keyword;
    将检测到的量刑关键词中词频最高的关键词确定为提取出的所述量刑信息;Determine the keyword with the highest word frequency among the detected sentencing keywords as the extracted sentencing information;
    将检测到的法条关键词中词频最高的关键词确定为提取出的所述适用法条。The keyword with the highest word frequency among the detected legal clause keywords is determined as the extracted applicable legal clause.
  3. 根据权利要求2所述的案件辅助信息的提示方法,其特征在于,所述关键词库还记录案情关键词,所述从与所述案件相关的法律文书中提取出所述案件的案情信息包括:The method for prompting auxiliary information of a case according to claim 2, wherein the keyword database also records keywords of case facts, and said extracting case information of the case from legal documents related to the case includes :
    采用预先构建的分词模型对所述法律文书的内容进行分词,得到目标词组集;Use the pre-built word segmentation model to segment the content of the legal document to obtain the target phrase set;
    将从所述目标词组集中检测到的所述案情关键词确定为提取出的所述案件的案情信息。The case key words detected from the target phrase set are determined as the extracted case information of the case.
  4. 根据权利要求3所述的案件辅助信息的提示方法,其特征在于,所述采用预先构建 的分词模型对所述法律文书的内容进行分词包括:The method for prompting case auxiliary information according to claim 3, characterized in that said using a pre-built word segmentation model to segment the content of the legal document comprises:
    从所述法律文书的内容中检测预设的目标关键词;Detect preset target keywords from the content of the legal document;
    根据检测到的目标关键词确定所述法律文书的类型;Determine the type of the legal document according to the detected target keywords;
    选取与所述法律文书的类型对应的分词模型对所述法律文书的内容进行分词。The word segmentation model corresponding to the type of the legal document is selected to segment the content of the legal document.
  5. 根据权利要求4所述的案件辅助信息的提示方法,其特征在于,所述根据检测到的目标关键词确定所述法律文书的类型包括:The method for prompting case auxiliary information according to claim 4, wherein the determining the type of the legal document according to the detected target keyword comprises:
    若检测到的目标关键词的数量为一个,则根据所述检测到的目标关键词确定所述法律文书的类型;If the number of detected target keywords is one, determine the type of the legal document according to the detected target keywords;
    若检测到的目标关键词的数量为二个以上,则将所述检测到的目标关键词划分为一个以上的关键词组合,并根据所述关键词组合确定所述法律文书的类型,每个所述关键词组合包含二个以上的所述目标关键词。If the number of detected target keywords is more than two, the detected target keywords are divided into more than one keyword combination, and the type of the legal document is determined according to the keyword combination, each The keyword combination includes two or more of the target keywords.
  6. 一种案件辅助信息的提示装置,其特征在于,包括:A prompting device for case auxiliary information, which is characterized in that it comprises:
    判决结果获取模块,用于获取案件的判决结果文本;Judgment result obtaining module, used to obtain the text of the judgment result of the case;
    判决信息提取模块,用于从所述判决结果文本中提取出所述案件的量刑信息和适用法条;The judgment information extraction module is used to extract the sentencing information and applicable laws and regulations of the case from the text of the judgment result;
    案情信息提取模块,用于从与所述案件相关的法律文书中提取出所述案件的案情信息;The case information extraction module is used to extract the case information of the case from the legal documents related to the case;
    量刑合理度确定模块,用于将所述案情信息输入预先构建的第一神经网络模型,通过所述第一神经网络模型的输出结果确定所述量刑信息的合理度,所述第一神经网络模型由对应于所述量刑信息的多个第一样本案件的案情数据作为训练集训练获得,所述第一神经网络模型通过将所述案情信息和所述第一样本案件的案情数据进行匹配得到第一相似度,并根据所述第一相似度的大小确定所述量刑信息的合理度;The sentencing rationality determination module is configured to input the case information into a pre-built first neural network model, and determine the rationality of the sentencing information through the output result of the first neural network model, the first neural network model The case data of a plurality of first sample cases corresponding to the sentencing information is obtained as a training set for training, and the first neural network model matches the case information with the case data of the first sample case Obtain the first degree of similarity, and determine the reasonableness of the sentencing information according to the magnitude of the first degree of similarity;
    适用法条确定模块,用于将所述案情信息输入预先构建的第二神经网络模型,通过所述第二神经网络模型的输出结果确定所述适用法条是否正确,所述第二神经网络模型由对应于所述适用法条的多个第二样本案件的案情数据作为训练集训练获得,所述第二神经网络模型通过将所述案情信息和所述第二样本案件的案情数据进行匹配得到第二相似度,并根据所述第二相似度的大小确定所述适用法条是否正确;The applicable law article determination module is used to input the case information into a pre-built second neural network model, and determine whether the applicable law article is correct according to the output result of the second neural network model, and the second neural network model The case data of a plurality of second sample cases corresponding to the applicable law is obtained as a training set for training, and the second neural network model is obtained by matching the case information with the case data of the second sample case A second degree of similarity, and determine whether the applicable law is correct according to the magnitude of the second degree of similarity;
    辅助信息输出模块,用于若所述量刑信息的合理度低于预设的阈值或者所述适用法条不正确,则输出用于指示所述案件判决有误的辅助信息。The auxiliary information output module is configured to output auxiliary information for indicating that the judgment of the case is incorrect if the reasonableness of the sentencing information is lower than a preset threshold or the applicable law is incorrect.
  7. 根据权利要求6所述的案件辅助信息的提示装置,其特征在于,所述判决信息提取模块包括:The device for prompting case auxiliary information according to claim 6, wherein the judgment information extraction module comprises:
    关键词检测单元,用于从所述判决结果文本中检测预先构建的关键词库中记录的量刑关键词以及法条关键词;The keyword detection unit is used to detect from the judgment result text the sentencing keywords and legal keywords recorded in the pre-built keyword database;
    词频统计单元,用于分别统计检测到的每个量刑关键词的词频以及每个法条关键词的词频;The word frequency statistics unit is used to separately count the word frequency of each sentenced keyword and the word frequency of each legal article keyword detected;
    量刑信息确定单元,用于将检测到的量刑关键词中词频最高的关键词确定为提取出的所述量刑信息;The sentencing information determining unit is configured to determine the keyword with the highest word frequency among the detected sentencing keywords as the extracted sentencing information;
    适用法条确定单元,用于将检测到的法条关键词中词频最高的关键词确定为提取出的所述适用法条。The applicable legal clause determining unit is used to determine the keyword with the highest word frequency among the detected legal clause keywords as the extracted applicable legal clause.
  8. 根据权利要求7所述的案件辅助信息的提示装置,其特征在于,所述关键词库还记录案情关键词,所述案情信息提取模块包括:The device for prompting case auxiliary information according to claim 7, wherein the keyword database also records case keywords, and the case information extraction module includes:
    分词单元,用于采用预先构建的分词模型对所述法律文书的内容进行分词,得到目标词组集;The word segmentation unit is used to segment the content of the legal document using a pre-built word segmentation model to obtain a target phrase set;
    案情信息确定单元,用于将从所述目标词组集中检测到的所述案情关键词确定为提取出的所述案件的案情信息。The case information determining unit is configured to determine the case key words detected from the target phrase set as the extracted case information of the case.
  9. 根据权利要求8所述的案件辅助信息的提示装置,其特征在于,所述分词单元包括:The prompting device for case auxiliary information according to claim 8, wherein the word segmentation unit comprises:
    关键词检测子单元,用于从所述法律文书的内容中检测预设的目标关键词;The keyword detection subunit is used to detect preset target keywords from the content of the legal document;
    法律文书类型确定子单元,用于根据检测到的目标关键词确定所述法律文书的类型;The legal document type determination subunit is used to determine the type of the legal document according to the detected target keywords;
    分词模型选取子单元,用于选取与所述法律文书的类型对应的分词模型对所述法律文书的内容进行分词。The word segmentation model selection subunit is used to select a word segmentation model corresponding to the type of the legal document to segment the content of the legal document.
  10. 根据权利要求9所述的案件辅助信息的提示装置,其特征在于,所述法律文书类型确定子单元包括:The device for prompting case auxiliary information according to claim 9, wherein the legal document type determining subunit comprises:
    第一类型确定孙单元,用于若检测到的目标关键词的数量为一个,则根据所述检测到的目标关键词确定所述法律文书的类型;The first type determining grandchild unit is configured to determine the type of the legal document according to the detected target keyword if the number of detected target keywords is one;
    第二类型确定孙单元,用于若检测到的目标关键词的数量为二个以上,则将所述检测到的目标关键词划分为一个以上的关键词组合,并根据所述关键词组合确定所述法律文书的类型,每个所述关键词组合包含二个以上的所述目标关键词。The second type determines the grandchildren unit, which is used to divide the detected target keyword into more than one keyword combination if the number of detected target keywords is more than two, and determine according to the keyword combination For the type of the legal document, each of the keyword combinations includes more than two of the target keywords.
  11. 一种计算机非易失性可读存储介质,所述计算机非易失性可读存储介质存储有计算机可读指令,其特征在于,所述计算机可读指令被处理器执行时实现如下步骤:A computer non-volatile readable storage medium, the computer non-volatile readable storage medium storing computer readable instructions, characterized in that the computer readable instructions are executed by a processor to implement the following steps:
    获取案件的判决结果文本;Obtain the text of the judgment result of the case;
    从所述判决结果文本中提取出所述案件的量刑信息和适用法条;Extract the sentencing information and applicable laws and regulations of the case from the text of the judgment result;
    从与所述案件相关的法律文书中提取出所述案件的案情信息;Extract information on the merits of the case from legal documents related to the case;
    将所述案情信息输入预先构建的第一神经网络模型,通过所述第一神经网络模型的输出结果确定所述量刑信息的合理度,所述第一神经网络模型由对应于所述量刑信息的多个第一样本案件的案情数据作为训练集训练获得,所述第一神经网络模型通过将所述案情信息和所述第一样本案件的案情数据进行匹配得到第一相似度,并根据所述第一相似度的大小确定所述量刑信息的合理度;The case information is input into a pre-built first neural network model, and the reasonableness of the sentencing information is determined by the output result of the first neural network model, and the first neural network model is determined by the information corresponding to the sentencing information. The case data of a plurality of first sample cases are trained as a training set, and the first neural network model obtains the first similarity by matching the case information with the case data of the first sample case, and according to The magnitude of the first degree of similarity determines the reasonableness of the sentencing information;
    将所述案情信息输入预先构建的第二神经网络模型,通过所述第二神经网络模型的输出结果确定所述适用法条是否正确,所述第二神经网络模型由对应于所述适用法条的多个第二样本案件的案情数据作为训练集训练获得,所述第二神经网络模型通过将所述案情信息和所述第二样本案件的案情数据进行匹配得到第二相似度,并根据所述第二相似度的大小确定所述适用法条是否正确;The case information is input to a pre-built second neural network model, and the output result of the second neural network model is used to determine whether the applicable law is correct, and the second neural network model is determined by corresponding to the applicable law The case data of the multiple second sample cases is obtained as a training set training, and the second neural network model obtains the second similarity by matching the case information and the case data of the second sample case. The magnitude of the second degree of similarity determines whether the applicable law is correct;
    若所述量刑信息的合理度低于预设的阈值或者所述适用法条不正确,则输出用于指示所述案件判决有误的辅助信息。If the reasonableness of the sentencing information is lower than a preset threshold or the applicable legal provisions are incorrect, output auxiliary information indicating that the case is incorrectly judged.
  12. 根据权利要求11所述的计算机非易失性可读存储介质,其特征在于,所述从所述判决结果文本中提取出所述案件的量刑信息和适用法条包括:The computer non-volatile readable storage medium according to claim 11, wherein said extracting sentencing information and applicable laws and regulations of said case from said judgment result text comprises:
    从所述判决结果文本中检测预先构建的关键词库中记录的量刑关键词以及法条关键词;Detect sentencing keywords and legal keywords recorded in the pre-built keyword database from the text of the judgment result;
    分别统计检测到的每个量刑关键词的词频以及每个法条关键词的词频;Separately count the word frequency of each sentenced keyword detected and the word frequency of each legal article keyword;
    将检测到的量刑关键词中词频最高的关键词确定为提取出的所述量刑信息;Determine the keyword with the highest word frequency among the detected sentencing keywords as the extracted sentencing information;
    将检测到的法条关键词中词频最高的关键词确定为提取出的所述适用法条。The keyword with the highest word frequency among the detected legal clause keywords is determined as the extracted applicable legal clause.
  13. 根据权利要求12所述的计算机非易失性可读存储介质,其特征在于,所述关键词库还记录案情关键词,所述从与所述案件相关的法律文书中提取出所述案件的案情信息包括:The computer non-volatile readable storage medium according to claim 12, wherein the keyword database also records keywords on the case, and extracts information about the case from legal documents related to the case. The case information includes:
    采用预先构建的分词模型对所述法律文书的内容进行分词,得到目标词组集;Use the pre-built word segmentation model to segment the content of the legal document to obtain the target phrase set;
    将从所述目标词组集中检测到的所述案情关键词确定为提取出的所述案件的案情信息。The case key words detected from the target phrase set are determined as the extracted case information of the case.
  14. 根据权利要求13所述的计算机非易失性可读存储介质,其特征在于,所述采用预先构建的分词模型对所述法律文书的内容进行分词包括:The computer non-volatile readable storage medium according to claim 13, wherein said segmenting the content of said legal document by using a pre-built word segmentation model comprises:
    从所述法律文书的内容中检测预设的目标关键词;Detect preset target keywords from the content of the legal document;
    根据检测到的目标关键词确定所述法律文书的类型;Determine the type of the legal document according to the detected target keywords;
    选取与所述法律文书的类型对应的分词模型对所述法律文书的内容进行分词。The word segmentation model corresponding to the type of the legal document is selected to segment the content of the legal document.
  15. 根据权利要求14所述的计算机非易失性可读存储介质,其特征在于,所述根据检测到的目标关键词确定所述法律文书的类型包括:The computer non-volatile readable storage medium according to claim 14, wherein the determining the type of the legal document according to the detected target keyword comprises:
    若检测到的目标关键词的数量为一个,则根据所述检测到的目标关键词确定所述法律文书的类型;If the number of detected target keywords is one, determine the type of the legal document according to the detected target keywords;
    若检测到的目标关键词的数量为二个以上,则将所述检测到的目标关键词划分为一个以上的关键词组合,并根据所述关键词组合确定所述法律文书的类型,每个所述关键词组合包含二个以上的所述目标关键词。If the number of detected target keywords is more than two, the detected target keywords are divided into more than one keyword combination, and the type of the legal document is determined according to the keyword combination, each The keyword combination includes two or more of the target keywords.
  16. 一种服务器,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,其特征在于,所述处理器执行所述计算机可读指令时实现如下步骤:A server includes a memory, a processor, and computer-readable instructions stored in the memory and capable of running on the processor, wherein the processor implements the following steps when the processor executes the computer-readable instructions :
    获取案件的判决结果文本;Obtain the text of the judgment result of the case;
    从所述判决结果文本中提取出所述案件的量刑信息和适用法条;Extract the sentencing information and applicable laws and regulations of the case from the text of the judgment result;
    从与所述案件相关的法律文书中提取出所述案件的案情信息;Extract information on the merits of the case from legal documents related to the case;
    将所述案情信息输入预先构建的第一神经网络模型,通过所述第一神经网络模型的输出结果确定所述量刑信息的合理度,所述第一神经网络模型由对应于所述量刑信息的多个第一样本案件的案情数据作为训练集训练获得,所述第一神经网络模型通过将所述案情信息和所述第一样本案件的案情数据进行匹配得到第一相似度,并根据所述第一相似度的大小确定所述量刑信息的合理度;The case information is input into a pre-built first neural network model, and the reasonableness of the sentencing information is determined by the output result of the first neural network model, and the first neural network model is determined by the information corresponding to the sentencing information. The case data of a plurality of first sample cases are trained as a training set, and the first neural network model obtains the first similarity by matching the case information with the case data of the first sample case, and according to The magnitude of the first degree of similarity determines the reasonableness of the sentencing information;
    将所述案情信息输入预先构建的第二神经网络模型,通过所述第二神经网络模型的输出结果确定所述适用法条是否正确,所述第二神经网络模型由对应于所述适用法条的多个第二样本案件的案情数据作为训练集训练获得,所述第二神经网络模型通过将所述案情信息和所述第二样本案件的案情数据进行匹配得到第二相似度,并根据所述第二相似度的大小确定所述适用法条是否正确;The case information is input to a pre-built second neural network model, and the output result of the second neural network model is used to determine whether the applicable law is correct, and the second neural network model is determined by corresponding to the applicable law The case data of the multiple second sample cases is obtained as a training set training, and the second neural network model obtains the second similarity by matching the case information and the case data of the second sample case. The magnitude of the second degree of similarity determines whether the applicable law is correct;
    若所述量刑信息的合理度低于预设的阈值或者所述适用法条不正确,则输出用于指示所述案件判决有误的辅助信息。If the reasonableness of the sentencing information is lower than a preset threshold or the applicable legal provisions are incorrect, output auxiliary information indicating that the case is incorrectly judged.
  17. 根据权利要求16所述的服务器,其特征在于,所述从所述判决结果文本中提取出所述案件的量刑信息和适用法条包括:The server according to claim 16, wherein said extracting sentencing information and applicable laws and regulations of said case from said judgment result text comprises:
    从所述判决结果文本中检测预先构建的关键词库中记录的量刑关键词以及法条关键词;Detect sentencing keywords and legal keywords recorded in the pre-built keyword database from the text of the judgment result;
    分别统计检测到的每个量刑关键词的词频以及每个法条关键词的词频;Separately count the word frequency of each sentenced keyword detected and the word frequency of each legal article keyword;
    将检测到的量刑关键词中词频最高的关键词确定为提取出的所述量刑信息;Determine the keyword with the highest word frequency among the detected sentencing keywords as the extracted sentencing information;
    将检测到的法条关键词中词频最高的关键词确定为提取出的所述适用法条。The keyword with the highest word frequency among the detected legal clause keywords is determined as the extracted applicable legal clause.
  18. 根据权利要求17所述的服务器,其特征在于,所述关键词库还记录案情关键词,所述从与所述案件相关的法律文书中提取出所述案件的案情信息包括:The server according to claim 17, wherein the keyword database also records key words of case facts, and said extracting case information of the case from legal documents related to the case comprises:
    采用预先构建的分词模型对所述法律文书的内容进行分词,得到目标词组集;Use the pre-built word segmentation model to segment the content of the legal document to obtain the target phrase set;
    将从所述目标词组集中检测到的所述案情关键词确定为提取出的所述案件的案情信息。The case key words detected from the target phrase set are determined as the extracted case information of the case.
  19. 根据权利要求18所述的服务器,其特征在于,所述采用预先构建的分词模型对所述法律文书的内容进行分词包括:The server according to claim 18, wherein said using a pre-built word segmentation model to segment the content of the legal document comprises:
    从所述法律文书的内容中检测预设的目标关键词;Detect preset target keywords from the content of the legal document;
    根据检测到的目标关键词确定所述法律文书的类型;Determine the type of the legal document according to the detected target keywords;
    选取与所述法律文书的类型对应的分词模型对所述法律文书的内容进行分词。The word segmentation model corresponding to the type of the legal document is selected to segment the content of the legal document.
  20. 根据权利要求19所述的服务器,其特征在于,所述根据检测到的目标关键词确定所述法律文书的类型包括:The server according to claim 19, wherein the determining the type of the legal document according to the detected target keyword comprises:
    若检测到的目标关键词的数量为一个,则根据所述检测到的目标关键词确定所述法律文书的类型;If the number of detected target keywords is one, determine the type of the legal document according to the detected target keywords;
    若检测到的目标关键词的数量为二个以上,则将所述检测到的目标关键词划分为一个以上的关键词组合,并根据所述关键词组合确定所述法律文书的类型,每个所述关键词组合包含二个以上的所述目标关键词。If the number of detected target keywords is more than two, the detected target keywords are divided into more than one keyword combination, and the type of the legal document is determined according to the keyword combination, each The keyword combination includes two or more of the target keywords.
PCT/CN2019/118557 2019-09-03 2019-11-14 Case auxiliary information prompting method, device, storage medium and server WO2021042560A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910829464.6A CN110738039B (en) 2019-09-03 2019-09-03 Case auxiliary information prompting method and device, storage medium and server
CN201910829464.6 2019-09-03

Publications (1)

Publication Number Publication Date
WO2021042560A1 true WO2021042560A1 (en) 2021-03-11

Family

ID=69267385

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/118557 WO2021042560A1 (en) 2019-09-03 2019-11-14 Case auxiliary information prompting method, device, storage medium and server

Country Status (2)

Country Link
CN (1) CN110738039B (en)
WO (1) WO2021042560A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113779969A (en) * 2021-09-16 2021-12-10 平安国际智慧城市科技股份有限公司 Case information processing method, device, equipment and medium based on artificial intelligence

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113344750A (en) * 2020-03-02 2021-09-03 中国司法大数据研究院有限公司 Case trial flaw grade judging method and system
CN111639494A (en) * 2020-04-20 2020-09-08 北京大学 Case affair relation determining method and system
CN111832277B (en) * 2020-06-04 2024-03-26 北京百度网讯科技有限公司 Training method of reading understanding model and reading understanding processing method
CN111814472B (en) * 2020-09-03 2021-04-06 平安国际智慧城市科技股份有限公司 Text recognition method, device, equipment and storage medium
CN111967437A (en) * 2020-09-03 2020-11-20 平安国际智慧城市科技股份有限公司 Text recognition method, device, equipment and storage medium
CN111932413B (en) * 2020-09-14 2021-01-12 平安国际智慧城市科技股份有限公司 Case element extraction method, case element extraction device, case element extraction equipment and case element extraction medium
CN113220641B (en) * 2021-05-20 2022-08-02 共道网络科技有限公司 Auxiliary reading method and device for legal documents

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109213864A (en) * 2018-08-30 2019-01-15 广州慧睿思通信息科技有限公司 Criminal case anticipation system and its building and pre-judging method based on deep learning
CN109426905A (en) * 2017-08-29 2019-03-05 北京国双科技有限公司 A kind of determination method and device that the criminal document measurement of penalty deviates
CN109582950A (en) * 2018-09-25 2019-04-05 南京大学 A kind of judgement document argues appraisal procedure

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106557485B (en) * 2015-09-25 2020-11-06 北京国双科技有限公司 Method and device for selecting text classification training set
CN106991092B (en) * 2016-01-20 2021-11-05 阿里巴巴集团控股有限公司 Method and equipment for mining similar referee documents based on big data
CN107918921B (en) * 2017-11-21 2021-10-08 南京擎盾信息科技有限公司 Criminal case judgment result measuring method and system
CN108596360B (en) * 2018-03-16 2021-03-12 北京中科闻歌科技股份有限公司 Machine learning-based decision prediction method and system
CN108460025A (en) * 2018-04-09 2018-08-28 北京智慧正安科技有限公司 Criminal case automates measurement of penalty method, apparatus and computer readable storage medium
CN109241528B (en) * 2018-08-24 2023-09-01 讯飞智元信息科技有限公司 Criminal investigation result prediction method, device, equipment and storage medium
CN109241285A (en) * 2018-08-29 2019-01-18 东南大学 A kind of device of the judicial decision in a case of auxiliary based on machine learning
CN109740728B (en) * 2018-12-10 2019-11-01 杭州世平信息科技有限公司 A kind of measurement of penalty calculation method based on a variety of neural network ensembles
CN109800292A (en) * 2018-12-17 2019-05-24 北京百度网讯科技有限公司 The determination method, device and equipment of question and answer matching degree

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109426905A (en) * 2017-08-29 2019-03-05 北京国双科技有限公司 A kind of determination method and device that the criminal document measurement of penalty deviates
CN109213864A (en) * 2018-08-30 2019-01-15 广州慧睿思通信息科技有限公司 Criminal case anticipation system and its building and pre-judging method based on deep learning
CN109582950A (en) * 2018-09-25 2019-04-05 南京大学 A kind of judgement document argues appraisal procedure

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113779969A (en) * 2021-09-16 2021-12-10 平安国际智慧城市科技股份有限公司 Case information processing method, device, equipment and medium based on artificial intelligence

Also Published As

Publication number Publication date
CN110738039B (en) 2023-04-07
CN110738039A (en) 2020-01-31

Similar Documents

Publication Publication Date Title
WO2021042560A1 (en) Case auxiliary information prompting method, device, storage medium and server
US11954739B2 (en) Methods and systems for automatically detecting fraud and compliance issues in expense reports and invoices
WO2020077895A1 (en) Signing intention determining method and apparatus, computer device, and storage medium
CN107291723B (en) Method and device for classifying webpage texts and method and device for identifying webpage texts
CN108509482B (en) Question classification method and device, computer equipment and storage medium
US10936970B2 (en) Machine learning document processing
WO2019218514A1 (en) Method for extracting webpage target information, device, and storage medium
Christen et al. The data matching process
US20160232630A1 (en) System and method in support of digital document analysis
CN106815207B (en) Information processing method and device for legal referee document
CN108446295B (en) Information retrieval method, information retrieval device, computer equipment and storage medium
CN110610005A (en) Stealing crime auxiliary criminal investigation method based on deep learning
Clinchant et al. Comparing machine learning approaches for table recognition in historical register books
CN113282752B (en) Object classification method and system based on semantic mapping
WO2020248379A1 (en) Method for searching for similar network pages, and apparatus
Malik et al. Accurate information extraction for quantitative financial events
CN108388660A (en) A kind of improved electric business product pain spot analysis method
US11609959B2 (en) System and methods for generating an enhanced output of relevant content to facilitate content analysis
CN108897770A (en) A kind of law article name authority and case towards judgement document is by being associated with statistical method with law article
US20230273992A1 (en) Method and electronic device for generating semantic representation of document to determine data security risk
US11232114B1 (en) System and method for automated classification of structured property description extracted from data source using numeric representation and keyword search
US11755766B2 (en) Systems and methods for detecting personally identifiable information
Aktolga et al. Detecting outlier sections in us congressional legislation
Kalashnikov et al. Towards breaking the quality curse. a web-querying approach to web people search.
CN113591476A (en) Data label recommendation method based on machine learning

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19944580

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19944580

Country of ref document: EP

Kind code of ref document: A1