CN112559674A - Method for inquiring content of legal item in referee document and related device - Google Patents

Method for inquiring content of legal item in referee document and related device Download PDF

Info

Publication number
CN112559674A
CN112559674A CN201910910541.0A CN201910910541A CN112559674A CN 112559674 A CN112559674 A CN 112559674A CN 201910910541 A CN201910910541 A CN 201910910541A CN 112559674 A CN112559674 A CN 112559674A
Authority
CN
China
Prior art keywords
law
query
french
name
referee document
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.)
Pending
Application number
CN201910910541.0A
Other languages
Chinese (zh)
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.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum 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 Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201910910541.0A priority Critical patent/CN112559674A/en
Publication of CN112559674A publication Critical patent/CN112559674A/en
Pending legal-status Critical Current

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/33Querying
    • G06F16/3331Query processing
    • G06F16/3332Query translation
    • G06F16/3334Selection or weighting of terms from queries, including natural language queries

Abstract

The invention provides a query method and a related device for French contents in a referee document, wherein in the method, the referee document is obtained firstly; then analyzing the referee document to obtain the law enforcement parameters related to the law enforcement quoted by the judgment result in the referee document; then converting the law statement parameters into query statements; and finally, inquiring in a French database by using the inquiry sentences to obtain French contents corresponding to the referee documents. Therefore, the embodiment of the invention can directly obtain the corresponding law article content of the referee document through the referee document, provide the basis of auxiliary case interpretation for the judge case of the judge, reduce the steps of searching the concrete content of the applicable law article of the referee document and improve the working efficiency.

Description

Method for inquiring content of legal item in referee document and related device
Technical Field
The invention relates to the technical field of data processing, in particular to a query method and a related device for legal content in a referee document.
Background
The referee document is used for recording the trial process and result of the people's court, is a carrier of the result of the litigation activity, and is also a unique certificate for the people's court to determine and distribute the entity right obligation of the party. A referee document with complete structure, complete elements and strict logic is a certificate for the right and burden of a party and is also an important basis for the upper-level people court to supervise the civil judgment activities of the lower-level people court.
When a judge judges a case, it is desirable to refer to the declared results such as the law in the judgment document of a case similar to the current case, and therefore, it is necessary to provide a method for querying the content of the law in the judgment document.
Disclosure of Invention
In view of the above problems, the present invention provides a method and related apparatus for querying the content of a law clause in a referee document, which overcomes or at least partially solves the above problems, and provides a basis for an auxiliary case for a judge case.
The embodiment of the invention provides a query method of legal content in a referee document.
The invention provides a query method of French contents in a referee document, which comprises the following steps:
acquiring a referee document;
analyzing the referee document to obtain a law enforcement parameter related to a law enforcement cited by a judgment result in the referee document;
converting the law parameter into a query statement;
and querying in a French database by using the query statement to obtain French contents corresponding to the referee document.
Preferably, the analyzing the referee document to obtain the number of law enforcement parameters related to the law enforcement of the judgment result in the referee document includes:
calling a preset analysis service to analyze the referee document;
obtaining a judgment result of the judgment document;
and obtaining at least one of the law code number, the law name and the audit date in the judgment result.
Preferably, the converting the law parameter into a query statement includes:
and taking the examination date as a time screening condition, and taking the law code and the law name as a content screening condition to obtain the query sentence.
Preferably, after obtaining the french name, the method further includes:
judging whether the French name accords with a naming rule which can be converted into a query statement;
and if the name does not accord with the naming rule, converting the French name into the French name which accords with the naming rule.
Preferably, after obtaining the french number, the method further includes:
judging whether the French number is in a specific format which can be converted into an inquiry statement;
and if the special format is not met, converting the French number into the special format.
Preferably, the obtaining a query statement includes:
taking the approval date as a generation condition of a query statement, and generating a first query statement so that the legal release date and the effective date in the legal content are both before the approval date;
and generating a second query statement by taking the law number and the law name as the generation conditions of the query statement on the basis of the first query statement so as to obtain the law content corresponding to the law matched with the law number and the law name.
Preferably, the generating a second query statement by using the french number and the french name as queries based on the first query statement includes:
judging whether the law corresponding to the law name is an entity law;
if the query sentence is an entity law, limiting the legal name according to the legal number, and setting the query condition of the legal name in the second query sentence to be accurate matching;
and if the query sentence is not an entity law, limiting the legal name according to the legal number, and setting the query condition of the legal name in the second query sentence as fuzzy matching.
Another aspect of the present invention provides an apparatus for querying the content of a french statement in a referee document, comprising:
an obtaining module for obtaining a referee document;
the analysis module is used for analyzing the referee document to obtain a law enforcement parameter related to a law enforcement of a judgment result in the referee document;
the conversion module is used for converting the law parameter into a query statement;
and the query module is used for querying in a French database by using the query statement to obtain the French content corresponding to the referee document.
The invention also provides an electronic device, which comprises at least one processor, at least one memory connected with the processor, and a bus; the processor and the memory complete mutual communication through the bus; the processor is used for calling the program instructions in the memory to execute the query method of the legal content in the referee document.
In another aspect, the present invention further provides a storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are loaded and executed by a processor, the method for querying the content of the legal provision in the referee document is implemented.
By means of the technical scheme, the invention provides a query method and a related device for the content of a law clause in a referee document, wherein in the method, the referee document is obtained firstly; then analyzing the referee document to obtain the law enforcement parameters related to the law enforcement quoted by the judgment result in the referee document; then converting the law statement parameters into query statements; and finally, inquiring in a French database by using the inquiry sentences to obtain French contents corresponding to the referee documents. Therefore, the embodiment of the invention can directly obtain the corresponding law article content of the referee document through the referee document, provide the basis of auxiliary case interpretation for the judge case of the judge, reduce the steps of searching the concrete content of the applicable law article of the referee document and improve the working efficiency.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow chart illustrating a method for querying the content of a legal item in a referee document according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram illustrating an apparatus for querying content of a french statement in a referee document according to an embodiment of the present invention;
fig. 3 shows a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In order to better understand the contents of the embodiments of the present invention, possible terms are explained below.
Official document: the referee document is used for recording the trial process and result of the people's court, is a carrier of the result of the litigation activity, and is also a unique certificate for the people's court to determine and distribute the entity right obligation of the party. A referee document with complete structure, complete elements and strict logic is a certificate for the right and burden of a party and is also an important basis for the upper-level people court to supervise the civil judgment activities of the lower-level people court.
Law: refers to the laws, administrative laws, judicial interpretation, local laws, local regulations, department regulations and other normative documents currently in force in the people's republic of China, as well as the occasional modification and supplementation of such laws and regulations.
And (4) carrying out a French test: the legal provisions are made.
Legal effectiveness rating: the constitution is the highest level, the second level is the law, the third level is the administrative regulation, the fourth level is province, autonomous region, direct prefecture city local regulation, and the fifth level is the city local regulation of the district.
Legal timeliness: identifying the validity of the corresponding law at the current stage, respectively: active > modified > not yet validated > partial fail > fail.
In the existing official documents, only the legal terms to which the judgment results are applied are described, and the specific contents of the legal terms are not described, so that the judges cannot obtain more effective basis for reference. In the embodiment of the invention, the corresponding content of the legal title is obtained from the referee document mainly, so that richer content is used as case reference for a judge. The following describes embodiments of the present invention in detail.
The embodiment of the invention discloses a query method of legal content in a referee document.
Referring to fig. 1, fig. 1 is a schematic flow chart of a method for querying content of a law clause in a referee document according to an embodiment of the present invention.
The embodiment of the invention discloses a method for inquiring the content of a legal item in a referee document, which comprises the following steps:
s100, acquiring a referee document;
s200, analyzing the referee document to obtain a law enforcement parameter related to a law enforcement cited by a judgment result in the referee document;
s300, converting the law enforcement parameters into query statements;
s400, using the query sentence to query in a law sentence database to obtain the law sentence content corresponding to the referee document.
In the embodiment of the present invention, in step S100, the referee document is obtained first. The format of the referee document is an electronic format, and the electronic format can be a text format, such as a text document, a PDF document, a WORD document and the like, and can also be a picture format, such as a PNG format, a JPG format, a BMP format and the like. It is only necessary to parse the data, and the format is not limited here.
In the embodiment of the invention, the method for obtaining the referee document can be that the user inputs the unique key word for representing the referee document, such as the referee document number, and the referee document is directly obtained from the system in which the referee document is stored. Of course, it may be obtained by copying.
After obtaining the referee document, in step S200, the embodiment of the present invention analyzes the referee document to obtain the legal parameters to which the judgment result is applicable. The legal parameters may specifically include: at least one of a french statement number, a french statement name, and an audit date.
In an embodiment of the present invention, the analyzing the referee document to obtain a number of law parameter related to a law of a decision result in the referee document includes:
calling a preset analysis service to analyze the referee document;
obtaining a judgment result of the judgment document;
and obtaining at least one of the law code number, the law name and the audit date in the judgment result.
In the embodiment of the present invention, an analysis service is preset, and the analysis service may be instantiated in a server, and automatically analyze the referee document using the referee document as an input parameter, and extract corresponding dimensions, for example, a judgment result may analyze the law parameters such as a law number, a law name, and an approval date included in the judgment result.
In practical use, taking the official document in text format as an example, the parsing process may include:
transmitting the text content of the referee document into an analysis service, and receiving dimension data such as applicable legal provision, approval date and the like returned by the analysis service;
then, obtaining the Chinese numbers of the legal names and the legal bar numbers respectively through the regular expressions; the regular expression is: (\ S + (Law | Regulation | rule | Explanation | Regulation | approach)) \ S {0,1} th (\ S +) strip.
Finally, the Chinese number of the French scroll is converted into Arabic number, and then all French scroll parameters are obtained.
After the french parameters are obtained, in step S300, the french parameters are converted into query statements.
In this embodiment of the present invention, step S300 may further include determining a type of an inquiry system where the database is to be inquired, obtaining a syntax of the conversion statement according to the type of the inquiry system, and forming the inquiry statement by using the law statement parameter as a parameter in the inquiry condition according to the syntax of the conversion statement, so as to access the inquiry system.
In the embodiment of the invention, a French database is preset, the French database can be a database arranged in an inquiry system, the inquiry system can be realized by an elastic search, and can also be an SQL inquiry system, wherein the type of the database can be an SQL database, an Oracal database, a Mysql database and the like.
In the embodiment of the present invention, the syntax of the corresponding conversion statement is obtained for different types of databases, for example, if the system is an elastic search system, the syntax of the law enforcement parameter can be converted by using ES syntax to form a query statement, and if the system is an SQL system, the syntax of the law enforcement parameter can be converted by using SQL syntax to form a query statement.
After the query statement is obtained, the legal parameters are used as parameters in the query condition in the query statement to realize the query.
In the embodiment of the present invention, step S400 may use the obtained query statement to query in the french database, so as to obtain the french content corresponding to the referee document.
The content of the French slips refers to specific articles included by the French slips.
For example: the law plaintext is specified as criminal behavior, and criminal is settled according to law; the law does not have a clear text to specify criminal behavior and cannot decide to commit criminal.
Therefore, in the embodiment of the invention, the corresponding legal title content of the referee document can be obtained through the obtained referee document, so that the detailed legal title content is provided for the judge case of the judge. The process that a case judgment judge still needs to retrieve the specific content of the law applicable to the judgment result is reduced, and the working efficiency is improved.
In the embodiment of the invention, if the query statement is to be converted, the French name which does not conform to the naming rule of the query statement is preferably converted into the French name which conforms to the naming rule, or the French number which does not conform to the specific format of the query statement is preferably converted into the French number which conforms to the specific format.
In the embodiment of the present invention, after obtaining the title of the law clause, the method further includes:
judging whether the French name accords with a naming rule which can be converted into a query statement;
and if the name does not accord with the naming rule, converting the French name into the French name which accords with the naming rule.
Preferably, after obtaining the french number, the method further includes:
judging whether the French number is in a specific format which can be converted into an inquiry statement;
and if the special format is not met, converting the French number into the special format.
In the embodiment of the present invention, a naming rule of the query statement is preset, for example, the name of the law clause should be a full name of law.
In actual use, for example, if the title of the act is Chinese criminal act, the act is replaced by the criminal action of the people's republic of China.
If the particular format is arabic numerals, then the french number is thirty-six, which is replaced with 36.
The naming rule and the specific format are different according to different grammar rules of the query statement.
So that the query results are more accurate.
Preferably, the converting the law parameter into a query statement includes:
and taking the examination date as a time screening condition, and taking the law code and the law name as a content screening condition to obtain the query sentence.
Taking ES statements as an example, for example, when the trial date is 2015, 10 months and 10 days, the parameters in the process of forming the ES statements can be implemented by the following statements:
Figure BDA0002214565000000071
Figure BDA0002214565000000081
of course, in case of SQL syntax, the date of approval is taken as a part of the parameter in the "where" condition, so that the legal release date and the validation date are before the date of approval.
In the embodiment of the present invention, the obtaining of the query statement includes:
taking the approval date as a generation condition of a query statement, and generating a first query statement so that the legal release date and the effective date in the legal content are both before the approval date;
and generating a second query statement by taking the law number and the law name as the generation conditions of the query statement on the basis of the first query statement so as to obtain the law content corresponding to the law matched with the law number and the law name.
The generating a second query statement by using the law number and the law name as a query based on the first query statement comprises:
judging whether the law corresponding to the law name is an entity law;
if the query sentence is an entity law, limiting the legal name according to the legal number, and setting the query condition of the legal name in the second query sentence to be accurate matching;
and if the query sentence is not an entity law, limiting the legal name according to the legal number, and setting the query condition of the legal name in the second query sentence as fuzzy matching.
In the embodiment of the invention, the query statement is obtained by two steps in general.
The first query statement is obtained firstly, then the second query statement is obtained on the basis of the first query statement, and the second query statement is tried out to be used as the query statement for querying the French database for query.
And generating a first query statement by taking the approval date as a generation condition of the query statement, so that the legal release date and the effective date in the legal content are both before the approval date.
In the embodiment of the invention, the trial date in the referee date is taken as a parameter and is transmitted into the elasticsearch, and an es query statement is assembled, so that the legal release date and the effective date are both before the trial date.
And then constructing a second query statement by using the number of the French clause and the name of the French clause in a fuzzy matching or precise matching mode on the basis of the obtained first query statement.
In the embodiment of the present invention, one of the bases for constructing the second query statement is determined according to whether the second query statement is an entity law.
In actual use, if the method is an entity method, the number field in the ES is matched exactly, and then the number field in the ES is used to define the french. And will receive a corresponding legal effectiveness rating. If the method is a non-entity method, fuzzy matching is carried out through the name field in the ES, and then the number field in the ES is added to define the French stripe, and then the French stripe content which meets the condition most is obtained through comprehensive sorting.
In the embodiment of the present invention, the querying in the french database using the query statement includes:
if the law is a solid law, when the effectiveness level of the law is a law or a judicial interpretation, inquiring the law and the judicial interpretation in the French database by using the second query statement, and when the effectiveness level of the law is not the law or the judicial interpretation, inquiring all data in the French database by using the second query statement;
and if the law is not an entity law, using the second query statement to query all data of the law provision database.
In the embodiment of the invention, different target query data can be selected according to different legal effectiveness grades. To determine whether to query only legal or judicial interpretations or to query the entire data.
In addition, the embodiment of the invention also takes the legal effectiveness level as one of the sequencing bases. Specifically, the method comprises the following steps.
Further comprising:
when the effectiveness level of the law is the law, sorting rules that the laws in the law content are arranged in the front;
when the effectiveness level of the law is judicial interpretation, sorting rules that the judicial interpretation in the legal content is ranked in the front;
otherwise, the legal content is sequenced according to the comprehensive sequencing rule.
In the embodiment of the invention, after the final French content is obtained, the French content is sequenced, and only the clockwork spring content sequenced at the first place can be used as output.
Therefore, the embodiment of the invention can more intuitively see the content of the applicable law in the referee document, so that the historical case referred by the judge has more basis, the content of the law of the referee document is accurately obtained, and the determination algorithm is simpler and more accurate.
Corresponding to the method embodiment, the embodiment of the invention also discloses a query device of the content of the French slips in the referee document.
Referring to fig. 2, fig. 2 is a schematic structural diagram of an apparatus for querying content of a french statement in an official document according to an embodiment of the present invention.
The query device for the content of the French slips in the referee document provided by the embodiment of the invention comprises:
an obtaining unit 1 for obtaining a referee document;
the analysis unit 2 is used for analyzing the referee document to obtain the law parameter related to the law of the judgment result in the referee document;
the conversion unit 3 is used for converting the law parameter into a query statement;
and the query unit 4 is configured to query the law statement in a law statement database by using the query statement to obtain the law statement content corresponding to the referee document.
Preferably, the parsing module 2 includes:
the calling subunit is used for calling a preset analysis service to analyze the referee document;
an obtaining subunit, configured to obtain a decision result of the referee document;
and the obtaining subunit is used for obtaining at least one of the law code number, the law name and the audit date in the judgment result.
Preferably, the conversion module 3 is specifically configured to obtain the query statement by using the approval date as a time screening condition and using the law code and the law name as a content screening condition.
Preferably, the system further comprises a first conversion module, configured to:
after the French name is obtained, judging whether the French name accords with a naming rule which can be converted into a query statement;
and if the name does not accord with the naming rule, converting the French name into the French name which accords with the naming rule.
Preferably, the apparatus further comprises a second conversion module, configured to:
after the French code is obtained, judging whether the French code is in a specific format which can be converted into an inquiry statement;
and if the special format is not met, converting the French number into the special format.
Preferably, the conversion module 3 is specifically configured to:
taking the approval date as a generation condition of a query statement, and generating a first query statement so that the legal release date and the effective date in the legal content are both before the approval date;
and generating a second query statement by taking the law number and the law name as the generation conditions of the query statement on the basis of the first query statement so as to obtain the law content corresponding to the law matched with the law number and the law name.
Preferably, the generating a second query statement by using the french number and the french name as queries based on the first query statement includes:
judging whether the law corresponding to the law name is an entity law;
if the query sentence is an entity law, limiting the legal name according to the legal number, and setting the query condition of the legal name in the second query sentence to be accurate matching;
and if the query sentence is not an entity law, limiting the legal name according to the legal number, and setting the query condition of the legal name in the second query sentence as fuzzy matching.
Preferably, the querying in the french database using the query statement includes:
if the law is a solid law, when the effectiveness level of the law is a law or a judicial interpretation, inquiring the law and the judicial interpretation in the French database by using the second query statement, and when the effectiveness level of the law is not the law or the judicial interpretation, inquiring all data in the French database by using the second query statement;
and if the law is not an entity law, using the second query statement to query all data of the law provision database.
Preferably, the system further comprises a sorting module, configured to:
when the effectiveness level of the law is the law, sorting rules that the laws in the law content are arranged in the front;
when the effectiveness level of the law is judicial interpretation, sorting rules that the judicial interpretation in the legal content is ranked in the front;
otherwise, the legal content is sequenced according to the comprehensive sequencing rule.
The steps of the functions realized by the modules in the embodiments of the present invention correspond to the method claims in the embodiments, and may be referred to each other, which is not described herein again.
Therefore, the embodiment of the invention can directly obtain the corresponding law article content of the referee document through the referee document, provide the basis of auxiliary case interpretation for the judge case of the judge, reduce the steps of searching the concrete content of the applicable law article of the referee document and improve the working efficiency.
The query device for the legal content in the referee document comprises a processor and a memory, wherein the acquisition unit, the analysis unit, the conversion unit, the query unit and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, and the kernel parameters are adjusted to provide the basis of the auxiliary case for the judge case.
An embodiment of the present invention provides a storage medium, on which a program is stored, where the program, when executed by a processor, implements a method for querying content of a french statement in a referee document.
The embodiment of the invention provides a processor, which is used for running a program, wherein the program executes a query method of the content of a legal item in a referee document when running.
Fig. 3 is a schematic structural diagram of an electronic device provided in the present invention. The embodiment of the invention provides equipment, which comprises at least one processor 701, at least one memory 702 and a bus 703, wherein the memory 702 and the bus 703 are connected with the processor; the processor 701 and the memory 702 complete mutual communication through a bus 703; the processor 701 is configured to call program instructions in the memory to execute a method for querying the content of the french statement in the referee document. The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device:
acquiring a referee document;
analyzing the referee document to obtain a law enforcement parameter related to a law enforcement cited by a judgment result in the referee document;
converting the law parameter into a query statement;
and querying in a French database by using the query statement to obtain French contents corresponding to the referee document.
Preferably, the analyzing the referee document to obtain the number of law enforcement parameters related to the law enforcement of the judgment result in the referee document includes:
calling a preset analysis service to analyze the referee document;
obtaining a judgment result of the judgment document;
and obtaining at least one of the law code number, the law name and the audit date in the judgment result.
Preferably, the converting the law parameter into a query statement includes:
and taking the examination date as a time screening condition, and taking the law code and the law name as a content screening condition to obtain the query sentence.
Preferably, after obtaining the french name, the method further includes:
judging whether the French name accords with a naming rule which can be converted into a query statement;
and if the name does not accord with the naming rule, converting the French name into the French name which accords with the naming rule.
Preferably, after obtaining the french number, the method further includes:
judging whether the French number is in a specific format which can be converted into an inquiry statement;
and if the special format is not met, converting the French number into the special format.
Preferably, the obtaining a query statement includes:
taking the approval date as a generation condition of a query statement, and generating a first query statement so that the legal release date and the effective date in the legal content are both before the approval date;
and generating a second query statement by taking the law number and the law name as the generation conditions of the query statement on the basis of the first query statement so as to obtain the law content corresponding to the law matched with the law number and the law name.
Preferably, the generating a second query statement by using the french number and the french name as queries based on the first query statement includes:
judging whether the law corresponding to the law name is an entity law;
if the query sentence is an entity law, limiting the legal name according to the legal number, and setting the query condition of the legal name in the second query sentence to be accurate matching;
and if the query sentence is not an entity law, limiting the legal name according to the legal number, and setting the query condition of the legal name in the second query sentence as fuzzy matching.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a device includes one or more processors (CPUs), memory, and a bus. The device may also include input/output interfaces, network interfaces, and the like.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip. The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A query method for French contents in referee documents is characterized by comprising the following steps:
acquiring a referee document;
analyzing the referee document to obtain a law enforcement parameter related to a law enforcement cited by a judgment result in the referee document;
converting the law parameter into a query statement;
and querying in a French database by using the query statement to obtain French contents corresponding to the referee document.
2. The query method according to claim 1, wherein the parsing the referee document to obtain a number of law parameter related to a law of a decision result in the referee document comprises:
calling a preset analysis service to analyze the referee document;
obtaining a judgment result of the judgment document;
and obtaining at least one of the law code number, the law name and the audit date in the judgment result.
3. The method of claim 2, wherein converting the legal parameters into a query statement comprises:
and taking the examination date as a time screening condition, and taking the law code and the law name as a content screening condition to obtain the query sentence.
4. The method of claim 2, wherein after obtaining the french name, the method further comprises:
judging whether the French name accords with a naming rule which can be converted into a query statement;
and if the name does not accord with the naming rule, converting the French name into the French name which accords with the naming rule.
5. The query method of claim 2, wherein after obtaining the french number, the method further comprises:
judging whether the French number is in a specific format which can be converted into an inquiry statement;
and if the special format is not met, converting the French number into the special format.
6. The query method of claim 3, wherein the obtaining a query statement comprises:
taking the approval date as a generation condition of a query statement, and generating a first query statement so that the legal release date and the effective date in the legal content are both before the approval date;
and generating a second query statement by taking the law number and the law name as the generation conditions of the query statement on the basis of the first query statement so as to obtain the law content corresponding to the law matched with the law number and the law name.
7. The method according to claim 6, wherein the generating a second query statement using the french number and the french name as a query based on the first query statement comprises:
judging whether the law corresponding to the law name is an entity law;
if the query sentence is an entity law, limiting the legal name according to the legal number, and setting the query condition of the legal name in the second query sentence to be accurate matching;
and if the query sentence is not an entity law, limiting the legal name according to the legal number, and setting the query condition of the legal name in the second query sentence as fuzzy matching.
8. An apparatus for querying contents of a french sentence in a referee document, comprising:
an obtaining unit configured to obtain a referee document;
the analysis unit is used for analyzing the referee document to obtain a law enforcement parameter related to a law enforcement of a judgment result in the referee document;
the conversion unit is used for converting the law parameter into a query statement;
and the query unit is used for querying in a French database by using the query statement to obtain the French content corresponding to the referee document.
9. An electronic device comprising at least one processor, and at least one memory, bus connected to the processor; the processor and the memory complete mutual communication through the bus; the processor is configured to call program instructions in the memory to perform a method of querying similar referee document french content as recited in any one of claims 1-7.
10. A storage medium having stored thereon computer-executable instructions, which when loaded and executed by a processor, carry out a method of querying for forensic content as claimed in any of claims 1 to 7.
CN201910910541.0A 2019-09-25 2019-09-25 Method for inquiring content of legal item in referee document and related device Pending CN112559674A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910910541.0A CN112559674A (en) 2019-09-25 2019-09-25 Method for inquiring content of legal item in referee document and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910910541.0A CN112559674A (en) 2019-09-25 2019-09-25 Method for inquiring content of legal item in referee document and related device

Publications (1)

Publication Number Publication Date
CN112559674A true CN112559674A (en) 2021-03-26

Family

ID=75029125

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910910541.0A Pending CN112559674A (en) 2019-09-25 2019-09-25 Method for inquiring content of legal item in referee document and related device

Country Status (1)

Country Link
CN (1) CN112559674A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113342937A (en) * 2021-06-16 2021-09-03 深圳市链融科技股份有限公司 Confirmation processing method and device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5383943B1 (en) * 2013-06-06 2014-01-08 株式会社野村総合研究所 Contract analysis system, program and method
CN106815208A (en) * 2015-12-01 2017-06-09 北京国双科技有限公司 The analysis method and device of law judgement document
CN106815263A (en) * 2015-12-01 2017-06-09 北京国双科技有限公司 The searching method and device of legal provision
CN108874814A (en) * 2017-05-10 2018-11-23 北京国双科技有限公司 The processing method and processing device of legal documents
CN110069609A (en) * 2019-03-15 2019-07-30 平安科技(深圳)有限公司 Judgement document's analysis method, device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5383943B1 (en) * 2013-06-06 2014-01-08 株式会社野村総合研究所 Contract analysis system, program and method
CN106815208A (en) * 2015-12-01 2017-06-09 北京国双科技有限公司 The analysis method and device of law judgement document
CN106815263A (en) * 2015-12-01 2017-06-09 北京国双科技有限公司 The searching method and device of legal provision
CN108874814A (en) * 2017-05-10 2018-11-23 北京国双科技有限公司 The processing method and processing device of legal documents
CN110069609A (en) * 2019-03-15 2019-07-30 平安科技(深圳)有限公司 Judgement document's analysis method, device, computer equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113342937A (en) * 2021-06-16 2021-09-03 深圳市链融科技股份有限公司 Confirmation processing method and device, computer equipment and storage medium
CN113342937B (en) * 2021-06-16 2022-12-13 深圳市链融科技股份有限公司 Confirmation processing method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111125086B (en) Method, device, storage medium and processor for acquiring data resources
CN107102993B (en) User appeal analysis method and device
CN111078776A (en) Data table standardization method, device, equipment and storage medium
CN115145871A (en) File query method and device and electronic equipment
CN114398315A (en) Data storage method, system, storage medium and electronic equipment
CN115982429B (en) Knowledge management method and system based on flow control
CN113641833A (en) Service requirement matching method and device
CN112559674A (en) Method for inquiring content of legal item in referee document and related device
CN117033744A (en) Data query method and device, storage medium and electronic equipment
CN112559677A (en) Retrieval method of laws and regulations and related device
CN110858214B (en) Recommendation model training and further auditing program recommendation method, device and equipment
CN110955760B (en) Evaluation method of judgment result and related device
CN110765100B (en) Label generation method and device, computer readable storage medium and server
CN110968691A (en) Judicial hotspot determination method and device
CN111428037A (en) Method for analyzing matching performance of behavior policy
CN112825087A (en) User information searching method and device, computer equipment and storage medium
CN110765118B (en) Data revision method, revision device and readable storage medium
CN110909533B (en) Resource theme judging method and system
CN114328847B (en) Data processing method and system based on knowledge graph
CN112015888B (en) Abstract information extraction method and abstract information extraction system
CN110750625B (en) Judicial question-answering method and related equipment
CN111311329B (en) Tag data acquisition method, device, equipment and readable storage medium
CN117389994A (en) Project database construction method, device, equipment and storage medium
CN114240496A (en) Client mining method, device, equipment and storage medium applied to insurance recommendation
CN113626671A (en) Data classification method, device and equipment based on character matching and storage medium

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