Abstract generation method and device, server and storage medium
A technology of abstracts and sentences, applied in the field of devices, servers, storage media, and abstract generation methods, can solve the problems of low quality abstracts and achieve the effect of improving the coverage of important information
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] figure 1 It is a flowchart of a summary generation method provided by Embodiment 1 of the present invention. This embodiment is applicable to situations such as summary generation of news information in the communication field, event summary generation of event graphs, etc., and the method can be executed by a corresponding summary generation device , the device can be implemented in software and / or hardware, and can be configured on a server.
[0027] like figure 1 As shown, the abstract generation method provided in the embodiment of the present invention may include:
[0028] S110. Segment the target text to obtain a sentence set.
[0029] Wherein, the target text is the text to be abstracted. Since the abstract of the target text is composed of some important sentences in the text, the target text must be segmented. Exemplarily, sentence segmentation may be performed according to text paragraphs or common sentence terminators (for example: ".!?", etc.), and the t...
Embodiment 2
[0038] figure 2 It is a schematic flowchart of a method for generating an abstract provided in Embodiment 2 of the present invention. This embodiment is optimized on the basis of the above embodiments, such as figure 2 As shown, the abstract generation method provided in the embodiment of the present invention may include:
[0039] S210. Preprocessing the target text.
[0040] In order to ensure that the text data of the generated summary is clean, the target text needs to be preprocessed before the target text is segmented to filter out the useless data included in the target text, and the operation of the model will be affected due to too long input text Efficiency, and the effect of generating summaries for too long text is not good, so it is necessary to preprocess the too long text. Exemplary, text preprocessing may include:
[0041] (1) Use regular expressions to match, filter webpage links in the target text, for example, match a string through regular expressions...
Embodiment 3
[0049] image 3 A schematic flow chart of a summary model training method provided in Embodiment 3 of the present invention, wherein the summary model is a recurrent neural network model, which is used to predict whether each sentence of the text is a summary sentence in any embodiment of the present invention . like image 3 As shown, the summary model training method provided in the embodiment of the present invention may include:
[0050] S310. Obtain a sample data set used for training, and a topic corresponding to each sample data, and label abstract sentences and non-abstract sentences in each sample data.
[0051] Before the summary model is trained, the training data needs to be prepared, including obtaining the sample data set for training and the topic corresponding to each sample data. Since many summaries in the training data set are written manually, the summaries themselves are not included in the text. Therefore, the embodiment of the present invention can u...
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