Qualitative measure and era recommendation method based on legal knowledge graph and related equipment

文档序号:7729 发布日期:2021-09-17 浏览:29次 中文

1. A qualitative quantum discipline recommendation method based on a legal knowledge graph comprises the following steps:

in response to receiving text description of the violation case, performing multi-label classification on the text description by using a multi-label attention mechanism of a deep learning algorithm based on a violation label tree to predict a violation category label corresponding to the violation case;

matching and reasoning calculation are carried out based on a penalty rule knowledge graph according to the violation behavior category label so as to determine penalty clause information and violation property label corresponding to the violation case;

outputting the penalty term information and the violation property label as a recommendation qualitative result for the violation case,

wherein the penalty specification knowledge-graph is constructed in advance based on a penalty specification related file for the violation, and the violation label tree is constructed in advance based on the penalty specification related file for the violation.

2. The method of claim 1, further comprising:

after the penalty term information and the violation property label are output, in response to receiving a scenario severity label of the violation case input by a user, matching the penalty term information and the scenario severity label with the penalty rule knowledge graph to determine penalty measure information for the violation case;

and outputting the penalty measure information as a recommended penalty measure result for the violation case.

3. The method of claim 1 or 2, wherein the violation label tree has an inheritance hierarchy in which a first-level label, a plurality of second-level labels, and a plurality of third-level labels are arranged in order from high to low.

4. The method of claim 3, wherein multi-label classifying the textual description using the multi-label attention mechanism to predict the violation category label comprises:

classifying the text description according to the second-layer labels by using the multi-label attention mechanism to obtain respective first scores of the second-layer labels;

sorting the plurality of second-layer labels from high to low according to the first score, and selecting the first N second-layer labels in the sorted plurality of second-layer labels, wherein N represents a preset number;

for each of the first N second-tier tags, determining a third-tier tag of the plurality of third-tier tags associated with the second-tier tag as a candidate tag based on the violation tag tree;

classifying the text description according to the candidate labels by using the multi-label attention mechanism to obtain respective second scores of the candidate labels;

determining the candidate label with the highest second score of the candidate labels as the violation behavior category label.

5. A qualitative quantum discipline recommendation method based on a legal knowledge graph comprises the following steps:

in response to receiving the text description of the illegal case and the plot severity label of the illegal case, performing multi-label classification on the text description by using a multi-label attention mechanism of a deep learning algorithm based on an illegal action label tree to predict an illegal action category label corresponding to the illegal case;

according to the violation behavior category label and the plot severity label, performing matching and inference calculation based on a penalty rule knowledge graph to determine penalty clause information and violation property label corresponding to the violation case and penalty measure information for the violation case;

outputting the penalty term information, the violation property label, and the penalty measure information as a result of the recommended determination for the violation case,

wherein the penalty specification knowledge-graph is constructed in advance based on a penalty specification related file for the violation, and the violation label tree is constructed in advance based on the penalty specification related file for the violation.

6. The method of claim 5, wherein the violation label tree has an inheritance hierarchy in which a first-level label, a plurality of second-level labels, and a plurality of third-level labels are arranged sequentially from high to low.

7. The method of claim 6, wherein multi-label classifying the textual description using the multi-label attention mechanism to predict the violation category label comprises:

classifying the text description according to the second-layer labels by using the multi-label attention mechanism to obtain respective first scores of the second-layer labels;

sorting the plurality of second-layer labels from high to low according to the first score, and selecting the first N second-layer labels in the sorted plurality of second-layer labels, wherein N represents a preset number;

for each of the first N second-tier tags, determining a third-tier tag of the plurality of third-tier tags associated with the second-tier tag as a candidate tag based on the violation tag tree;

classifying the text description according to the candidate labels by using the multi-label attention mechanism to obtain respective second scores of the candidate labels;

determining the candidate label with the highest second score of the candidate labels as the violation behavior category label.

8. A qualitative quantum discipline recommendation apparatus based on legal knowledge maps, comprising:

a classification module configured to: in response to receiving the text description of the violation case, based on a violation label tree, performing multi-label classification on the text description by using a multi-label attention mechanism of a deep learning algorithm to predict a violation category label corresponding to the violation case;

a matching and reasoning module configured to: matching and reasoning calculation are carried out based on a penalty rule knowledge graph according to the violation behavior category label so as to determine penalty clause information and violation property label corresponding to the violation case;

an output module configured to output the penalty term information and the violation property label as a recommendation qualitative result for the violation case,

wherein the penalty rule knowledge-graph is constructed in advance based on a penalty rule related file for the violation, and the violation label tree is constructed in advance based on the penalty rule knowledge-graph.

9. A qualitative quantum discipline recommendation apparatus based on legal knowledge maps, comprising:

a classification module configured to: in response to receiving the text description of the illegal case and the plot severity label of the illegal case, performing multi-label classification on the text description by using a multi-label attention mechanism of a deep learning algorithm based on an illegal action label tree to predict an illegal action category label corresponding to the illegal case;

a matching and reasoning module configured to: according to the violation behavior category label and the plot severity label, performing matching and inference calculation based on a penalty rule knowledge graph to determine penalty clause information and violation property label corresponding to the violation case and penalty measure information for the violation case;

an output module configured to output the penalty term information, the violation property label, and the penalty measure information as a result of a recommended determination for the violation case,

wherein the penalty rule knowledge-graph is constructed in advance based on a penalty rule related file for the violation, and the violation label tree is constructed in advance based on the penalty rule knowledge-graph.

10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable by the processor, the processor implementing the method of any one of claims 1 to 7 when executing the computer program.

Background

The construction of legal knowledge maps is an indispensable basic project for realizing wisdom judicial law. In recent years, the judicial field actively applies advanced technologies such as big data, cloud computing, artificial intelligence and the like, effectively improves the case handling efficiency, assists judicial management, serves litigation of people, and has a great promoting effect on accelerating the modernization of the judicial. The legal knowledge map is used for extracting the laws in the related fields, the entities in the laws and the ordinances, and the relations and attributes between the entities according to the application scenes, constructing the logical relations and forming the structured knowledge expression. Based on the legal knowledge map, the intelligent application of the judicial service scene is finally realized, and effective reference and basis are provided for case handling and case judgment of judicial personnel.

The qualitative measure belongs to the category of legal decision, and the rationale is legal demonstration. Traditional legal demonstration is mainly completed manually, the quality degree of the demonstration completely depends on the demonstration capability and knowledge reserve of a legal verifier, the verifier serving as a natural person has limitations of value orientation, knowledge structure and the like, and the obtained decision is often influenced by subjective factors. In legal decision-making, especially in the stage of insufficient experience of legal argumentation person, the decision is often misbiased due to common sense or logical error, and the related intelligent assistance system for legal decision-making can reduce the occurrence of such error by ensuring partial computability of legal problem.

Disclosure of Invention

In view of the above, the present disclosure aims to provide a qualitative quantum discipline recommendation method based on a legal knowledge graph and a related device.

Based on the above purpose, the present disclosure provides a qualitative quantum discipline recommendation method based on a legal knowledge graph, including:

in response to receiving text description of the violation case, performing multi-label classification on the text description by using a multi-label attention mechanism of a deep learning algorithm based on a violation label tree to predict a violation category label corresponding to the violation case;

matching and reasoning calculation are carried out based on a penalty rule knowledge graph according to the violation behavior category label so as to determine penalty clause information and violation property label corresponding to the violation case;

outputting the penalty term information and the violation property label as a recommendation qualitative result for the violation case,

wherein the penalty specification knowledge-graph is constructed in advance based on a penalty specification related file for the violation, and the violation label tree is constructed in advance based on the penalty specification related file for the violation.

Based on the same inventive concept, the disclosure also provides a qualitative quantum discipline recommendation method based on the legal knowledge graph, which comprises the following steps:

in response to receiving text description of an illegal case and an episode severity label of the illegal case, performing multi-label classification on the text description by using a multi-label attention mechanism of a deep learning algorithm based on an illegal action label tree to predict an illegal action category label corresponding to the illegal case;

according to the violation behavior category label and the plot severity label, performing matching and inference calculation based on a penalty rule knowledge graph to determine penalty clause information and violation property label corresponding to the violation case and penalty measure information for the violation case;

outputting the penalty term information, the violation property label, and the penalty measure information as a result of the recommended determination for the violation case,

wherein the penalty specification knowledge-graph is constructed in advance based on a penalty specification related file for the violation, and the violation label tree is constructed in advance based on the penalty specification related file for the violation.

Based on the same inventive concept, the present disclosure also provides a qualitative quantum discipline recommendation device based on legal knowledge graph, comprising:

a classification module configured to: in response to receiving text description of the violation case, performing multi-label classification on the text description by using a multi-label attention mechanism of a deep learning algorithm based on a violation label tree to predict a violation category label corresponding to the violation case;

a matching and reasoning module configured to: matching and reasoning calculation are carried out based on a penalty rule knowledge graph according to the violation behavior category label so as to determine penalty clause information and violation property label corresponding to the violation case;

an output module configured to output the penalty term information and the violation property label as a recommendation qualitative result for the violation case,

wherein the penalty rule knowledge-graph is constructed in advance based on a penalty rule related file for the violation, and the violation label tree is constructed in advance based on the penalty rule knowledge-graph.

Based on the same inventive concept, the present disclosure also provides a qualitative quantum discipline recommendation device based on legal knowledge graph, comprising: a classification module configured to: in response to receiving text description of an illegal case and an episode severity label of the illegal case, performing multi-label classification on the text description by using a multi-label attention mechanism of a deep learning algorithm based on an illegal action label tree to predict an illegal action category label corresponding to the illegal case;

a matching and reasoning module configured to: according to the violation behavior category label and the plot severity label, performing matching and inference calculation based on a penalty rule knowledge graph to determine penalty clause information and violation property label corresponding to the violation case and penalty measure information for the violation case;

an output module configured to output the penalty term information, the violation property label, and the penalty measure information as a result of a recommended determination for the violation case,

wherein the penalty rule knowledge-graph is constructed in advance based on a penalty rule related file for the violation, and the violation label tree is constructed in advance based on the penalty rule knowledge-graph.

Based on the same inventive concept, the present disclosure also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable by the processor, the processor implementing the qualitative quantum computation recommendation method based on a legal knowledge graph as described above when executing the computer program.

From the above, the qualitative quantitative discipline recommendation method and the related equipment based on the legal knowledge graph provided by the disclosure establish a set of knowledge graphs in related fields by automatically extracting legal information from existing legal related files and cases, and for a given case, matching reasoning is performed based on the graphs, so that more reasonable judicial judgment is finally given, the defects that the traditional legal recommendation data is not enough in structure and the intelligent technology recommendation is not accurate are overcome, and assistance is provided for judicial authorities to judge cases.

Drawings

In order to more clearly illustrate the technical solutions in the present disclosure or related technologies, the drawings needed to be used in the description of the embodiments or related technologies are briefly introduced below, and it is obvious that the drawings in the following description are only embodiments of the present disclosure, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.

FIG. 1 is a schematic flow chart of a qualitative quantum recommendation method based on a legal knowledge graph according to an embodiment of the present disclosure;

FIG. 2 is a schematic illustration of a hierarchical relationship between various types of penalty term nodes in a penalty specification knowledge-graph according to an embodiment of the disclosure;

FIG. 3 is a schematic diagram of a qualitative quantum discipline recommendation device based on legal knowledge maps in accordance with an embodiment of the present disclosure;

fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure.

Detailed Description

For the purpose of promoting a better understanding of the objects, aspects and advantages of the present disclosure, reference is made to the following detailed description taken in conjunction with the accompanying drawings.

It is to be noted that technical terms or scientific terms used in the embodiments of the present disclosure should have a general meaning as understood by those having ordinary skill in the art to which the present disclosure belongs, unless otherwise defined. The use of "first," "second," and similar terms in the embodiments of the disclosure is not intended to indicate any order, quantity, or importance, but rather to distinguish one element from another. The word "comprising" or "comprises", and the like, means that the element or item listed before the word covers the element or item listed after the word and its equivalents, but does not exclude other elements or items. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect.

As described in the background, unlike the conventional legal information system, the penalty specification knowledge base is a structured semantic knowledge base processed by analyzing and processing the penalty specification related files of the violation, and is used for describing the concept and the mutual relationship in the penalty specification of the violation. The method and the device realize quick response and reasoning of knowledge by decomposing a large amount of data from coarse granularity at a text level into fine granularity at a data level and aggregating a large amount of knowledge. Knowledge matching and reasoning are carried out based on the constructed penalty rule knowledge graph, so that the current situation of the traditional low-efficiency artificial intelligence algorithm with insufficient data structuralization and disordered algorithm can be changed.

The construction of the penalty rule knowledge graph needs to extract key information from penalty rule related files aiming at illegal behaviors, analyze and sort the key information, clarify logical relations among information points and finally structure the information points. Classifying the illegal and discipline behaviors of a given case needs to be classified by applying a deep learning classification algorithm based on the class of the illegal and discipline behaviors in a related file. The classification algorithm integrates the hierarchy inheritance of the classes into an algorithm structure so as to improve the accuracy of final classification.

The technical solution of the present disclosure is described in detail below with reference to the accompanying drawings.

Referring to fig. 1, an embodiment of the present disclosure provides a qualitative quantum discipline recommendation method based on a legal knowledge graph, including the following steps:

step S101, in response to receiving text description of the violation case, based on the violation label tree, performing multi-label classification on the text description by using a multi-label attention mechanism of a deep learning algorithm to predict a violation category label corresponding to the violation case.

In some embodiments, case descriptions are classified based on a constructed violation label tree, each node of which is a violation category label. The violation label tree is a tree-structured knowledge graph with inheritance relationships between each level. In this embodiment, the penalty rule knowledge graph is constructed according to 'Communist Party of China discipline division' (hereinafter, referred to as 'regulations'), the law in 'regulations' has natural category inheritance, conforms to the attribute of the violation label tree, and the violation category labels having an inheritance relationship are extracted from 'regulations' as nodes for constructing the violation label tree. And classifying the illegal case description through the constructed illegal behavior tag tree. After the user inputs the description of the violation cases, the deep learning algorithm is applied to classify the violation cases, the hierarchical structure of the violation label tree is integrated into the classification model, and the final classification accuracy can be improved.

And S102, according to the violation behavior category label, performing matching and inference calculation based on a penalty rule knowledge graph to determine penalty clause information and a violation property label corresponding to the violation case.

In some embodiments, the violation category label is a part of nodes in the penalty rule knowledge graph, the same node of the violation category label in the penalty rule knowledge graph is found through regular matching, and other data including specific laws, money, terms, quantity and discipline information and the like are associated through the node, so that penalty term information and violation property label corresponding to the violation case are determined.

And step S103, outputting the penalty clause information and the violation property label as a recommendation qualitative result of the violation case.

The recommendation qualitative result comprises violation regulations related to the case, final qualitative behaviors and reference quantitative criteria. And (4) taking the fixed recommendation qualitative result as a reference by related judicial personnel, and making qualitative quantitative determination on the behavior described by the illegal case according to the specific situation of the case and the past experience. Wherein the penalty specification knowledge-graph is constructed in advance based on a penalty specification related file for the violation, and the violation label tree is constructed in advance based on the penalty specification related file for the violation.

In some embodiments, their corresponding penalty rules knowledge-graph is constructed based on the contents of the "regulations", with structural levels from high to low as: bars, money, items. The hierarchy that may occur includes: a single strip; bars and money; bars, money, items; bars, items. The nodes that build the knowledge-graph according to the hierarchy may contain containment relationships as shown in fig. 2. The hierarchical label of "section" is not explicitly given in the "regulations", but is presented in a segmented form.

In some embodiments, after outputting the penalty term information and the violation property label, in response to receiving a user-entered episode severity label for the violation case, matching the penalty term information and the episode severity label to the penalty specification knowledge-graph to determine penalty action information for the violation case; and outputting the penalty measure information as a recommended penalty measure result for the violation case. The plot severity labels correspond to different punishment measures, and can be specifically divided into 'light plot', 'heavy plot' and 'severe plot'.

The established penalty rule knowledge graph provides a foundation for the qualitative and quantitative era of subsequent cases.

In some embodiments, the violation label tree has an inheritance hierarchy in which a first-level label, a plurality of second-level labels, and a plurality of third-level labels are arranged in a high-to-low order. The node labels in the violation label tree can be associated with parent labels or child labels, so that the qualitative behaviors of the violation case description are preliminarily determined.

In some embodiments, multi-label classifying the textual description using the multi-label attention mechanism to predict the violation category label comprises: classifying the text description according to the second-layer labels by using the multi-label attention mechanism to obtain respective first scores of the second-layer labels; sorting the plurality of second-layer labels from high to low according to the first score, and selecting the first N second-layer labels in the sorted plurality of second-layer labels, wherein N represents a preset number; for each of the first N second-tier tags, determining a third-tier tag of the plurality of third-tier tags associated with the second-tier tag as a candidate tag based on the violation tag tree; classifying the text description according to the candidate labels by using the multi-label attention mechanism to obtain respective second scores of the candidate labels; determining the candidate label with the highest second score of the candidate labels as the violation behavior category label.

Specifically, the multi-label classification mainly comprises the following steps:

1. inputting the illegal case description into a Bert-Chinese pre-training model for coding to obtain the vector representation of each word of the text descriptionWhereinIs the number of words of the text description.

2. Computing a weighted average of each word vector using an attention layer in a neural network, resulting in a vector representation of the textual description for different violation category labels

Wherein alpha isijFor the weight parameter, the weight parameter can be updated through training and continuous optimization, j is 1, …, and L is the number of the labels of the violation category.

In the present embodiment, the word vector based representationCalculating a vector representation of the textual description corresponding to each second-layer label by an attention mechanismThe second layer label is used as the first vector representation, and the total number of the second layer label is L, namely L vector representations of the text description are obtained

3. And performing calculation conversion on the first vector representation through a full connection layer and an output layer of the neural network to obtain first scores of the first vector representation, wherein each first score corresponds to each second layer label, and the higher the value of the first score is, the greater the relevance between the corresponding second layer label and the text description is.

4. And selecting the next-level label associated with the second-level label with the first N first score values, namely the third-level label as a candidate label.

5. Word vector representation based on the textual descriptionReferring to step 2, a vector representation of the textual description corresponding to each candidate tag is derived by the attention layer of the neural networkAs a second vector representation, where P is the number of sub-tags, i.e. a vector representation of P said textual descriptions is obtained

6. And performing calculation conversion on the second vector representation through a full connection layer and an output layer of the neural network to obtain second scores of the second vector representation, wherein each second score corresponds to each candidate label, and the higher the value of the second score is, the greater the relevance of the corresponding sub-label and the text description is.

7. And selecting the candidate label with the highest second score as the violation behavior category label, that is, selecting the candidate label most related to the text description as the violation behavior category label of the text description, or selecting several labels with higher scores as the violation behavior category labels of the text description according to specific situations.

In some embodiments, the first vector representation is associated with a first weight matrix through a fully-connected layer of a neural networkMultiplying and outputting a first intermediate hidden layer vector; combining the first intermediate hidden layer vector with a second weight matrix through an output layer of a neural networkMultiplying and outputting a first score represented by the first vector.

Specifically, in the above steps 3 and 6, the first vector and the second vector are respectively associated with the first weight matrix by using the fully-connected layer of the neural networkMultiplying, and performing further implicit semantic expression on the first vector and the second vector to respectively obtain a first intermediate hidden layer vector sumA second intermediate hidden layer vector. And respectively combining the first intermediate hidden layer vector and the second intermediate hidden layer vector with a second weight matrix through an output layerAnd multiplying to obtain the corresponding score of each violation behavior category label, namely obtaining the first score of each second-layer label and the second score of each candidate label.

Based on the same inventive concept, the disclosure also provides a qualitative quantum discipline recommendation method based on the legal knowledge graph, which comprises the following steps:

in response to receiving text description of an illegal case and an episode severity label of the illegal case, performing multi-label classification on the text description by using a multi-label attention mechanism of a deep learning algorithm based on an illegal action label tree to predict an illegal action category label corresponding to the illegal case;

according to the violation behavior category label and the plot severity label, performing matching and inference calculation based on a penalty rule knowledge graph to determine penalty clause information and violation property label corresponding to the violation case and penalty measure information for the violation case;

outputting the penalty term information, the violation property label, and the penalty measure information as a result of the recommended determination for the violation case,

wherein the penalty specification knowledge-graph is constructed in advance based on a penalty specification related file for the violation, and the violation label tree is constructed in advance based on the penalty specification related file for the violation.

Further, the violation label tree has an inheritance hierarchy in which a first-layer label, a plurality of second-layer labels, and a plurality of third-layer labels are arranged in order from top to bottom.

Further, multi-label classifying the textual description using the multi-label attention mechanism to predict the violation category label comprises:

classifying the text description according to the second-layer labels by using the multi-label attention mechanism to obtain respective first scores of the second-layer labels;

sorting the plurality of second-layer labels from high to low according to the first score, and selecting the first N second-layer labels in the sorted plurality of second-layer labels, wherein N represents a preset number;

for each of the first N second-tier tags, determining a third-tier tag of the plurality of third-tier tags associated with the second-tier tag as a candidate tag based on the violation tag tree;

classifying the text description according to the candidate labels by using the multi-label attention mechanism to obtain respective second scores of the candidate labels;

determining the candidate label with the highest second score of the candidate labels as the violation behavior category label.

It should be noted that the method of the embodiments of the present disclosure may be executed by a single device, such as a computer or a server. The method of the embodiment can also be applied to a distributed scene and completed by the mutual cooperation of a plurality of devices. In such a distributed scenario, one of the devices may only perform one or more steps of the method of the embodiments of the present disclosure, and the devices may interact with each other to complete the method.

It should be noted that the above describes some embodiments of the disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments described above and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.

Based on the same inventive concept, corresponding to the method of any embodiment, the disclosure also provides a qualitative quantitative era recommendation device based on the legal knowledge graph.

Referring to fig. 3, the qualitative quantum recommendation device based on legal knowledge graph comprises:

a classification module 301 configured to: in response to receiving text description of the violation case, performing multi-label classification on the text description by using a multi-label attention mechanism of a deep learning algorithm based on a violation label tree to predict a violation category label corresponding to the violation case;

a matching and reasoning module 302 configured to: matching and reasoning calculation are carried out based on a penalty rule knowledge graph according to the violation behavior category label so as to determine penalty clause information and violation property label corresponding to the violation case;

an output module 303 configured to output the penalty term information and the violation property label as a recommendation qualitative result for the violation case,

wherein the penalty rule knowledge-graph is constructed in advance based on a penalty rule related file for the violation, and the violation label tree is constructed in advance based on the penalty rule knowledge-graph.

Based on the same inventive concept, corresponding to the method of any embodiment, the disclosure also provides a qualitative quantitative era recommendation device based on the legal knowledge graph.

The qualitative quantum discipline recommendation device based on the legal knowledge graph comprises:

a classification module configured to: in response to receiving text description of an illegal case and an episode severity label of the illegal case, performing multi-label classification on the text description by using a multi-label attention mechanism of a deep learning algorithm based on an illegal action label tree to predict an illegal action category label corresponding to the illegal case;

a matching and reasoning module configured to: according to the violation behavior category label and the plot severity label, performing matching and inference calculation based on a penalty rule knowledge graph to determine penalty clause information and violation property label corresponding to the violation case and penalty measure information for the violation case;

an output module configured to output the penalty term information, the violation property label, and the penalty measure information as a result of a recommended determination for the violation case,

wherein the penalty rule knowledge-graph is constructed in advance based on a penalty rule related file for the violation, and the violation label tree is constructed in advance based on the penalty rule knowledge-graph.

For convenience of description, the above devices are described as being divided into various modules by functions, and are described separately. Of course, the functionality of the various modules may be implemented in the same one or more software and/or hardware implementations of the present disclosure.

The device of the above embodiment is used for implementing the corresponding qualitative quantum intelligence recommendation method based on the penalty rule knowledge graph in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.

Based on the same inventive concept, corresponding to any of the above embodiments, the present disclosure further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the qualitative quantum computation recommendation method based on the legal knowledge graph according to any of the above embodiments.

Fig. 4 is a schematic diagram illustrating a more specific hardware structure of an electronic device according to this embodiment, where the electronic device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein the processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 are communicatively coupled to each other within the device via bus 1050.

The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present disclosure.

The Memory 1020 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 1020 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 1020 and called to be executed by the processor 1010.

The input/output interface 1030 is used for connecting an input/output module to input and output information. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.

The communication interface 1040 is used for connecting a communication module (not shown in the drawings) to implement communication interaction between the present apparatus and other apparatuses. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).

Bus 1050 includes a path that transfers information between various components of the device, such as processor 1010, memory 1020, input/output interface 1030, and communication interface 1040.

It should be noted that although the above-mentioned device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040 and the bus 1050, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.

The electronic device of the above embodiment is used to implement the qualitative quantitative record recommendation method based on the legal knowledge graph in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.

Based on the same inventive concept, corresponding to any of the above-described embodiment methods, the present disclosure also provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the qualitative quantum ensemble recommendation method based on a legal knowledge graph as described in any of the above embodiments.

Computer-readable media of the present embodiments, 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.

The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the qualitative quantum computation recommendation method based on the legal knowledge graph according to any of the above embodiments, and have the beneficial effects of corresponding method embodiments, which are not described herein again.

Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, is limited to these examples; within the idea of the present disclosure, also technical features in the above embodiments or in different embodiments may be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present disclosure as described above, which are not provided in detail for the sake of brevity.

In addition, well-known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown in the provided figures for simplicity of illustration and discussion, and so as not to obscure the embodiments of the disclosure. Furthermore, devices may be shown in block diagram form in order to avoid obscuring embodiments of the present disclosure, and this also takes into account the fact that specifics with respect to implementation of such block diagram devices are highly dependent upon the platform within which the embodiments of the present disclosure are to be implemented (i.e., specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the disclosure, it should be apparent to one skilled in the art that the embodiments of the disclosure can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative instead of restrictive.

While the present disclosure has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those of ordinary skill in the art in light of the foregoing description. For example, other memory architectures (e.g., dynamic ram (dram)) may use the discussed embodiments.

The disclosed embodiments are intended to embrace all such alternatives, modifications and variances which fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalents, improvements, and the like that may be made within the spirit and principles of the embodiments of the disclosure are intended to be included within the scope of the disclosure.

完整详细技术资料下载
上一篇:石墨接头机器人自动装卡簧、装栓机
下一篇:一种无线电信号攻防领域的知识图谱构建及查询推荐系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!