Enhance matrix-based legal case candidate paragraph selection method and device
A paragraph and legal technology, applied in the field of selection of candidate paragraphs in legal cases, can solve problems such as inability to correctly select candidate paragraphs, and learning the reasoning relationship of paragraphs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] figure 1 It is a structure diagram for obtaining a candidate paragraph of a legal case in an embodiment of the present invention, such as figure 1 As shown, this example first obtains a legal reading comprehension data set with reasoning properties and labels the data set, obtains a data set of candidate paragraphs of legal cases, enters the legal text into the Bert model for representation, and adds attention to the vector to calculate the distance between paragraphs The similarity matrix R constructs the enhance matrix matrix EM according to the word relationship between paragraphs and the word relationship between paragraphs and questions, further uses the enhance matrix to enhance the paragraph similarity matrix R, and obtains the final paragraph vector by updating the feature representation, Put the paragraph vector feature into the sigmoid classifier to get the final candidate paragraph selection result.
[0051] In this embodiment, the inferential legal reading ...
Embodiment 2
[0072] Figure 6 Shown is a selection device of a legal case candidate paragraph based on an enhance matrix according to an embodiment of the present invention, including:
[0073] The candidate paragraph data processing module is used to perform processing on the acquired reading comprehension data set with reasoning properties, and select candidate paragraphs and label them according to the characteristics that the data set requires that the answer must be obtained through the reasoning of at least 2 candidate paragraphs Labeling, to obtain a data set that uses whether it is a candidate paragraph as a label;
[0074] The Bert characterization module is used to execute the characterization algorithm for the paragraphs and questions in each sample in the candidate paragraph data set, merge the question text and the paragraph text, intercept or complete the input with a length of 512, and input it to the pre-trained Bert Model, obtain the representation of the question and par...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com