Search

CN-121979933-A - Legal provision display method and related equipment

CN121979933ACN 121979933 ACN121979933 ACN 121979933ACN-121979933-A

Abstract

The embodiment of the application provides a legal provision display method and related equipment, belonging to the technical field of natural language processing. The embodiment of the application can carry out deep semantic understanding on the treaty inquiry information, achieve intelligent ordering of regulations, and achieve accurate positioning and abstract generation of specific clauses, the whole process is highly automatic, the consulting burden of a user is greatly reduced, the working efficiency is improved, the specific treaty most relevant to the problem of the user can be directly presented, and the specific treaty can be displayed in a clear and structured mode (such as abstract and core regulation cards), so that the content of the law is clear at a glance, and the rapid understanding and application are convenient.

Inventors

  • WU PENGFEI
  • LI MENGYA
  • ZHONG GUOWEI

Assignees

  • 北明软件有限公司

Dates

Publication Date
20260505
Application Date
20251205

Claims (10)

  1. 1. A legal provision display method, said method comprising: semantic recognition is carried out on the text query information input by the user, and a structured query object is generated; retrieving at least one rule corresponding to the structured query object from a legal provision information base to obtain a rule to be displayed; Carrying out multidimensional weighted sorting on the rules to be displayed by using a scoring algorithm to obtain a sequence to be displayed; and displaying the sequence to be displayed to the user.
  2. 2. The method of claim 1, wherein said using a scoring algorithm to multi-dimensionally weight rank the rules to be displayed to obtain a sequence to be displayed, comprising: and utilizing a scoring algorithm to carry out multidimensional weighted sorting on the rules to be displayed through at least one of legal effectiveness, legal timeliness, legal attribution, legal relativity and legal citation frequency of the rules to be displayed, so as to obtain a sequence to be displayed.
  3. 3. The method of claim 1, wherein the semantically identifying the textual query information entered by the user to generate a structured query object comprises: extracting core keywords in the treaty inquiry information; Identifying the legal field to which the treaty query information belongs; classifying query intention of the treaty query information; Based on the legal field and the query intent, completing the implicit keywords; A structured query object is generated that contains the core keywords, the legal field, the query intent, and the implied keywords.
  4. 4. The method of claim 1, wherein said using a scoring algorithm to multi-dimensionally weight rank the rules to be displayed to obtain a sequence to be displayed, comprising: Performing multidimensional weighted sorting on the rules to be displayed by using a scoring algorithm, and determining a target rule; querying a plurality of legal strips to be displayed corresponding to the structured query object in the target regulation; Respectively calculating the correlation degree of the legal strips to be displayed and the structured query object; determining a preset number of laws to be displayed according to the sequence of the laws from high to low, and taking the target rule containing the laws to be displayed as a sequence to be displayed.
  5. 5. The method of claim 2, wherein the obtaining, by using a scoring algorithm, the sequence to be displayed by multi-dimensionally weighted ordering the rule to be displayed by at least one of legal effectiveness, legal timeliness, legal attribution, legal relatedness, and legal citation frequency of the rule to be displayed comprises: Determining a first duty cycle of the legal efficacy in combination with a first weight corresponding to the legal efficacy; Determining a second duty cycle of the legal relevance in combination with a second weight corresponding to the legal relevance; determining a second duty cycle of the legal citation frequency in combination with a third weight corresponding to the legal citation frequency; and carrying out multidimensional weighted sequencing on the to-be-displayed rule by combining the first duty ratio, the second duty ratio, the third duty ratio, the legal timeliness and the legal attribution to obtain a to-be-displayed sequence.
  6. 6. The method of claim 5, wherein the combining the first duty cycle, the second duty cycle, the third duty cycle, the legal time period, and the legal attribution, multi-dimensionally weighted ordering the legislation to be displayed to obtain the sequence to be displayed, comprises: determining a weighted score of the to-be-displayed rule in combination with the first duty cycle, the second duty cycle, the third duty cycle, the legal timeliness and the legal attribution; And sequencing the rules to be displayed according to the weighted scores to obtain a sequence to be displayed.
  7. 7. A legal provision display device, said device comprising: the generation module is used for carrying out semantic recognition on the text query information input by the user and generating a structured query object; the searching module is used for searching at least one rule corresponding to the structured query object from the law regulation information base to obtain a rule to be displayed; The sorting module is used for carrying out multidimensional weighted sorting on the rules to be displayed by utilizing a scoring algorithm to obtain a sequence to be displayed; and the display module is used for displaying the sequence to be displayed to the user.
  8. 8. An electronic device, characterized in that the electronic device/computer means comprises a memory storing a computer program and a processor implementing the method of any of claims 1 to 6 when the computer program is executed by the processor.
  9. 9. A computer readable storage medium storing a computer program, characterized in that the computer program, when executed by a processor, implements the method of any one of claims 1 to 6.
  10. 10. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the method of any one of claims 1 to 6.

Description

Legal provision display method and related equipment Technical Field The application relates to the technical field of natural language processing, in particular to a legal provision display method and related equipment. Background Along with the continuous promotion of national law construction, various laws, regulations and normative files are huge in quantity and frequent in updating, and a complex and dynamic law and regulation system is formed. It is a great challenge for law practitioners, enterprise compliance personnel, and the general public to quickly and accurately find legal regulations that are highly relevant to their own needs and that are currently valid from a vast pool of regulations. . Currently, the mainstream rule retrieval system (such as the national law and rule database) mainly depends on keyword matching or full text searching technology. Although such systems can return a list of regulations containing user-entered keywords, the search results often take the whole regulation as a unit, and the user needs to manually turn over lengthy legal text, locate specific terms (laws) directly related to the problem itself, and have tedious processes and low efficiency. In summary, the technical problems in the related art are to be improved. Disclosure of Invention The embodiment of the application mainly aims to provide a legal provision display method and related equipment, and aims to solve the problem that in the prior art, the legal provision retrieval precision is low by introducing an intelligent semantic understanding and multidimensional weighted ordering model so as to realize accurate and efficient pushing of the legal provision. To achieve the above object, an aspect of an embodiment of the present application provides a legal provision display method, which includes: semantic recognition is carried out on the text query information input by the user, and a structured query object is generated; retrieving at least one rule corresponding to the structured query object from a legal provision information base to obtain a rule to be displayed; Carrying out multidimensional weighted sorting on the rules to be displayed by using a scoring algorithm to obtain a sequence to be displayed; and displaying the sequence to be displayed to the user. In some embodiments, the multi-dimensionally weighted sorting of the rules to be displayed by using a scoring algorithm to obtain a sequence to be displayed includes: and utilizing a scoring algorithm to carry out multidimensional weighted sorting on the rules to be displayed through at least one of legal effectiveness, legal timeliness, legal attribution, legal relativity and legal citation frequency of the rules to be displayed, so as to obtain a sequence to be displayed. In some embodiments, the semantic recognition of the text query information input by the user generates a structured query object, including: extracting core keywords in the treaty inquiry information; Identifying the legal field to which the treaty query information belongs; classifying query intention of the treaty query information; Based on the legal field and the query intent, completing the implicit keywords; A structured query object is generated that contains the core keywords, the legal field, the query intent, and the implied keywords. In some embodiments, the multi-dimensionally weighted sorting of the rules to be displayed by using a scoring algorithm to obtain a sequence to be displayed includes: Performing multidimensional weighted sorting on the rules to be displayed by using a scoring algorithm, and determining a target rule; querying a plurality of legal strips to be displayed corresponding to the structured query object in the target regulation; Respectively calculating the correlation degree of the legal strips to be displayed and the structured query object; determining a preset number of laws to be displayed according to the sequence of the laws from high to low, and taking the target rule containing the laws to be displayed as a sequence to be displayed. In some embodiments, the obtaining the sequence to be displayed by using a scoring algorithm to perform multidimensional weighted ranking on the rule to be displayed according to at least one of legal effectiveness, legal timeliness, legal attribution, legal relatedness and legal citation frequency of the rule to be displayed includes: Determining a first duty cycle of the legal efficacy in combination with a first weight corresponding to the legal efficacy; Determining a second duty cycle of the legal relevance in combination with a second weight corresponding to the legal relevance; determining a second duty cycle of the legal citation frequency in combination with a third weight corresponding to the legal citation frequency; and carrying out multidimensional weighted sequencing on the to-be-displayed rule by combining the first duty ratio, the second duty ratio, the third duty ratio, the legal timelines