[go: up one dir, main page]

CN115878815A - Legal document judgment result prediction method, device and storage medium - Google Patents

Legal document judgment result prediction method, device and storage medium Download PDF

Info

Publication number
CN115878815A
CN115878815A CN202211507324.5A CN202211507324A CN115878815A CN 115878815 A CN115878815 A CN 115878815A CN 202211507324 A CN202211507324 A CN 202211507324A CN 115878815 A CN115878815 A CN 115878815A
Authority
CN
China
Prior art keywords
legal
judgment
document
decision
relationship
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN202211507324.5A
Other languages
Chinese (zh)
Other versions
CN115878815B (en
Inventor
范连瑞
杜向阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Qingdun Information Technology Co ltd
Original Assignee
Shenzhen Qingdun Information Technology Co ltd
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 Shenzhen Qingdun Information Technology Co ltd filed Critical Shenzhen Qingdun Information Technology Co ltd
Priority to CN202211507324.5A priority Critical patent/CN115878815B/en
Publication of CN115878815A publication Critical patent/CN115878815A/en
Application granted granted Critical
Publication of CN115878815B publication Critical patent/CN115878815B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Machine Translation (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明涉及数据处理技术领域,是关于一种法律文书的判决结果预测方法、装置及存储介质,方法包括:获取海量法律判决实例的法律判决文书;对每个法律判决文书进行法律要素提取和法律要素之间的关系确定,以得到从原告诉求类型、判决理由到判决结果的判决事件链和要素关系;根据每个法律判决文书对应的判决事件链和要素关系,以法律判决实例为中心构建法律判决文书的知识图谱;接收输入的法律事实,其中,所述法律事实包括法律诉求;利用所述知识图谱和法律检索模型,预测并输出所述法律事实对应的法律判决结果。通过该技术方案,省略复杂冗余的要素对齐映射到推理函数的复杂冗余工作,并且在文书检索上基于优异的特征表答取得不错的效果。

Figure 202211507324

The present invention relates to the technical field of data processing, and relates to a judgment result prediction method, device and storage medium of legal documents. The method includes: obtaining legal judgment documents of massive legal judgment examples; extracting legal elements and legal The relationship between the elements is determined to obtain the judgment event chain and element relationship from the plaintiff's claim type, judgment reason to judgment result; according to the judgment event chain and element relationship corresponding to each legal judgment document, the legal judgment instance is centered on the construction of legal The knowledge map of the judgment document; receiving the input legal facts, wherein the legal facts include legal claims; using the knowledge map and the legal retrieval model to predict and output the legal judgment results corresponding to the legal facts. Through this technical solution, the complex and redundant work of aligning and mapping complex and redundant elements to inference functions is omitted, and good results are achieved in document retrieval based on excellent feature representation.

Figure 202211507324

Description

法律文书的判决结果预测方法、装置及存储介质Judgment result prediction method, device and storage medium for legal documents

技术领域technical field

本发明涉及数据处理技术领域,尤其涉及一种法律文书的判决结果预测方法、装置及存储介质。The present invention relates to the technical field of data processing, in particular to a method, device and storage medium for predicting a judgment result of a legal document.

背景技术Background technique

近年来,大数据与人工智能算法日益得到各个行业和领域的高度重视和推进。包括我国在内的许多国家均将人工智能上升到国家战略高度。在司法领域方面,受益于大数据技术的推动,我国各级司法机构进入了以提供智慧司法服务为核心的“智慧法院”建设时期。In recent years, big data and artificial intelligence algorithms have been increasingly valued and promoted in various industries and fields. Many countries, including my country, have raised artificial intelligence to a national strategic level. In the judicial field, benefiting from the promotion of big data technology, judicial institutions at all levels in my country have entered a period of "smart court" construction with the provision of smart judicial services as the core.

然而,目前智慧司法研究领域中针对具体任务提出的方法仍对其实际应用有根本性阻碍。其一是现阶段主流方法大多基于机器学习、神经网络等模型,模型具有的黑盒缺陷导致研究过程和结果普遍缺乏可解释性,大大降低了模型的可信度和可用性。其二是依赖于大规模数据训练的模型普遍缺乏推理机制,机器智能泛指该智能体能够像人类一样学习、感知、理解和工作,其中理解人类认知这一特征是实现智能的必要条件之一,知识推理是人类认知的重要手段,当今大多数基于统计模型的方法无法利用知识推理得出结果,即模型不具备推理机制。However, the task-specific approaches proposed in the current field of smart justice research still have fundamental obstacles to their practical application. One is that the mainstream methods at this stage are mostly based on models such as machine learning and neural networks. The black box defects of the models lead to the general lack of interpretability of the research process and results, which greatly reduces the credibility and usability of the models. The second is that models that rely on large-scale data training generally lack reasoning mechanisms. Machine intelligence generally refers to the ability of an agent to learn, perceive, understand, and work like humans. Understanding the characteristics of human cognition is one of the necessary conditions for realizing intelligence. First, knowledge reasoning is an important means of human cognition. Most methods based on statistical models today cannot use knowledge reasoning to obtain results, that is, the model does not have a reasoning mechanism.

司法判决推理是法院审理案件获得判决的方法,也是证明司法判决正当性的重要手段,因而,它既是一种法律思维方法,又是法官解决问题的一种实践理性或实践推理过程。理论上讲,司法判决应该是司法推理的逻辑结果。在法治社会中任何一个案件的判决,法官都应该提供一定的理由或根据,而司法推理能够为司法判决提供正当性证明,因为法律推理的首要作用在于为结论提供正当性理由,同时,一个逻辑严密的司法推理本身就形成了强有力的理由或根据。Judicial reasoning is a method for courts to obtain judgments in cases and an important means to prove the legitimacy of judicial decisions. Therefore, it is not only a method of legal thinking, but also a practical rationality or practical reasoning process for judges to solve problems. Theoretically speaking, judicial decisions should be the logical result of judicial reasoning. In the judgment of any case in a society ruled by law, judges should provide certain reasons or grounds, and judicial reasoning can provide justification for judicial decisions, because the primary role of legal reasoning is to provide justification for conclusions. At the same time, a logic Strict judicial reasoning itself forms a strong reason or basis.

现有的推理逻辑主要存在以下缺陷:The existing reasoning logic mainly has the following defects:

1)有的应用逻辑一般有大量的法律要素需要对齐到标准类别,例如离婚判决中的孩子抚养权判决‘孩子小于2岁’需要对齐到“孩子|年龄|小于2岁”等大量的原因需要对齐,如果条件缺失则不能推理,这对知识体系构建和批量推理并不是一个容易的事情。1) Some application logic generally has a large number of legal elements that need to be aligned to standard categories, such as child custody judgments in divorce judgments 'child is less than 2 years old' needs to be aligned to a large number of reasons such as "child|age|less than 2 years old" Alignment, if the condition is missing, it cannot be reasoned, which is not an easy task for knowledge system construction and batch reasoning.

2)通常现有的推理模式为构建判决函数,基本上基于规则的推理,并不具备大数据的多样性、容错率和预警功能。2) Usually the existing reasoning mode is to construct a decision function, which is basically rule-based reasoning, and does not have the diversity, fault tolerance and early warning functions of big data.

3)现有的要素抽取解析模型对大批量的数据依赖性过大,没有可靠的鲁棒性和小样本学习能力。3) The existing element extraction analysis model is too dependent on large batches of data, and has no reliable robustness and small-sample learning ability.

发明内容Contents of the invention

为克服相关技术中存在的问题,本发明提供一种法律文书的判决结果预测方法、装置及存储介质,从而降低获取数据的人工成本,提高领域适配性,更好地适配细粒度的应用场景。In order to overcome the problems existing in related technologies, the present invention provides a judgment result prediction method, device and storage medium of legal documents, thereby reducing the labor cost of obtaining data, improving domain adaptability, and better adapting to fine-grained applications Scenes.

根据本发明实施例的第一方面,提供一种法律文书的判决结果预测方法,所述方法包括:According to a first aspect of an embodiment of the present invention, a method for predicting a judgment result of a legal document is provided, the method comprising:

获取海量法律判决实例的法律判决文书;Obtain legal judgment documents of a large number of legal judgment examples;

对每个法律判决文书进行法律要素提取和法律要素之间的关系确定,以得到从原告诉求类型、判决理由到判决结果的判决事件链和要素关系,其中,所述法律要素包括原告诉求类型、判决理由和判决结果,所述要素关系包括因果关系和对应关系;Extract legal elements and determine the relationship between legal elements for each legal judgment document, so as to obtain the judgment event chain and element relationship from the plaintiff's claim type, judgment reason to judgment result, wherein the legal elements include the plaintiff's claim type, Judgment reasons and judgment results, the element relationship includes causality and correspondence;

根据每个法律判决文书对应的判决事件链和要素关系,以法律判决实例为中心构建法律判决文书的知识图谱,其中,所述知识图谱自上而下依次包括:根节点、案由类别、诉求类别、法律判决实例、判决理由和判决结果,所述知识图谱中还包括要素关系的标注;According to the judgment event chain and element relationship corresponding to each legal judgment document, the knowledge graph of the legal judgment document is constructed centering on the legal judgment instance, wherein the knowledge graph includes from top to bottom: root node, cause of action category, appeal category , legal judgment examples, judgment reasons and judgment results, and the knowledge map also includes annotations of element relationships;

接收输入的法律事实,其中,所述法律事实包括法律诉求;receiving input legal facts, wherein the legal facts include legal claims;

利用所述知识图谱和法律检索模型,预测并输出所述法律事实对应的法律判决结果。Using the knowledge graph and the legal retrieval model, predict and output the legal judgment results corresponding to the legal facts.

在一个实施例中,优选地,对每个法律判决文书进行法律要素提取和法律要素之间的关系确定,包括:In one embodiment, preferably, the extraction of legal elements and the determination of the relationship between legal elements are performed on each legal judgment document, including:

使用要素类别分类模型对所述每个法律判决文书进行法律要素识别,以得到要素类别分类识别结果;Using the element category classification model to identify the legal elements of each of the legal judgment documents to obtain the element category classification and identification results;

将所述要素类别分类识别结果和所述法律判决文书的特征进行拼接,并加入案由类别信息输入至阅读理解模型,以使阅读理解模型根据所述要素类别分类识别结果确定法律要素的内容和位置,输出从原告诉求类型、判决理由到判决结果的判决事件链和要素关系。Splicing the recognition result of the element category classification and the features of the legal judgment document, and adding case category information into the reading comprehension model, so that the reading comprehension model determines the content and location of the legal element according to the element category classification recognition result , output the judgment event chain and element relationship from the plaintiff's claim type, judgment reason to judgment result.

在一个实施例中,优选地,所述方法还包括:In one embodiment, preferably, the method further includes:

以Milvus为特征存储器,根据所述知识图谱自上向下的层级构建索引集合,并利用transformer法律编码模型编码得到法律判决文书特征,文书向量特征,判决事件链,事件链向量,并与法律判决文书ID进行对应存储。Using Milvus as the feature memory, an index set is built from top to bottom according to the knowledge map, and the legal coding model of the transformer is used to encode the legal judgment document features, document vector features, judgment event chains, event chain vectors, and legal judgments The document ID is correspondingly stored.

在一个实施例中,优选地,利用所述知识图谱和法律检索模型,预测并输出所述法律事实对应的法律判决结果,包括:In one embodiment, preferably, using the knowledge graph and the legal retrieval model, predict and output the legal judgment results corresponding to the legal facts, including:

对所述法律事实进行意图解析,以确定所述法律事实对应的目标案由类别和目标诉求类别;Perform intent analysis on the legal facts to determine the target cause category and target appeal category corresponding to the legal facts;

根据所述目标案由类别和目标诉求类别在所述知识图谱中进行检索,以确定对应的至少一个法律判决实例;Searching in the knowledge map according to the target case category and the target appeal category to determine at least one corresponding legal judgment instance;

利用transformer法律编码模型对所述法律事实和对应的至少一个法律判决实例的判决理由进行特征编码,得到对应的法律事实特征向量和法律判决实例的判决理由特征向量;Using the transformer legal coding model to perform feature coding on the legal facts and the corresponding judgment reasons of at least one legal judgment instance, to obtain the corresponding legal fact feature vector and the judgment reason feature vector of the legal judgment instance;

计算法律事实特征向量和法律判决实例的判决理由特征向量的相似度,并根据相似度确定所述法律事实对应的法律判决结果。Calculate the similarity between the legal fact feature vector and the judgment reason feature vector of the legal judgment instance, and determine the legal judgment result corresponding to the legal fact according to the similarity.

在一个实施例中,优选地,所述方法还包括:In one embodiment, preferably, the method further includes:

接收输入的对目标法律事实的检索命令;receiving an input search command for a target legal fact;

根据所述检索命令,利用transformer法律编码模型对所述目标法律事实进行特征编码,得到编码后的特征;According to the retrieval command, using the transformer legal coding model to perform feature coding on the target legal facts to obtain the coded features;

将所述编码后的特征与存储的所述法律判决文书特征和判决事件链进行相似度匹配,以检索到所述目标法律事实对应的判决文书。Perform similarity matching between the encoded features and the stored features of the legal judgment documents and the chain of judgment events, so as to retrieve the judgment documents corresponding to the target legal facts.

在一个实施例中,优选地,所述方法还包括:In one embodiment, preferably, the method further includes:

接收输入的相似文书检索命令;Receiving an input similar document search command;

根据所述相似文书检索命令,确定当前法律文书对应的判决事件链;According to the similar document retrieval command, determine the judgment event chain corresponding to the current legal document;

利用transformer法律编码模型对当前法律文书的判决事件链进行特征编码,得到编码后的事件链特征;Use the Transformer legal coding model to encode the features of the judgment event chain of the current legal document, and obtain the encoded event chain features;

将所述编码后的事件链特征与存储的所述法律判决文书特征和判决事件链进行相似度匹配,以检索到与当前法律文书相似的法律判决文书。Similarity matching is performed on the coded event chain features with the stored legal judgment document features and judgment event chains, so as to retrieve legal judgment documents similar to the current legal documents.

在一个实施例中,优选地,所述方法还包括:In one embodiment, preferably, the method further includes:

根据海量法律判决实例的法律判决文书对transformer模型进行学习训练,以得到所述transformer法律编码模型。The transformer model is learned and trained according to the legal judgment documents of a large number of legal judgment examples, so as to obtain the transformer legal coding model.

根据本发明实施例的第二方面,提供一种法律文书的判决结果预测装置,所述装置包括:According to a second aspect of an embodiment of the present invention, a device for predicting a judgment result of a legal document is provided, and the device includes:

获取模块,用于获取海量法律判决实例的法律判决文书;The obtaining module is used to obtain legal judgment documents of a large number of legal judgment instances;

第一确定模块,用于对每个法律判决文书进行法律要素提取和法律要素之间的关系确定,以得到从原告诉求类型、判决理由到判决结果的判决事件链和要素关系,其中,所述法律要素包括原告诉求类型、判决理由和判决结果,所述要素关系包括因果关系和对应关系;The first determination module is used to extract legal elements and determine the relationship between legal elements for each legal judgment document, so as to obtain the judgment event chain and element relationship from the plaintiff's claim type, judgment reason to judgment result, wherein the The legal elements include the type of plaintiff's claim, the reason for the judgment and the result of the judgment, and the relationship between the elements includes causality and correspondence;

构建模块,用于根据每个法律判决文书对应的判决事件链和要素关系,以法律判决实例为中心构建法律判决文书的知识图谱,其中,所述知识图谱自上而下依次包括:根节点、案由类别、诉求类别、法律判决实例、判决理由和判决结果,所述知识图谱中还包括要素关系的标注;The building module is used to construct the knowledge map of the legal judgment document centering on the legal judgment instance according to the judgment event chain and element relationship corresponding to each legal judgment document, wherein the knowledge map includes from top to bottom: root node, Category of cause of action, category of appeal, instance of legal judgment, reason for judgment and result of judgment, and the knowledge map also includes annotation of element relationship;

接收模块,用于接收输入的法律事实,其中,所述法律事实包括法律诉求;a receiving module, configured to receive input legal facts, wherein the legal facts include legal claims;

预测模块,用于利用所述知识图谱和法律检索模型,预测并输出所述法律事实对应的法律判决结果。The prediction module is configured to use the knowledge graph and the legal retrieval model to predict and output the legal judgment results corresponding to the legal facts.

在一个实施例中,优选地,第一确定模块用于:In one embodiment, preferably, the first determination module is used for:

使用要素类别分类模型对所述每个法律判决文书进行法律要素识别,以得到要素类别分类识别结果;Using the element category classification model to identify the legal elements of each of the legal judgment documents to obtain the element category classification and identification results;

将所述要素类别分类识别结果和所述法律判决文书的特征进行拼接,并加入案由类别信息输入至阅读理解模型,以使阅读理解模型根据所述要素类别分类识别结果确定法律要素的内容和位置,输出从原告诉求类型、判决理由到判决结果的判决事件链和要素关系。Splicing the recognition result of the element category classification and the features of the legal judgment document, and adding case category information into the reading comprehension model, so that the reading comprehension model determines the content and location of the legal element according to the element category classification recognition result , output the judgment event chain and element relationship from the plaintiff's claim type, judgment reason to judgment result.

在一个实施例中,优选地,所述装置还包括:In one embodiment, preferably, the device further includes:

存储模块,用于以Milvus为特征存储器,根据所述知识图谱自上向下的层级构建索引集合,并利用transformer法律编码模型编码得到法律判决文书特征,文书向量特征,判决事件链,事件链向量,并与法律判决文书ID进行对应存储。The storage module is used to use Milvus as the feature memory, construct an index set according to the top-down hierarchy of the knowledge map, and use the transformer legal coding model to encode the legal judgment document features, document vector features, judgment event chains, and event chain vectors , and correspondingly stored with the legal judgment document ID.

在一个实施例中,优选地,预测模块用于:In one embodiment, preferably, the prediction module is used for:

对所述法律事实进行意图解析,以确定所述法律事实对应的目标案由类别和目标诉求类别;Perform intent analysis on the legal facts to determine the target cause category and target appeal category corresponding to the legal facts;

根据所述目标案由类别和目标诉求类别在所述知识图谱中进行检索,以确定对应的至少一个法律判决实例;Searching in the knowledge map according to the target case category and the target appeal category to determine at least one corresponding legal judgment instance;

利用transformer法律编码模型对所述法律事实和对应的至少一个法律判决实例的判决理由进行特征编码,得到对应的法律事实特征向量和法律判决实例的判决理由特征向量;Using the transformer legal coding model to perform feature coding on the legal facts and the corresponding judgment reasons of at least one legal judgment instance, to obtain the corresponding legal fact feature vector and the judgment reason feature vector of the legal judgment instance;

计算法律事实特征向量和法律判决实例的判决理由特征向量的相似度,并根据相似度确定所述法律事实对应的法律判决结果。Calculate the similarity between the legal fact feature vector and the judgment reason feature vector of the legal judgment instance, and determine the legal judgment result corresponding to the legal fact according to the similarity.

在一个实施例中,优选地,所述装置还包括:In one embodiment, preferably, the device further includes:

第一检索模块,用于接收输入的对目标法律事实的检索命令;A first retrieval module, configured to receive an input retrieval command for a target legal fact;

第一编码模块,用于根据所述检索命令,利用transformer法律编码模型对所述目标法律事实进行特征编码,得到编码后的特征;The first encoding module is used to perform feature encoding on the target legal facts according to the retrieval command using the Transformer legal encoding model to obtain encoded features;

第一匹配模块,用于将所述编码后的特征与存储的所述法律判决文书特征和判决事件链进行相似度匹配,以检索到所述目标法律事实对应的判决文书。The first matching module is configured to perform similarity matching between the encoded features and the stored features and judgment event chains of the legal judgment documents, so as to retrieve the judgment documents corresponding to the target legal facts.

在一个实施例中,优选地,所述装置还包括:In one embodiment, preferably, the device further includes:

第二检索模块,用于接收输入的相似文书检索命令;The second retrieval module is used to receive an input similar document retrieval command;

第二确定模块,用于根据所述相似文书检索命令,确定当前法律文书对应的判决事件链;The second determination module is used to determine the judgment event chain corresponding to the current legal document according to the similar document retrieval command;

第二编码模块,用于利用transformer法律编码模型对当前法律文书的判决事件链进行特征编码,得到编码后的事件链特征;The second encoding module is used to use the transformer legal encoding model to encode the features of the judgment event chain of the current legal document, and obtain the encoded event chain features;

第二匹配模块,用于将所述编码后的事件链特征与存储的所述法律判决文书特征和判决事件链进行相似度匹配,以检索到与当前法律文书相似的法律判决文书。The second matching module is configured to perform similarity matching between the coded event chain features and the stored legal judgment document features and judgment event chains, so as to retrieve legal judgment documents similar to the current legal documents.

在一个实施例中,优选地,所述装置还包括:In one embodiment, preferably, the device further includes:

训练模块,用于根据海量法律判决实例的法律判决文书对transformer模型进行学习训练,以得到所述transformer法律编码模型。The training module is used to learn and train the transformer model according to the legal judgment documents of a large number of legal judgment examples, so as to obtain the transformer legal coding model.

根据本发明实施例的第三方面,提供一种法律文书的判决结果预测装置,所述装置包括:According to a third aspect of an embodiment of the present invention, a device for predicting a judgment result of a legal document is provided, the device comprising:

处理器;processor;

用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;

其中,所述处理器被配置为:Wherein, the processor is configured as:

获取海量法律判决实例的法律判决文书;Obtain legal judgment documents of a large number of legal judgment examples;

对每个法律判决文书进行法律要素提取和法律要素之间的关系确定,以得到从原告诉求类型、判决理由到判决结果的判决事件链和要素关系,其中,所述法律要素包括原告诉求类型、判决理由和判决结果,所述要素关系包括因果关系和对应关系;Extract legal elements and determine the relationship between legal elements for each legal judgment document, so as to obtain the judgment event chain and element relationship from the plaintiff's claim type, judgment reason to judgment result, wherein the legal elements include the plaintiff's claim type, Judgment reasons and judgment results, the element relationship includes causality and correspondence;

根据每个法律判决文书对应的判决事件链和要素关系,以法律判决实例为中心构建法律判决文书的知识图谱,其中,所述知识图谱自上而下依次包括:根节点、案由类别、诉求类别、法律判决实例、判决理由和判决结果,所述知识图谱中还包括要素关系的标注;According to the judgment event chain and element relationship corresponding to each legal judgment document, the knowledge graph of the legal judgment document is constructed centering on the legal judgment instance, wherein the knowledge graph includes from top to bottom: root node, cause of action category, appeal category , legal judgment examples, judgment reasons and judgment results, and the knowledge map also includes annotations of element relationships;

接收输入的法律事实,其中,所述法律事实包括法律诉求;receiving input legal facts, wherein the legal facts include legal claims;

利用所述知识图谱和法律检索模型,预测并输出所述法律事实对应的法律判决结果。Using the knowledge graph and the legal retrieval model, predict and output the legal judgment results corresponding to the legal facts.

根据本发明实施例的第四方面,提供一种计算机可读存储介质,其上存储有计算机指令,所述指令被处理器执行时实现如第二方面的实施例中任一项所述方法的步骤。According to a fourth aspect of the embodiments of the present invention, there is provided a computer-readable storage medium, on which computer instructions are stored, and when the instructions are executed by a processor, the method described in any one of the embodiments of the second aspect is implemented. step.

本发明的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present invention may include the following beneficial effects:

本发明实施例中,构建链式结构因果关系,从案由到诉求类别到判决理由到判决结果,构建更深层的解析和表答并一一关联并构建法律判决知识图谱,通过定制化语义模型的表答,将多轮推理函数简化为语义理解任务,省略复杂冗余的要素对齐映射到推理函数的复杂冗余工作,并且在文书检索上基于优异的特征表答取得不错的效果。In the embodiment of the present invention, the causal relationship of chain structure is constructed, from the cause of action to the category of appeal to the reason of judgment to the judgment result, and a deeper analysis and expression are constructed and associated one by one to build a legal judgment knowledge map, through the customized semantic model Table answering simplifies multi-round reasoning functions into semantic understanding tasks, omits the complex and redundant work of aligning and mapping complex and redundant elements to reasoning functions, and achieves good results in document retrieval based on excellent feature table answers.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本发明。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.

图1是根据一示例性实施例示出的一种法律文书的判决结果预测方法的流程图。Fig. 1 is a flowchart of a method for predicting a judgment result of a legal document according to an exemplary embodiment.

图2是根据一示例性实施例示出的法律判决文书的组成示意图。Fig. 2 is a schematic composition diagram of a legal judgment document according to an exemplary embodiment.

图3是根据一示例性实施例示出的判决事件链示意图。Fig. 3 is a schematic diagram of a decision event chain according to an exemplary embodiment.

图4是根据一示例性实施例示出的知识图谱示意图。Fig. 4 is a schematic diagram of a knowledge graph according to an exemplary embodiment.

图5是根据一示例性实施例示出的一种法律文书的判决结果预测方法中步骤S102的流程图。Fig. 5 is a flow chart of step S102 in a method for predicting a judgment result of a legal document according to an exemplary embodiment.

图6A是根据一示例性实施例示出的要素类别分类模型和阅读理解模型的具体模型结构和处理过程示意图。Fig. 6A is a schematic diagram of a specific model structure and processing process of an element category classification model and a reading comprehension model according to an exemplary embodiment.

图6B是根据一示例性实施例示出的标签命名示意图。Fig. 6B is a schematic diagram showing label naming according to an exemplary embodiment.

图7是根据一示例性实施例示出的特征存储示意图。Fig. 7 is a schematic diagram of feature storage according to an exemplary embodiment.

图8是根据一示例性实施例示出的一种法律文书的判决结果预测方法中步骤S105的流程图。Fig. 8 is a flow chart of step S105 in a method for predicting a judgment result of a legal document according to an exemplary embodiment.

图9是根据一示例性实施例示出的另一种法律文书的判决结果预测方法的流程图。Fig. 9 is a flow chart showing another method for predicting a judgment result of a legal document according to an exemplary embodiment.

图10是根据一示例性实施例示出的又一种法律文书的判决结果预测方法的流程图。Fig. 10 is a flowchart showing yet another method for predicting a judgment result of a legal document according to an exemplary embodiment.

图11是根据一示例性实施例示出的一种法律文书的判决结果预测装置的框图。Fig. 11 is a block diagram of an apparatus for predicting a judgment result of a legal document according to an exemplary embodiment.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

图1是根据一示例性实施例示出的一种法律文书的判决结果预测方法的流程图。Fig. 1 is a flowchart of a method for predicting a judgment result of a legal document according to an exemplary embodiment.

如图1所示,根据本发明实施例的第一方面,提供一种法律文书的判决结果预测方法,所述方法包括:As shown in FIG. 1 , according to the first aspect of the embodiments of the present invention, a method for predicting a judgment result of a legal document is provided, and the method includes:

步骤S101,获取海量法律判决实例的法律判决文书;Step S101, obtaining legal judgment documents of a large number of legal judgment instances;

法律判决文书主要有当事人信息、审判过程、原告诉称、被告辩称、法院查明、本院认为6个主要部分以及三个视角建模(原告视角、被告视角、法院视角),如图2所示,其中,legal instrument表示整篇的判决文书,party information表示整篇判决文书的当事人信息,trial process表示整篇判决文书的审判过程,plaintiff claim表示整篇判决文书的原告诉称,defendant defense表示整篇判决文书的被告辩称,court investigation表示整篇判决文书的法院查明,court believes表示整篇判决文书的本院认为。The legal judgment documents mainly include six main parts: party information, trial process, plaintiff’s statement, defendant’s defense, court investigation, and this court’s opinion, as well as modeling from three perspectives (plaintiff’s perspective, defendant’s perspective, and court’s perspective), as shown in Figure 2 As shown, among them, legal instrument indicates the entire judgment document, party information indicates the party information of the entire judgment document, trial process indicates the trial process of the entire judgment document, plaintiff claim indicates the plaintiff claim of the entire judgment document, and defender defense The defendant who means the entire judgment document argues, court investigation means the court’s investigation of the entire judgment document, and court believes means the opinion of the entire judgment document.

还有主要视角,其中plaintiff view表示原告的视角,defendant view表示被告的视角,court view表示法院视角。There are also main perspectives, among which plaintiff view represents the perspective of the plaintiff, defender view represents the perspective of the defendant, and court view represents the perspective of the court.

步骤S102,对每个法律判决文书进行法律要素提取和法律要素之间的关系确定,以得到从原告诉求类型、判决理由到判决结果的判决事件链和要素关系,其中,所述法律要素包括原告诉求类型、判决理由和判决结果,所述要素关系包括因果关系和对应关系;Step S102, extract legal elements and determine the relationship between legal elements for each legal judgment document, so as to obtain the judgment event chain and element relationship from the plaintiff's claim type, judgment reason to judgment result, wherein the legal elements include plaintiff The type of appeal, the reason for the judgment and the result of the judgment, and the relationship between the elements includes the causal relationship and the corresponding relationship;

由于本发明主要构建判决的因果关系即法院说理,所以此处主要细化法院视角部分,其中可以建模为原告诉求类型(判决类型)、判决理由(条件)、判决结果:Since the present invention mainly constructs the causal relationship of the judgment, that is, the reasoning of the court, the court's perspective part is mainly refined here, which can be modeled as the plaintiff's claim type (judgment type), judgment reason (condition), and judgment result:

其中court believes表示法院认为段落内容,本段落解析拆分为多种要素,其中claim为原告诉求类型、reason表示判决理由(条件)、res表示判决结果。Among them, court believes means the content of the paragraph that the court believes, and the analysis of this paragraph is divided into multiple elements, among which claim is the type of plaintiff's appeal, reason means the reason (condition) of the judgment, and res means the result of the judgment.

对法律文书的判决因果关系抽取可以看做是法院说理部分的要素结构化抽取,主要针对成段落或者篇幅的法院说理部分进行要素抽取和因果关系对应,其中包括:原告诉求类型(claim)、判决理由(reason)、判决结果(res),对应关系如图3所示,呈现(1,n,1)一对多对1的关系。最后以一个链式结构表示<claim,r1,reason>(其中r1表示对应关系),<reason,r2,res>(其中r2表示因果关系)。Judgment causality extraction of legal documents can be regarded as the structural extraction of elements of the court’s reasoning part, which is mainly aimed at element extraction and causality correspondence for the court’s reasoning part of paragraphs or lengths, including: plaintiff’s claim type (claim), judgment The reason (reason), judgment result (res), and the corresponding relationship are shown in Figure 3, presenting a (1, n, 1) one-to-many-to-1 relationship. Finally, <claim, r1, reason> (where r1 represents the corresponding relationship), <reason, r2, res> (where r2 represents the causal relationship) is represented in a chain structure.

传统的关于关系抽取的方法一般会定义为两类任务,即文本抽取和关系预测(图神经网络),然而现实生成环境中由于数据成本的问题,所以对于判决类型的数据稀疏、整体能供给模型的数据量以及关系标注的复杂程度等多种原因,对传统的关系解析模型的学习效率达不到预期水平。因此,本发明提出基于数据关联和递进关系抽取的方法,用以解析从诉求类型到判决理由(条件)最后到判决结果的链式结构。Traditional methods of relation extraction are generally defined as two types of tasks, namely text extraction and relation prediction (graph neural network). However, due to the problem of data cost in the real generation environment, the data for the decision type is sparse and the overall energy can be supplied to the model. Due to various reasons such as the amount of data and the complexity of relational labeling, the learning efficiency of traditional relational analysis models cannot reach the expected level. Therefore, the present invention proposes a method based on data association and progressive relation extraction to analyze the chain structure from appeal type to decision reason (condition) and finally to decision result.

步骤S103,根据每个法律判决文书对应的判决事件链和要素关系,以法律判决实例为中心构建法律判决文书的知识图谱,其中,所述知识图谱自上而下依次包括:根节点、案由类别、诉求类别、法律判决实例、判决理由和判决结果,所述知识图谱中还包括要素关系的标注;Step S103, according to the judgment event chain and element relationship corresponding to each legal judgment document, construct the knowledge map of the legal judgment document centering on the legal judgment instance, wherein the knowledge map includes from top to bottom: root node, cause of action category , appeal category, legal judgment instance, reason for judgment and judgment result, and the knowledge map also includes annotation of element relationship;

知识图谱如图4所示,根节点为整个图谱的核心节点;下级结构为案由类别casecategory;案由类别下级表示为诉求类别claim,其中包括该案由下的核心常用诉求,本处以离婚判决为例子进行举例说明:离婚判决-->抚养权判决|离婚财产判决。以每个判决实例example为中心构建判决理由reason和判决结果res的多对一或者一对一关系,每个子图代表该诉求类别的一个实例。不断累计判决的因果关系以满足判决的推理需求。The knowledge graph is shown in Figure 4. The root node is the core node of the entire graph; the substructure is the casecategory; the lower level of the case category is the claim category, which includes the core common demands under the cause of the case. This section uses the divorce judgment as an example. For example: Divorce Judgment --> Custody Judgment | Divorce Property Judgment. A many-to-one or one-to-one relationship between the decision reason and the decision res is constructed centering on each decision instance example, and each subgraph represents an instance of the appeal category. Continuously accumulate the causal relationship of judgments to meet the reasoning needs of judgments.

步骤S104,接收输入的法律事实,其中,所述法律事实包括法律诉求;Step S104, receiving input legal facts, wherein the legal facts include legal claims;

步骤S105,利用所述知识图谱和法律检索模型,预测并输出所述法律事实对应的法律判决结果。Step S105, using the knowledge graph and the legal retrieval model to predict and output the legal judgment result corresponding to the legal fact.

本发明实施例中,构建链式结构因果关系,从案由到诉求类别到判决理由到判决结果,构建更深层的解析和表答并一一关联并构建法律判决知识图谱,通过定制化语义模型的表答,将多轮推理函数简化为语义理解任务,省略复杂冗余的要素对齐映射到推理函数的复杂冗余工作,并且在文书检索上基于优异的特征表答取得不错的效果。In the embodiment of the present invention, the causal relationship of chain structure is constructed, from the cause of action to the category of appeal to the reason of judgment to the judgment result, and a deeper analysis and expression are constructed and associated one by one to build a legal judgment knowledge map, through the customized semantic model Table answering simplifies multi-round reasoning functions into semantic understanding tasks, omits the complex and redundant work of aligning and mapping complex and redundant elements to reasoning functions, and achieves good results in document retrieval based on excellent feature table answers.

图5是根据一示例性实施例示出的一种法律文书的判决结果预测方法中步骤S102的流程图。Fig. 5 is a flow chart of step S102 in a method for predicting a judgment result of a legal document according to an exemplary embodiment.

如图5所示,在一个实施例中,优选地,步骤S102包括:As shown in Figure 5, in one embodiment, preferably, step S102 includes:

步骤S501,使用要素类别分类模型对所述每个法律判决文书进行法律要素识别,以得到要素类别分类识别结果;Step S501, using the element category classification model to identify the legal elements of each of the legal judgment documents, so as to obtain the element category classification recognition result;

步骤S502,将所述要素类别分类识别结果和所述法律判决文书的特征进行拼接,并加入案由类别信息输入至阅读理解模型,以使阅读理解模型根据所述要素类别分类识别结果确定法律要素的内容和位置,输出从原告诉求类型、判决理由到判决结果的判决事件链和要素关系。Step S502, splicing the identification result of the element category classification and the features of the legal judgment document, and adding the case category information into the reading comprehension model, so that the reading comprehension model can determine the legal element according to the element category classification identification result Content and location, output the judgment event chain and element relationship from the plaintiff's claim type, judgment reason to judgment result.

通过分类预测的高效学习效率克服小样本数据集信息量较少的关键问题。然后分类预测部分的结果可以明确表示本句话中存在的要素类别信息,阅读理解模型(mrc)基于Prompt learning的机制降低阅读理解模型(mrc)的学习成本同时大大提升预测时阅读理解模型(mrc)的效率。Overcome the key problem of less information in small sample datasets through the efficient learning efficiency of classification prediction. Then the results of the classification prediction part can clearly indicate the element category information in this sentence. The reading comprehension model (mrc) based on the mechanism of prompt learning reduces the learning cost of the reading comprehension model (mrc) and greatly improves the reading comprehension model (mrc) during prediction. )s efficiency.

其中,要素类别分类模型和阅读理解模型的具体模型结构和处理过程如图6A所示,通过分类预测的高效学习效率克服小样本数据集信息量较少的关键问题。然后分类预测部分的结果可以明确表示本句话中存在的要素类别信息,阅读理解模型(mrc)基于Prompt learning的机制降低阅读理解模型(mrc)的学习成本同时大大提升预测时阅读理解模型(mrc)的效率。其中input(sentence)表示小句级别的文本输入;classer表示该句话内包含的要素类别分类模型;mrc input表示阅读理解的输入拼接包含分类器的结果res1query作为阅读理解的问题拼接input(sentence)的文本句子最终为mrc模型的整体特征;mrc表示阅读理解模型;output表示模型输出包括在整个链式结构中的位置类别例如{...}诉求类型、{...}判决原因、{...}判决结果以及具体的要素信息;C表示案由的类别划分为模型学习提供前置条件提高学习效率;element category task表示短句中包含的要素类别数据;mrc task表示阅读理解任务用于抽取详细的要素。Among them, the specific model structure and processing process of the element category classification model and the reading comprehension model are shown in Figure 6A. The high learning efficiency of classification prediction overcomes the key problem of less information in small sample data sets. Then the results of the classification prediction part can clearly indicate the element category information in this sentence. The reading comprehension model (mrc) based on the mechanism of prompt learning reduces the learning cost of the reading comprehension model (mrc) and greatly improves the reading comprehension model (mrc) during prediction. )s efficiency. Among them, input(sentence) represents the text input at the sentence level; classer represents the classification model of the element categories contained in the sentence; mrc input represents the input splicing of reading comprehension, including the result of the classifier res1query as the splicing input(sentence) of reading comprehension The text sentence of the final is the overall feature of the mrc model; mrc means the reading comprehension model; output means that the model output includes the position category in the entire chain structure, such as {...} appeal type, {...} reason for judgment, {. ..} Judgment results and specific element information; C indicates that the category division of the cause of action provides preconditions for model learning to improve learning efficiency; element category task indicates the element category data contained in short sentences; mrc task indicates that the reading comprehension task is used to extract Detailed elements.

具体地,如图6A所示,要素类别分类模型包括:Specifically, as shown in Figure 6A, the feature category classification model includes:

input(sentence)层:输入层是模型输入的原始文本,将法律判决文本按符号切分成单个的小句子,然后将一段中的小句子成批次的输入到模型中用于模型的解析。案由的类别(C)提高模型学习效率。Input (sentence) layer: The input layer is the original text input by the model. The legal judgment text is divided into individual small sentences according to symbols, and then the small sentences in a paragraph are input into the model in batches for model analysis. The category of the case (C) improves the model learning efficiency.

classer层:要素类别分类器主要解析句子中包含的要素类别,特征表示层也叫嵌入层,利用神经网络对输入的文本进行类别的表示。常用的特征表示手段有利用卷积神经网络、长短记忆机以及transfomer系列模型,本发明采用lawformer模型。classer layer: The element category classifier mainly analyzes the element categories contained in the sentence, and the feature representation layer is also called the embedding layer, which uses the neural network to represent the category of the input text. Commonly used feature representation methods include the use of convolutional neural networks, long and short memory machines, and transformer series models. The present invention uses the lawformer model.

如图6B所示,可以以标签的形式标记要素类别。后续再以标签命名的方式将关系标签转换为链式结构,方便后续将低效的关系学习模型转换为高效的分类学习模型。As shown in Figure 6B, element categories can be marked in the form of tags. Subsequently, the relationship labels are converted into a chain structure in the form of label naming, which facilitates the subsequent conversion of inefficient relationship learning models into efficient classification learning models.

阅读理解模型包括:Reading comprehension models include:

mrc input层:阅读理解输入主要包含三方信息分类模型识别的结果、原法律文本、提示的案由类别(C),将信息分类模型识别的结果和原法律文本特征进行拼接,然后再拼接的特征后加入案由类别(C)信息。mrc input layer: The reading comprehension input mainly includes the recognition results of the three-party information classification model, the original legal text, and the suggested cause of action category (C). Added cause category (C) information.

mrc层:主要根据前面的递进信息解析要素的详细内容和位置。主要的技术手段有命名识别识别(ner)、片段分类(span_class),本发明采用阅读理解模型(mrc)达到可以单独抽取某一类要素的控制目的并且大大提高效率降低计算量。mrc layer: mainly analyze the detailed content and location of elements based on the previous progressive information. The main technical means include name recognition (ner) and segment classification (span_class). The present invention adopts the reading comprehension model (mrc) to achieve the control purpose of extracting a certain type of element separately and greatly improves efficiency and reduces calculation amount.

output层:输出模型结果,形成一个链式结构包含:{...}诉求类型、{...}判决原因、{...}判决结果以及具体的要素信息。output layer: output the model results, forming a chain structure including: {...} appeal type, {...} judgment reason, {...} judgment result and specific element information.

在一个实施例中,优选地,所述方法还包括:In one embodiment, preferably, the method further includes:

如图7所示,以Milvus为特征存储器,根据所述知识图谱自上向下的层级构建索引集合,并利用transformer法律编码模型编码得到法律判决文书特征,文书向量特征,判决事件链,事件链向量,并与法律判决文书ID进行对应存储。As shown in Figure 7, Milvus is used as the feature memory, and an index set is constructed according to the top-down hierarchy of the knowledge map, and the legal coding model of the transformer is used to encode the legal judgment document features, document vector features, judgment event chain, and event chain vector, and store it correspondingly with the ID of the legal judgment document.

如图8所示,在一个实施例中,优选地,步骤S105包括:As shown in Figure 8, in one embodiment, preferably, step S105 includes:

步骤S801,对所述法律事实进行意图解析,以确定所述法律事实对应的目标案由类别和目标诉求类别;Step S801, performing intent analysis on the legal facts to determine the target cause category and target appeal category corresponding to the legal facts;

步骤S802,根据所述目标案由类别和目标诉求类别在所述知识图谱中进行检索,以确定对应的至少一个法律判决实例;Step S802, searching in the knowledge graph according to the target case category and the target appeal category to determine at least one corresponding legal judgment instance;

步骤S803,利用transformer法律编码模型对所述法律事实和对应的至少一个法律判决实例的判决理由进行特征编码,得到对应的法律事实特征向量和法律判决实例的判决理由特征向量;Step S803, using the transformer legal coding model to perform feature encoding on the legal facts and the corresponding judgment reason of at least one legal judgment instance, and obtain the corresponding legal fact feature vector and the judgment reason feature vector of the legal judgment instance;

步骤S804,计算法律事实特征向量和法律判决实例的判决理由特征向量的相似度,并根据相似度确定所述法律事实对应的法律判决结果。Step S804, calculating the similarity between the legal fact feature vector and the judgment reason feature vector of the legal judgment instance, and determining the legal judgment result corresponding to the legal fact according to the similarity.

本发明将法律判决的推理问题转换成法律文本检索问题。传统文本匹配处理对象是字符层面或者词语层面的特征,利用模型去学习文本的字符或词语特征。由于这种方法在并不能完整学习出文本的语义,使得法律文本检索召回能力不强或者判决事件不匹配,而文本的特征表示是提高法律文本检索的前提。The invention transforms the reasoning problem of legal judgment into the legal text retrieval problem. Traditional text matching processes the features at the character level or word level, and uses the model to learn the character or word features of the text. Since this method cannot fully learn the semantics of the text, the recall ability of legal text retrieval is not strong or the judgment events do not match, and the feature representation of the text is the prerequisite for improving legal text retrieval.

本发明基于transformer模型进行法律领域的垂直领域特征增强,主要分为两方面:1、大批量法律领域文本2、判决书分场景学习:当事人信息、事实描述、法院意见和判决结果等法律专业领域数据。在原transformer类模型的基础上提高算法对法律文本的理解能力和特征检索能力,更重要的是模型可以更好的适应判决中的当事人信息、事实描述、法院意见和判决结果等特征场景并取得了不错的效果。The present invention enhances the characteristics of the vertical field in the legal field based on the transformer model, which is mainly divided into two aspects: 1. Large batches of texts in the legal field; . On the basis of the original transformer model, the algorithm’s ability to understand legal texts and feature retrieval capabilities is improved. More importantly, the model can better adapt to characteristic scenarios such as party information, fact descriptions, court opinions, and judgment results in judgments, and has achieved Nice effect.

在接收到法律事实后,可以先进行文本预处理,进行常规文本去噪手段,包括:除特殊符号、去除多余空白以及文本繁体转简体等,然后对法律文本进行意图解析包括案由划分、诉求类别划分。根据解析的结果案由划分、诉求类别划分从图谱上级到达实例层。根据然后利用定制的transformer法律检索模型进行特征表答,这里主要有两个数据源:After receiving legal facts, text preprocessing can be carried out first, and conventional text denoising methods can be carried out, including: removing special symbols, removing redundant blanks, and converting traditional Chinese to simplified Chinese, etc., and then analyzing the intent of the legal text, including division of case, appeal category divided. According to the results of the analysis, the classification of the case and the classification of appeals reach the instance layer from the upper level of the map. Then use the customized Transformer legal retrieval model to perform feature representation. There are two main data sources here:

A、判决理由数据:将判决理由直接转换成transformer固定长度特征,如果多个理由将理由拼接成一段话然后转换成transformer固定长度特征。A. Judgment reason data: directly convert the judgment reason into transformer fixed-length features. If there are multiple reasons, splice the reasons into a paragraph and then convert it into transformer fixed-length features.

B、判决文书数据:将判决文本的法院说理部分,进行解析,解析成诉求类别、判决理由、判决结果,然后将通过transformer表答成固定长度特征。B. Judgment document data: analyze the court reasoning part of the judgment text, parse it into appeal categories, judgment reasons, and judgment results, and then express it into fixed-length features through the transformer.

基于判决理由数据转化为transformer表答成固定长度特征,根据向量计算模块推理最有可能的结果,并根据阈值抛弃不好的结果,以此达到因果推理的功能。也可以基于统计的推理方法统计相似的判决情况不同判决结果的比例,以达到分析预警的目的。Based on the reason for the decision, the data is converted into a fixed-length feature of the transformer representation, the most likely result is inferred based on the vector calculation module, and the bad result is discarded according to the threshold, so as to achieve the function of causal reasoning. Statistical reasoning methods can also be used to count the proportions of different judgment results in similar judgment situations, so as to achieve the purpose of analysis and early warning.

其中,判决结果主要包括:Among them, the judgment results mainly include:

(1)诉求是否支持(买卖合同纠纷-条款有效性:商品房买卖合同关系成立且合法有效;买卖合同纠纷-主张是否成立:主张成立)。(1) Whether the claim is supported (sales contract disputes - the validity of the clauses: the commercial housing sales contract relationship is established and legal and valid; sales contract disputes - whether the claims are valid: the claims are valid).

(2)判决原告或者被告(离婚判决-抚养权:判给原告)。(2) Judge the plaintiff or the defendant (divorce judgment-custody: awarded to the plaintiff).

如图9所示,在一个实施例中,优选地,所述方法还包括:As shown in Figure 9, in one embodiment, preferably, the method further includes:

步骤S901,接收输入的对目标法律事实的检索命令;Step S901, receiving an input search command for the target legal fact;

步骤S902,根据所述检索命令,利用transformer法律编码模型对所述目标法律事实进行特征编码,得到编码后的特征;Step S902, according to the search command, use the Transformer legal coding model to perform feature coding on the target legal fact to obtain the coded features;

步骤S903,将所述编码后的特征与存储的所述法律判决文书特征和判决事件链进行相似度匹配,以检索到所述目标法律事实对应的判决文书。Step S903, performing similarity matching on the encoded feature with the stored feature of the legal judgment document and the judgment event chain, so as to retrieve the judgment document corresponding to the target legal fact.

如图10所示,在一个实施例中,优选地,所述方法还包括:As shown in Figure 10, in one embodiment, preferably, the method further includes:

步骤S1001,接收输入的相似文书检索命令;Step S1001, receiving an input similar document retrieval command;

步骤S1002,根据所述相似文书检索命令,确定当前法律文书对应的判决事件链;Step S1002, according to the similar document retrieval command, determine the judgment event chain corresponding to the current legal document;

步骤S1003,利用transformer法律编码模型对当前法律文书的判决事件链进行特征编码,得到编码后的事件链特征;Step S1003, using the transformer legal coding model to perform feature coding on the judgment event chain of the current legal document to obtain the coded event chain features;

步骤S1004,将所述编码后的事件链特征与存储的所述法律判决文书特征和判决事件链进行相似度匹配,以检索到与当前法律文书相似的法律判决文书。Step S1004, performing similarity matching between the coded event chain features and the stored legal judgment document features and judgment event chains, so as to retrieve legal judgment documents similar to the current legal documents.

以判决文书的核心段落为中心(本院认为)并构建判决文书核心逻辑即判决逻辑,并把判决逻辑构建成链式结构,把链式结构基于定制法律版transformer编码成核心特征,并进行向量计算,主要特征为层级解析类别、文书通篇特征、核心判决逻辑特征,组合计算分数,从而检索相似文书。Focus on the core paragraphs of the judgment document (this court thinks) and construct the core logic of the judgment document, that is, the judgment logic, and construct the judgment logic into a chain structure, encode the chain structure into core features based on the customized legal version transformer, and perform vector Calculation, the main features are hierarchical analysis categories, overall document features, core judgment logic features, and combined calculation scores to retrieve similar documents.

在一个实施例中,优选地,所述方法还包括:In one embodiment, preferably, the method further includes:

根据海量法律判决实例的法律判决文书对transformer模型进行学习训练,以得到所述transformer法律编码模型。The transformer model is learned and trained according to the legal judgment documents of a large number of legal judgment examples, so as to obtain the transformer legal coding model.

图11是根据一示例性实施例示出的一种法律文书的判决结果预测装置的框图。Fig. 11 is a block diagram of an apparatus for predicting a judgment result of a legal document according to an exemplary embodiment.

如图11所示,根据本发明实施例的第二方面,提供一种法律文书的判决结果预测装置,所述装置包括:As shown in FIG. 11, according to the second aspect of the embodiment of the present invention, a device for predicting a judgment result of a legal document is provided, and the device includes:

获取模块1101,用于获取海量法律判决实例的法律判决文书;Obtaining module 1101, configured to obtain legal judgment documents of a large number of legal judgment instances;

第一确定模块1102,用于对每个法律判决文书进行法律要素提取和法律要素之间的关系确定,以得到从原告诉求类型、判决理由到判决结果的判决事件链和要素关系,其中,所述法律要素包括原告诉求类型、判决理由和判决结果,所述要素关系包括因果关系和对应关系;The first determination module 1102 is used to extract legal elements and determine the relationship between legal elements for each legal judgment document, so as to obtain the judgment event chain and element relationship from the plaintiff's claim type, judgment reason to judgment result, where all The aforementioned legal elements include the type of plaintiff's claim, the reason for the judgment and the result of the judgment, and the relationship between the aforementioned elements includes causal relationship and corresponding relationship;

构建模块1103,用于根据每个法律判决文书对应的判决事件链和要素关系,以法律判决实例为中心构建法律判决文书的知识图谱,其中,所述知识图谱自上而下依次包括:根节点、案由类别、诉求类别、法律判决实例、判决理由和判决结果,所述知识图谱中还包括要素关系的标注;The construction module 1103 is used to construct the knowledge graph of the legal judgment document centering on the legal judgment instance according to the judgment event chain and element relationship corresponding to each legal judgment document, wherein the knowledge graph includes from top to bottom: a root node , category of cause of action, category of appeal, legal judgment instance, reason for judgment and judgment result, and the knowledge map also includes annotation of element relationship;

接收模块1104,用于接收输入的法律事实,其中,所述法律事实包括法律诉求;A receiving module 1104, configured to receive input legal facts, wherein the legal facts include legal claims;

预测模块1105,用于利用所述知识图谱和法律检索模型,预测并输出所述法律事实对应的法律判决结果。The prediction module 1105 is configured to use the knowledge graph and the legal retrieval model to predict and output the legal judgment results corresponding to the legal facts.

在一个实施例中,优选地,第一确定模块用于:In one embodiment, preferably, the first determination module is used for:

使用要素类别分类模型对所述每个法律判决文书进行法律要素识别,以得到要素类别分类识别结果;Using the element category classification model to identify the legal elements of each of the legal judgment documents to obtain the element category classification and identification results;

将所述要素类别分类识别结果和所述法律判决文书的特征进行拼接,并加入案由类别信息输入至阅读理解模型,以使阅读理解模型根据所述要素类别分类识别结果确定法律要素的内容和位置,输出从原告诉求类型、判决理由到判决结果的判决事件链和要素关系。Splicing the recognition result of the element category classification and the features of the legal judgment document, and adding case category information into the reading comprehension model, so that the reading comprehension model determines the content and location of the legal element according to the element category classification recognition result , output the judgment event chain and element relationship from the plaintiff's claim type, judgment reason to judgment result.

在一个实施例中,优选地,所述装置还包括:In one embodiment, preferably, the device further includes:

存储模块,用于以Milvus为特征存储器,根据所述知识图谱自上向下的层级构建索引集合,并利用transformer法律编码模型编码得到法律判决文书特征,文书向量特征,判决事件链,事件链向量,并与法律判决文书ID进行对应存储。The storage module is used to use Milvus as the feature memory, construct an index set according to the top-down hierarchy of the knowledge map, and use the transformer legal coding model to encode the legal judgment document features, document vector features, judgment event chains, and event chain vectors , and correspondingly stored with the legal judgment document ID.

在一个实施例中,优选地,预测模块用于:In one embodiment, preferably, the prediction module is used for:

对所述法律事实进行意图解析,以确定所述法律事实对应的目标案由类别和目标诉求类别;Perform intent analysis on the legal facts to determine the target cause category and target appeal category corresponding to the legal facts;

根据所述目标案由类别和目标诉求类别在所述知识图谱中进行检索,以确定对应的至少一个法律判决实例;Searching in the knowledge map according to the target case category and the target appeal category to determine at least one corresponding legal judgment instance;

利用transformer法律编码模型对所述法律事实和对应的至少一个法律判决实例的判决理由进行特征编码,得到对应的法律事实特征向量和法律判决实例的判决理由特征向量;Using the transformer legal coding model to perform feature coding on the legal facts and the corresponding judgment reasons of at least one legal judgment instance, to obtain the corresponding legal fact feature vector and the judgment reason feature vector of the legal judgment instance;

计算法律事实特征向量和法律判决实例的判决理由特征向量的相似度,并根据相似度确定所述法律事实对应的法律判决结果。Calculate the similarity between the legal fact feature vector and the judgment reason feature vector of the legal judgment instance, and determine the legal judgment result corresponding to the legal fact according to the similarity.

在一个实施例中,优选地,所述装置还包括:In one embodiment, preferably, the device further includes:

第一检索模块,用于接收输入的对目标法律事实的检索命令;A first retrieval module, configured to receive an input retrieval command for a target legal fact;

第一编码模块,用于根据所述检索命令,利用transformer法律编码模型对所述目标法律事实进行特征编码,得到编码后的特征;The first encoding module is used to perform feature encoding on the target legal facts according to the retrieval command using the Transformer legal encoding model to obtain encoded features;

第一匹配模块,用于将所述编码后的特征与存储的所述法律判决文书特征和判决事件链进行相似度匹配,以检索到所述目标法律事实对应的判决文书。The first matching module is configured to perform similarity matching between the encoded features and the stored features and judgment event chains of the legal judgment documents, so as to retrieve the judgment documents corresponding to the target legal facts.

在一个实施例中,优选地,所述装置还包括:In one embodiment, preferably, the device further includes:

第二检索模块,用于接收输入的相似文书检索命令;The second retrieval module is used to receive an input similar document retrieval command;

第二确定模块,用于根据所述相似文书检索命令,确定当前法律文书对应的判决事件链;The second determination module is used to determine the judgment event chain corresponding to the current legal document according to the similar document retrieval command;

第二编码模块,用于利用transformer法律编码模型对当前法律文书的判决事件链进行特征编码,得到编码后的事件链特征;The second encoding module is used to use the transformer legal encoding model to encode the features of the judgment event chain of the current legal document, and obtain the encoded event chain features;

第二匹配模块,用于将所述编码后的事件链特征与存储的所述法律判决文书特征和判决事件链进行相似度匹配,以检索到与当前法律文书相似的法律判决文书。The second matching module is configured to perform similarity matching between the coded event chain features and the stored legal judgment document features and judgment event chains, so as to retrieve legal judgment documents similar to the current legal documents.

在一个实施例中,优选地,所述装置还包括:In one embodiment, preferably, the device further includes:

训练模块,用于根据海量法律判决实例的法律判决文书对transformer模型进行学习训练,以得到所述transformer法律编码模型。The training module is used to learn and train the transformer model according to the legal judgment documents of a large number of legal judgment examples, so as to obtain the transformer legal coding model.

根据本发明实施例的第三方面,提供一种法律文书的判决结果预测装置,所述装置包括:According to a third aspect of an embodiment of the present invention, a device for predicting a judgment result of a legal document is provided, the device comprising:

处理器;processor;

用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;

其中,所述处理器被配置为:Wherein, the processor is configured as:

获取海量法律判决实例的法律判决文书;Obtain legal judgment documents of a large number of legal judgment examples;

对每个法律判决文书进行法律要素提取和法律要素之间的关系确定,以得到从原告诉求类型、判决理由到判决结果的判决事件链和要素关系,其中,所述法律要素包括原告诉求类型、判决理由和判决结果,所述要素关系包括因果关系和对应关系;Extract legal elements and determine the relationship between legal elements for each legal judgment document, so as to obtain the judgment event chain and element relationship from the plaintiff's claim type, judgment reason to judgment result, wherein the legal elements include the plaintiff's claim type, Judgment reasons and judgment results, the element relationship includes causality and correspondence;

根据每个法律判决文书对应的判决事件链和要素关系,以法律判决实例为中心构建法律判决文书的知识图谱,其中,所述知识图谱自上而下依次包括:根节点、案由类别、诉求类别、法律判决实例、判决理由和判决结果,所述知识图谱中还包括要素关系的标注;According to the judgment event chain and element relationship corresponding to each legal judgment document, the knowledge graph of the legal judgment document is constructed centering on the legal judgment instance, wherein the knowledge graph includes from top to bottom: root node, cause of action category, appeal category , legal judgment examples, judgment reasons and judgment results, and the knowledge map also includes annotations of element relationships;

接收输入的法律事实,其中,所述法律事实包括法律诉求;receiving input legal facts, wherein the legal facts include legal claims;

利用所述知识图谱和法律检索模型,预测并输出所述法律事实对应的法律判决结果。Using the knowledge graph and the legal retrieval model, predict and output the legal judgment results corresponding to the legal facts.

根据本发明实施例的第四方面,提供一种计算机可读存储介质,其上存储有计算机指令,所述指令被处理器执行时实现如第二方面的实施例中任一项所述方法的步骤。According to a fourth aspect of the embodiments of the present invention, there is provided a computer-readable storage medium, on which computer instructions are stored, and when the instructions are executed by a processor, the method described in any one of the embodiments of the second aspect is implemented. step.

进一步可以理解的是,本发明中“多个”是指两个或两个以上,其它量词与之类似。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。It can be further understood that "plurality" in the present invention refers to two or more, and other quantifiers are similar. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently. The character "/" generally indicates that the contextual objects are an "or" relationship. The singular forms "a", "said" and "the" are also intended to include the plural unless the context clearly dictates otherwise.

进一步可以理解的是,术语“第一”、“第二”等用于描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开,并不表示特定的顺序或者重要程度。实际上,“第一”、“第二”等表述完全可以互换使用。例如,在不脱离本发明范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。It can be further understood that the terms "first", "second", etc. are used to describe various information, but the information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another, and do not imply a specific order or degree of importance. In fact, expressions such as "first" and "second" can be used interchangeably. For example, without departing from the scope of the present invention, first information may also be called second information, and similarly, second information may also be called first information.

进一步可以理解的是,本发明实施例中尽管在附图中以特定的顺序描述操作,但是不应将其理解为要求按照所示的特定顺序或是串行顺序来执行这些操作,或是要求执行全部所示的操作以得到期望的结果。在特定环境中,多任务和并行处理可能是有利的。It can be further understood that although operations are described in a specific order in the drawings in the embodiments of the present invention, it should not be understood as requiring that these operations be performed in the specific order shown or in a serial order, or that Perform all operations shown to obtain the desired result. In certain circumstances, multitasking and parallel processing may be advantageous.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本发明未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。Other embodiments of the invention will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present invention, these modifications, uses or adaptations follow the general principles of the present invention and include common knowledge or conventional technical means in the technical field not disclosed in the present invention . The specification and examples are to be considered exemplary only, with a true scope and spirit of the invention being indicated by the following claims.

应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。It should be understood that the present invention is not limited to the precise constructions which have been described above and shown in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (10)

1. A method for predicting a decision result of a legal instrument, the method comprising:
obtaining a legal decision document of a mass legal decision instance;
extracting legal elements and determining the relationship between the legal elements for each legal decision document to obtain a decision event chain and an element relationship from an original appeal type, a decision reason to a decision result, wherein the legal elements comprise the original appeal type, the decision reason and the decision result, and the element relationship comprises a causal relationship and a corresponding relationship;
according to a judgment event chain and an element relation corresponding to each legal judgment document, constructing a knowledge graph of the legal judgment documents by taking a legal judgment example as a center, wherein the knowledge graph sequentially comprises from top to bottom: the knowledge graph also comprises element relation labels;
receiving an input legal fact, wherein the legal fact comprises a legal appeal;
and predicting and outputting a legal judgment result corresponding to the legal fact by using the knowledge graph and the legal retrieval model.
2. The method of claim 1, wherein the extracting of legal elements and the determining of the relationship between the legal elements for each legal decision document comprises:
carrying out legal element identification on each legal decision document by using an element type classification model to obtain an element type classification identification result;
and splicing the element category classification and identification result and the characteristics of the legal judgment document, adding case category information into the reading understanding model, inputting the case category information into the reading understanding model, so that the reading understanding model determines the content and the position of the legal element according to the element category classification and identification result, and outputting a judgment event chain and an element relation from the original report request type, the judgment reason to the judgment result.
3. The method of claim 1, further comprising:
and constructing an index set according to the top-down hierarchy of the knowledge graph by taking Milvus as a feature storage, coding by using a transformer legal coding model to obtain legal decision document features, document vector features, decision event chains and event chain vectors, and correspondingly storing the legal decision document ID.
4. The method of claim 1, wherein predicting and outputting legal decision results corresponding to the legal facts by using the knowledge graph and a legal retrieval model comprises:
performing intention analysis on the legal fact to determine a target case category and a target appeal category corresponding to the legal fact;
retrieving in the knowledge graph according to the target case routing category and the target appeal category to determine at least one corresponding legal decision instance;
performing feature coding on the legal fact and the judgment reason of at least one corresponding legal judgment instance by using a transform legal coding model to obtain a corresponding legal fact feature vector and a judgment reason feature vector of the legal judgment instance;
and calculating the similarity of the legal fact feature vector and the judgment reason feature vector of the legal judgment example, and determining a legal judgment result corresponding to the legal fact according to the similarity.
5. The method of claim 3, further comprising:
receiving an input retrieval command for the target legal fact;
according to the retrieval command, performing feature coding on the target legal fact by using a transformer legal coding model to obtain coded features;
and performing similarity matching on the coded features and the stored legal decision document features and decision event chains to retrieve a decision document corresponding to the target legal fact.
6. The method of claim 3, further comprising:
receiving an input similar document retrieval command;
determining a judgment event chain corresponding to the current legal document according to the similar document retrieval command;
performing feature coding on a judgment event chain of the current legal document by using a transformer legal coding model to obtain coded event chain features;
and performing similarity matching on the coded event chain features and the stored legal decision document features and decision event chains to retrieve a legal decision document similar to the current legal document.
7. The method of claim 3, further comprising:
and learning and training the transform model according to the law decision documents of the massive law decision examples to obtain the transform legal coding model.
8. An apparatus for predicting a decision result of a legal document, comprising:
the system comprises an acquisition module, a judgment module and a judgment module, wherein the acquisition module is used for acquiring legal judgment documents of a large number of legal judgment instances;
the first determining module is used for extracting legal elements and determining the relationship between the legal elements for each legal judgment document to obtain a judgment event chain and an element relationship from an original report appeal type, a judgment reason to a judgment result, wherein the legal elements comprise the original report appeal type, the judgment reason and the judgment result, and the element relationship comprises a causal relationship and a corresponding relationship;
the construction module is used for constructing a knowledge graph of the legal decision documents by taking the legal decision examples as a center according to the decision event chain and the element relation corresponding to each legal decision document, wherein the knowledge graph sequentially comprises from top to bottom: the knowledge graph also comprises element relation labels;
the receiving module is used for receiving the input legal fact, wherein the legal fact comprises legal requirements;
and the prediction module is used for predicting and outputting a legal judgment result corresponding to the legal fact by using the knowledge graph and the legal retrieval model.
9. An apparatus for predicting a decision result of a legal document, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
obtaining a legal decision document of a mass legal decision instance;
extracting legal elements and determining the relationship between the legal elements for each legal judgment document to obtain a judgment event chain and an element relationship from an original appeal type, a judgment reason to a judgment result, wherein the legal elements comprise the original appeal type, the judgment reason and the judgment result, and the element relationship comprises a causal relationship and a corresponding relationship;
according to a judgment event chain and a factor relation corresponding to each legal judgment document, constructing a knowledge graph of the legal judgment documents by taking a legal judgment example as a center, wherein the knowledge graph sequentially comprises from top to bottom: the knowledge graph also comprises element relation labels;
receiving an input legal fact, wherein the legal fact comprises a legal appeal;
and predicting and outputting a legal judgment result corresponding to the legal fact by using the knowledge graph and the legal retrieval model.
10. A computer-readable storage medium having stored thereon computer instructions, which, when executed by a processor, carry out the steps of the method according to any one of claims 1 to 7.
CN202211507324.5A 2022-11-29 2022-11-29 Judgment result prediction method, device and storage medium of legal documents Expired - Fee Related CN115878815B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211507324.5A CN115878815B (en) 2022-11-29 2022-11-29 Judgment result prediction method, device and storage medium of legal documents

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211507324.5A CN115878815B (en) 2022-11-29 2022-11-29 Judgment result prediction method, device and storage medium of legal documents

Publications (2)

Publication Number Publication Date
CN115878815A true CN115878815A (en) 2023-03-31
CN115878815B CN115878815B (en) 2023-07-18

Family

ID=85764514

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211507324.5A Expired - Fee Related CN115878815B (en) 2022-11-29 2022-11-29 Judgment result prediction method, device and storage medium of legal documents

Country Status (1)

Country Link
CN (1) CN115878815B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117236440A (en) * 2023-10-09 2023-12-15 清华大学 Method and device for extracting legal document element information based on domain-wide labeling system
CN120087345A (en) * 2025-04-25 2025-06-03 上海法忞銮智能科技有限公司 Legal document generation method, system, electronic device and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130297540A1 (en) * 2012-05-01 2013-11-07 Robert Hickok Systems, methods and computer-readable media for generating judicial prediction information
US20170124497A1 (en) * 2015-10-28 2017-05-04 Fractal Industries, Inc. System for automated capture and analysis of business information for reliable business venture outcome prediction
CN109977237A (en) * 2019-05-27 2019-07-05 南京擎盾信息科技有限公司 A kind of dynamic law occurrence diagram spectrum construction method towards legal field
CN111309900A (en) * 2020-01-17 2020-06-19 中国科学技术大学 Legal class similarity judging and pushing method
CN111797199A (en) * 2020-06-12 2020-10-20 南京擎盾信息科技有限公司 Method and device for analyzing legal information based on event chain structure
CN112784578A (en) * 2021-03-16 2021-05-11 北京华宇元典信息服务有限公司 Legal element extraction method and device and electronic equipment
CN113535977A (en) * 2021-07-13 2021-10-22 泰康保险集团股份有限公司 Knowledge graph fusion method, device and equipment
CN113868391A (en) * 2021-09-27 2021-12-31 平安国际智慧城市科技股份有限公司 Knowledge graph-based legal document generation method, device, equipment and medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130297540A1 (en) * 2012-05-01 2013-11-07 Robert Hickok Systems, methods and computer-readable media for generating judicial prediction information
US20170124497A1 (en) * 2015-10-28 2017-05-04 Fractal Industries, Inc. System for automated capture and analysis of business information for reliable business venture outcome prediction
CN109977237A (en) * 2019-05-27 2019-07-05 南京擎盾信息科技有限公司 A kind of dynamic law occurrence diagram spectrum construction method towards legal field
CN111309900A (en) * 2020-01-17 2020-06-19 中国科学技术大学 Legal class similarity judging and pushing method
CN111797199A (en) * 2020-06-12 2020-10-20 南京擎盾信息科技有限公司 Method and device for analyzing legal information based on event chain structure
CN112784578A (en) * 2021-03-16 2021-05-11 北京华宇元典信息服务有限公司 Legal element extraction method and device and electronic equipment
CN113535977A (en) * 2021-07-13 2021-10-22 泰康保险集团股份有限公司 Knowledge graph fusion method, device and equipment
CN113868391A (en) * 2021-09-27 2021-12-31 平安国际智慧城市科技股份有限公司 Knowledge graph-based legal document generation method, device, equipment and medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MINGWEI TANG ET AL: "SALKG:A Segmentation Annotation System for Building a High-quality Legal Knowledge Graph", 《2020 IEEE CONFERENCE ON BIG DATA》, pages 2153 - 2159 *
丁泽华: "面向司法数据的事件分析方法研究", 《中国优秀硕士学位论文全文数据库 社会科学Ⅰ辑》, vol. 2022, no. 05, pages 120 - 273 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117236440A (en) * 2023-10-09 2023-12-15 清华大学 Method and device for extracting legal document element information based on domain-wide labeling system
CN120087345A (en) * 2025-04-25 2025-06-03 上海法忞銮智能科技有限公司 Legal document generation method, system, electronic device and storage medium
CN120087345B (en) * 2025-04-25 2025-07-15 上海法忞銮智能科技有限公司 Legal document generation method, system, electronic device and storage medium

Also Published As

Publication number Publication date
CN115878815B (en) 2023-07-18

Similar Documents

Publication Publication Date Title
CN120277223B (en) Dynamic vector knowledge base construction and retrieval method based on multi-mode large model
CN111368528B (en) Entity relation joint extraction method for medical texts
CN113312411B (en) A Method for Diagnosing Causes of Equipment Faults Based on Knowledge Graph and Rule Constraints
CN118606440B (en) Data intelligent analysis method and system combining knowledge graph and rule constraints
CN111738004A (en) A training method for a named entity recognition model and a method for named entity recognition
CN116127095A (en) Question-answering method combining sequence model and knowledge graph
CN118585658B (en) AI-based safety declaration training knowledge graph and data management method and system
CN113312912B (en) A Machine Reading Comprehension Method for Traffic Infrastructure Detection Text
CN116245107B (en) Electric power audit text entity identification method, device, equipment and storage medium
CN114969275A (en) A dialogue method and system based on bank knowledge graph
CN111143553A (en) Method and system for identifying specific information of real-time text data stream
CN109992669A (en) A kind of keyword answering method based on language model and intensified learning
CN113869054B (en) A method for identifying project features in the power sector based on deep learning
CN118863057A (en) A low voltage management decision-making aid method integrating large language model and knowledge graph
CN115878815B (en) Judgment result prediction method, device and storage medium of legal documents
CN117151222A (en) Entity attributes and relationship extraction methods, electronic devices and storage media for emergency cases guided by domain knowledge
CN120386873A (en) Power transformer fault auxiliary decision-making method and system based on knowledge graph and large language model
CN118227790A (en) Text classification method, system, device and medium based on multi-label association
CN119669530B (en) Knowledge graph generation-assisted teaching question answering method and system based on LLM
CN118673109A (en) Knowledge question-answering method based on natural language processing
CN118428465A (en) Knowledge graph automatic construction and self-adaptive expansion method for military data
CN116522165B (en) Public opinion text matching system and method based on twin structure
CN118396789A (en) Civil case judgment prediction model product and method
CN118296135A (en) Cross-domain migration-oriented aspect-level emotion triplet extraction method
CN118395984A (en) Small sample named entity recognition method and device in surveying and mapping based on prompt learning

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20230718

CF01 Termination of patent right due to non-payment of annual fee