A method, system, device and readable storage medium for summarizing educational text knowledge

By extracting domain terms from educational texts and combining them with Wikipedia explanations, the dual attention mechanism and the dual copy mechanism are used to generate knowledge summaries of educational texts, which solves the problem of poor induction effect of educational texts in the existing technology and achieves more accurate Knowledge extraction and test question generation.

CN113221577BActive Publication Date: 2024-10-29XI AN JIAOTONG UNIV
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202110464651.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-28
Publication Date
2024-10-29
Estimated Expiration
2041-04-28

AI Technical Summary

Technical Problem

Existing technology is difficult to effectively extract and summarize key knowledge from educational texts, resulting in generated test questions that lack pertinence and accuracy and cannot meet the needs of online education.

Method used

By picking up domain terms from educational texts, using explanations in Wikipedia to build an external knowledge base, and combining the dual attention mechanism and the dual copy mechanism, context vectors are generated to improve the accuracy and detail capture capabilities of the summary.

Benefits of technology

It achieves in-depth understanding and abstraction of educational texts, generates targeted and more accurate knowledge summaries, improves the effect of test question generation, and solves the problem of unregistered words and low-frequency words.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113221577B_ABST
    Figure CN113221577B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, system, device and readable storage medium for summarizing knowledge in educational texts. The method picks up domain terms from educational texts, crawls the explanation of the terms in Wikipedia as the external knowledge required to understand the terms, and encodes the educational texts and external knowledge respectively to generate context vectors to assist the summary generation process, thereby making up for the lack of background knowledge when the machine automatically generates summaries. The dual attention mechanism is used to calculate the context vector of the educational text and the context vector of the external knowledge base in the current decoding state, and the two are integrated to participate in the decoding process. The dual copy mechanism is used to calculate the copy probability, thereby realizing the copying of relevant content from the educational text or external knowledge into the summary, improving the model's ability to capture details, and at the same time alleviating the problems caused by unregistered words or low-frequency words.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of teaching text summarization, and specifically relates to a method, system, device and readable storage medium for summarizing educational text knowledge. Background Art

[0002] Asking questions can stimulate learners to think and is a powerful teaching method. Learners learn key content by finding answers to questions and shorten the knowledge gap between their own understanding and learning materials. On the other hand, learners consolidate what they have learned and evaluate learning effects by answering targeted questions. With the rise of new online learning models such as MOOC and SPOC (small private onlinecourse), more and more learners are learning online. Automatically generating test questions for massive online educational texts is an urgent task. However, from educational texts to generating test questions, two problems need to be solved. The first is what to ask. This step requires identifying knowledge from learning materials and abstracting and summarizing them to form question objects. Its main purpose is to ensure that the questions raised can target targeted knowledge in educational texts, thereby achieving the purpose of helping students consolidate key content. The second question is how to ask. This step is mainly to generate meaningful in-depth questions through understanding the important content of learning materials. Determining what to ask is the premise for generating test questions, so the extraction and summarization of key knowledge in educational texts is the key to improving the effect of automatic test question generation. Educational text knowledge induction aims to automatically generate abstract summaries of knowledge through in-depth understanding of educational texts.

[0003] Text summarization is a technology used to obtain key information from massive data. This key information is less in data volume than the original text, and the expression is more concise than the original text. Text summarization technology can be divided into extractive text summarization and generative text summarization according to the generation method. Extractive text summarization calculates a score for each sentence through a sentence scoring strategy, selects sentences with higher scores as summaries, and reduces redundancy by removing sentences with higher similarity. Although extractive summarization can retain the significant information of the original text to a certain extent, it has certain defects in accuracy and language organization because all extractive summaries come from the extraction and reorganization of the original text. Generative summarization aims to generate a summary containing the key information of the original text in a new way of expression based on the understanding of the original text. The sentences or phrases in the summary may not appear in the original text. Generative summarization uses advanced natural language technology to generate expressions different from the original text, but usually lacks some detailed descriptions of key information, reducing the amount of information in the summary. Text summarization technology can help people quickly capture key information and plays an immeasurable role in many fields. However, through research, it was found that there is currently no research on text summarization technology in the field of education, which greatly limits the role of massive online educational texts and cannot meet the learning needs of online learners.

[0004] CN201910400306.9-The invention discloses a text summary model and automatic text summary method based on an improved selection mechanism and LSTM variants. The invention proposes a selection mechanism based on information gain and a copy-based LSTM variant based on the encoder-decoder model based on the attention mechanism. On the one hand, an improved selection mechanism is added between the encoder and the decoder to judge the key information in the original text, and the summary information is extracted, thereby improving the generalization ability of the automatic text summary; on the other hand, using the LSTM variant as the cyclic unit of the decoder-side recurrent neural network can optimize the decoding process, improve the decoding efficiency, reduce the repetition problem in the generated summary, and thus improve the readability of the generated summary. The text summary method provided by the invention is a general technology, and no corresponding solution is proposed for the characteristics of educational texts. However, educational texts usually contain more domain terms, which require corresponding domain knowledge to understand. In the process of manually generating summaries, these prior knowledge is usually needed to assist in better summarizing and summarizing the original text, so the invention cannot well achieve the summary of key knowledge in educational texts. Summary of the invention

[0005] The purpose of the present invention is to provide a method, system, device and readable storage medium for summarizing knowledge in educational texts to overcome the shortcomings of the prior art. The present invention can automatically generate an abstract summary of key knowledge through understanding, summarizing and abstracting the educational text, which can be used to generate question objects containing key knowledge and assist in the test question generation process.

[0006] In order to achieve the above object, the present invention adopts the following technical scheme:

[0007] A method for summarizing educational text knowledge includes the following steps:

[0008] S1, pick up domain terms from educational texts, align the picked up domain terms with entities in Wikipedia, and then use the TF-IDF method to extract the top m domain terms sorted by importance from the picked up domain terms to form a term list;

[0009] S2, crawling the description of each term in the term list in Wikipedia as the domain knowledge required to understand the term in this field, forming an external knowledge base;

[0010] S3, compresses the educational text and the external knowledge base into a fixed-length semantic vector, which represents the semantic information of the educational text and the external knowledge base;

[0011] S4, using the dual attention mechanism to calculate the context vector of the educational text and the context vector of the external knowledge base for the current decoding state, perform weighted summation of the context vector of the educational text and the context vector of the external knowledge base to obtain the final context vector, calculate the probability distribution of the current word based on the vocabulary according to the current decoding state and the final context vector, or select words related to the current decoding state from the external knowledge base and the educational text and copy them directly into the summary to generate a knowledge summary sequence, thereby completing the knowledge summarization of the teaching text.

[0012] Furthermore, the domain terms in the educational text are picked up through the open source entity linking tool Dexter, which is an open source framework for entity linking tasks, and the picked up domain terms are aligned with the entities in Wikipedia.

[0013] Furthermore, the TF-IDF method is used to evaluate the importance of the picked domain terms. Importance evaluation refers to calculating the importance score based on the number of times the domain term appears in the educational text and the frequency of its appearance in the educational text set to which the educational text belongs. The picked domain term list is sorted according to the importance evaluation score, and the top m domain terms with high importance evaluation scores are taken to form the final term list.

[0014] Furthermore, the educational text sequence is represented by word embedding as Using BiGRU encoder for educational text sequences Encode and obtain the corresponding hidden state sequence after encoding Where s is the length of the educational text sequence.

[0015] Furthermore, the external knowledge base sequence is represented by word embedding as Use BiGRU encoder to train external knowledge base sequences Encode and obtain the corresponding hidden state sequence after encoding Where e is the length of the external knowledge base sequence.

[0016] Furthermore, the dual attention mechanism is used to calculate the decoding state s at the current time t t Contextual vector for text about education and the current decoding status s t Context vector about external knowledge base Use a gating network to fuse the context vector and context vector The final context vector is obtained by weighted summation Using the decoding state s at time t t and the fused context vector Calculate word y at time t t Probability distribution based on vocabulary

[0017] Further, calculate the decoding state s t Contextual vector for text about education and the context vector about external knowledge Find the probability p copy To decide whether to copy from educational text or external knowledge or generate the next word from the vocabulary, as shown below:

[0018]

[0019] Replication probability distribution P copy (y t |y <t ,X s ,X e ) is calculated as follows:

[0020]

[0021] Finally, the probability distribution of generating the next word is as follows:

[0022] P(y t )=(1-p copy ) vocab (y t )+p copy P copy (y t )

[0023] Get the corresponding knowledge summary sequence Y = [y 1 ,...,y t ,...,y n ].

[0024] An educational text knowledge induction system, comprising an external knowledge acquisition module, an encoding module and a decoding module;

[0025] The external knowledge acquisition module is used to pick up domain terms from educational texts, align the picked up domain terms with entities in Wikipedia, and then use the TF-IDF method to extract the top m domain terms sorted by importance from the picked up domain terms to form a term list; crawl the description of each term in the term list in Wikipedia as the domain knowledge required to understand the domain terms, forming an external knowledge base;

[0026] The encoding module is used to compress the educational text and the external knowledge base into a fixed-length semantic vector, which represents the semantic information of the educational text and the external knowledge base;

[0027] The decoding module uses a dual attention mechanism to calculate the context vector of the educational text and the context vector of the external knowledge base for the current decoding state, and performs weighted summation of the context vector of the educational text and the context vector of the external knowledge base to obtain the final context vector. According to the current decoding state and the final context vector, the probability distribution of the current word based on the vocabulary is calculated, or words related to the current decoding state are selected from the external knowledge base and the educational text and directly copied into the summary to generate a knowledge summary sequence and realize knowledge induction of the educational text.

[0028] A terminal device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the above-mentioned educational text knowledge summarization method are implemented.

[0029] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the above-mentioned educational text knowledge summarization method.

[0030] Compared with the prior art, the present invention has the following beneficial technical effects:

[0031] The invention discloses an educational text knowledge summarization method. The method picks up domain terms from educational texts, crawls explanations of the terms in Wikipedia as external knowledge required for understanding the terms, encodes educational texts and external knowledge respectively, generates context vectors to assist in the summary generation process, and makes up for the lack of background knowledge when a machine automatically generates a summary. The dual attention mechanism is used to calculate the context vector of the educational text and the context vector of an external knowledge base in the current decoding state. The context vector of the educational text and the context vector of the external knowledge base are weightedly summed to obtain a final context vector. The probability distribution of a word based on a vocabulary at the current moment is calculated according to the current decoding state and the final context vector. The dual copy mechanism is used to calculate the copy probability according to the educational text context vector and the external knowledge base context vector, so that relevant content can be copied from the educational text or external knowledge into the summary, thereby improving the model's ability to capture details and alleviating the problems caused by unregistered words or low-frequency words.

[0032] Furthermore, the present invention incorporates external knowledge to crawl descriptions of domain terms in Wikipedia as part of the input, using the external knowledge required to understand the term, thereby supplementing prior knowledge and improving the model's understanding ability.

[0033] Furthermore, a dual attention mechanism is adopted to simultaneously capture important information from educational texts and external knowledge, and the importance weights of the two are selected through a gate network. In the model decoder part, a double copy mechanism is proposed to copy relevant content from educational texts and external resources into the summary, thereby improving the model's ability to capture details and solving the problem of unregistered or low-frequency words.

[0034] An educational text knowledge induction system automatically generates abstract summaries of knowledge through understanding, summarizing and abstracting educational texts, providing targeted and more accurate educational texts, thereby achieving more efficient knowledge teaching and learning. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 1. It is a workflow diagram of the method for summarizing educational text knowledge in an embodiment of the present invention.

[0036] Figure 2 It is a structural diagram of the educational text knowledge induction model in an embodiment of the present invention. DETAILED DESCRIPTION

[0037] The present invention is further described in detail below in conjunction with the accompanying drawings:

[0038] like Figure 1 , Figure 2 As shown, a method for summarizing educational text knowledge includes the following steps:

[0039] S1, picking up domain terms from educational texts, aligning the picked up domain terms with entities in Wikipedia, and then using the TF-IDF method to extract the top m domain terms sorted by importance from the picked up domain terms to form a term list, where m is 10 in this application;

[0040] Specifically, the open source entity linking tool Dexter is used to pick up domain terms in educational texts and align the picked up domain terms with entities in Wikipedia. Dexter is an open source framework for entity linking tasks. Dexter integrates methods for entity linking tasks and provides an API for building entity linking tools.

[0041] The importance of the picked domain terms is evaluated using the TF-IDF method. Importance evaluation refers to calculating the importance score based on the number of times the domain terms appear in the educational text and the frequency of their appearance in the educational text set to which the educational text belongs. The picked domain terms are sorted according to the importance evaluation score, and the top m domain terms with high importance evaluation scores are taken to form the final term list. Domain terms are words that refer to general concepts in a specific professional field; domain terms concentrate on the most basic and important knowledge in the subject; for example, in life science courses, cell membrane, cytoplasm, hydrophilicity, and hydrophobicity are domain terms.

[0042] S2, crawling the description of each term in the term list in Wikipedia as the domain knowledge required to understand the term in this field, forming an external knowledge base;

[0043] S3, compresses the educational text and the external knowledge base into a fixed-length semantic vector, which represents the semantic information of the educational text and the external knowledge base;

[0044] Specifically, the educational text sequence and the external knowledge base sequence are represented by word embedding as and

[0045] Using BiGRU encoder for educational text sequences Encode and obtain the corresponding hidden state sequence after encoding Where s is the length of the educational text sequence;

[0046] Use BiGRU encoder to train external knowledge base sequences Encode and obtain the corresponding hidden state sequence after encoding Where e is the length of the external knowledge base sequence;

[0047] S4, using the dual attention mechanism to calculate the context vector of the educational text and the context vector of the external knowledge base in the current decoding state, perform weighted summation of the context vector of the educational text and the context vector of the external knowledge base to obtain the final context vector, calculate the probability distribution of the current word based on the vocabulary according to the current decoding state and the final context vector, or select words related to the current decoding state from the external knowledge base and the educational text and copy them directly into the summary to generate a knowledge summary sequence, thereby completing the knowledge summarization of the educational text.

[0048] Specifically, the dual attention mechanism is used to calculate the decoding state s at the current time t t Contextual vector for text about education and the current decoding status s t Context vector about external knowledge base Using a gate network fusion and The gate network consists of a fully connected network and a sigmoid activation function, and the final context vector is obtained by weighted summation. Using the decoding state s at time t t and the fused context vector Calculate word y at time t t Probability distribution based on vocabulary

[0049] In order to capture more detailed descriptions of knowledge, a copy mechanism is used to select words related to the current decoding state from an external knowledge base or educational text and copy them directly into the summary;

[0050] The copy mechanism takes into account the current decoding state s t Contextual vector for text about education and the context vector about external knowledge Find the probability p copy To decide whether to copy from educational text or external knowledge or to generate the next word from the vocabulary

[0051] Specifically, using the current decoding state s t Attention score for educational text Attention score with respect to external knowledge Calculate the replication probability distribution Then use p copy P vovab With P copy Perform weighted summation to obtain the probability distribution of the final output word. After multiple decoding calculations, the corresponding knowledge summary sequence Y = [y 1 ,...,y t ,...,y n ].

[0052] In one embodiment of the present invention, a terminal device is provided, the terminal device includes a processor and a memory, the memory is used to store a computer program, the computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor adopts a central processing unit (CPU), or adopts other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), off-the-shelf programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. It is the computing core and control core of the terminal, which is suitable for implementing one or more instructions, and is specifically suitable for loading and executing one or more instructions to implement the corresponding method flow or corresponding function; the processor described in the embodiment of the present invention can be used for the operation of the educational text knowledge induction method.

[0053] An educational text knowledge summarization system, which can be used to implement the educational text knowledge summarization method in the above embodiment, specifically an external knowledge acquisition module, an encoding module and a decoding module;

[0054] The external knowledge acquisition module is used to pick up domain terms from educational texts, align the picked up domain terms with entities in Wikipedia, and then use the TF-IDF method to extract the top m domain terms sorted by importance from the picked up domain entities to form a term list; crawl the description of each term in the term list in Wikipedia as the domain knowledge required to understand the domain terms, forming an external knowledge base;

[0055] The encoding module is used to compress the educational text and the external knowledge base into a fixed-length semantic vector, which represents the semantic information of the educational text and the external knowledge base;

[0056] The decoding module uses a dual attention mechanism to calculate the context vector of the educational text and the context vector of the external knowledge base for the current decoding state, and performs weighted summation of the context vector of the educational text and the context vector of the external knowledge base to obtain the final context vector. According to the current decoding state and the final context vector, the probability distribution of the current word based on the vocabulary is calculated, or words related to the current decoding state are selected from the external knowledge base and the educational text and directly copied into the summary to generate a knowledge summary sequence and realize knowledge induction of the educational text.

[0057] In another embodiment of the present invention, the present invention also provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a terminal device for storing programs and data. The computer-readable storage medium includes a built-in storage medium in the terminal device, which provides a storage space and stores the operating system of the terminal, and may also include an extended storage medium supported by the terminal device. In addition, one or more instructions suitable for being loaded and executed by a processor are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here can be a high-speed RAM memory or a non-volatile memory (Non-volatile memory), such as at least one disk storage. The processor can load and execute one or more instructions stored in the computer-readable storage medium to implement the corresponding steps of the educational text knowledge induction method in the above embodiment.

[0058] Educational text compression process: First, the input educational text sequence X = [x 1 ,...,x s ], which is represented by word embedding as Then, BiGRU is used to capture the contextual information between different words to encode the educational text and obtain the corresponding hidden state sequence s is the length of the educational text sequence. Each hidden state is concatenated by two unidirectional GRU outputs, as shown below:

[0059]

[0060]

[0061]

[0062] External knowledge compression encoding process: First, the input external knowledge sequence Z = [z 1 ,...,z e ], which is represented by word embedding as Then BiGRU is used to capture the contextual information between different words to encode the external knowledge and obtain the corresponding hidden state sequence e is the length of the educational text sequence. Each hidden state is concatenated by two unidirectional GRU outputs, as shown below:

[0063]

[0064]

[0065]

[0066] Decoding process based on double copy mechanism:

[0067] Using the dual attention mechanism, the following attention mechanism is used for educational text to calculate the context vector of the current decoding state about the educational text:

[0068]

[0069]

[0070]

[0071] in are learnable parameters.

[0072] For the external knowledge base, the following attention mechanism is used to calculate the context vector of the current decoding state about the external knowledge

[0073]

[0074]

[0075]

[0076] For fusion and A gating network is proposed to select the importance weights g of the two t, the network includes a fully connected network and a Sigmoid activation function, and then the final context vector is obtained by weighted summation As shown below:

[0077]

[0078]

[0079] The state s in step t t It is obtained through a one-way GUR decoding. and the previous output word y t-1 The word vector Concatenate as new input as follows:

[0080]

[0081] At the decoding state at step t, word y t The probability distribution based on the vocabulary is:

[0082]

[0083] In order to capture more detailed descriptions and improve the accuracy of the summary, and to solve the problem of unknown words, a double copy mechanism is used to select relevant words from external knowledge and educational texts. The double copy mechanism considers the current decoding state s t Contextual vector for text about education and the context vector about external knowledge Find the probability p copy To decide whether to copy from educational text or external knowledge or generate the next word from the vocabulary, as shown below:

[0084]

[0085] Replication probability distribution P copy (y t |y <t ,X s ,X e ) is calculated as follows:

[0086]

[0087] Finally, the probability distribution of generating the next word is as follows:

[0088] P(y t )=(1-p copy ) vocab (y t )+p copy P copy (y t)

[0089] Finally, the corresponding key knowledge summary sequence Y = [y 1 ,...,y t ,...,y n ].

[0090] The present invention adopts deep learning technology and applies the text summarization method in the field of natural language processing to the field of education, so as to generate a knowledge abstract summary for educational texts. The summary can be used as a question object containing key knowledge to assist the test question generation process. It can also provide targeted and more accurate educational texts for primary and secondary school teachers or students, so as to achieve more efficient knowledge teaching and learning. In view of the frequent distribution of domain terms in educational texts, a method of integrating external knowledge is proposed. The description of domain terms in Wikipedia is crawled as part of the input as the external knowledge required to understand the term, which makes up for the prior knowledge and improves the understanding ability of the model. The dual attention mechanism is used to capture important information from educational texts and external knowledge at the same time, and the importance weights of the two are selected through the gate network; in the model decoder part, a dual copy mechanism is proposed to copy relevant content from educational texts and external resources into the summary, which improves the model's ability to capture details and solves the problem of unregistered or low-frequency words.

Claims

1. A method for summarizing educational text knowledge, characterized in that: The following steps are involved: S1, pick up domain terms from educational texts, align the picked up domain terms with entities in Wikipedia, and then use the TF-IDF method to extract the top m domain terms sorted by importance from the picked up domain terms to form a term list; The importance of the picked domain terms is evaluated using the TF-IDF method. Importance evaluation refers to calculating the importance score based on the number of times the domain terms appear in the educational text and the frequency of their appearance in the educational text set to which the educational text belongs. The picked domain terms are sorted according to the importance evaluation scores, and the top m domain terms with high importance evaluation scores are selected to form the final term list. S2, crawling the description of each term in the term list in Wikipedia as the domain knowledge required to understand the term in this field, forming an external knowledge base; S3, compresses the educational text and the external knowledge base into a fixed-length semantic vector, which represents the semantic information of the educational text and the external knowledge base; Through word embedding, the educational text sequence is represented as Using BiGRU encoder for educational text sequences Encode and obtain the corresponding hidden state sequence after encoding Where s is the length of the educational text sequence; Through word embedding, the external knowledge base sequence is represented as Use BiGRU encoder to train external knowledge base sequences Encode and obtain the corresponding hidden state sequence after encoding Where e is the length of the external knowledge base sequence; S4, using the dual attention mechanism to calculate the context vector of the current decoding state about the educational text and the context vector of the external knowledge base, perform weighted summation of the context vector of the educational text and the context vector of the external knowledge base to obtain the final context vector, calculate the probability distribution of the current word based on the vocabulary according to the current decoding state and the final context vector, or select words related to the current decoding state from the external knowledge base and the educational text and copy them directly into the summary, generate a knowledge summary sequence, and complete the knowledge induction of the educational text; Use the dual attention mechanism to calculate the decoding state s at the current time t t Contextual vector for text about education and the current decoding status s t Context vector about external knowledge base Use a gating network to fuse the context vector and context vector The final context vector is obtained by weighted summation Using the decoding state s at time t t and the fused context vector Calculate the word y at time t t Probability distribution based on vocabulary Calculate the decoding state s t Contextual vector about education text and the context vector about external knowledge Find the probability p copy To decide whether to copy from educational text or external knowledge or generate the next word from the vocabulary, as shown below: Replication probability distribution P copy (y t |y <t ,X s ,X e ) is calculated as follows: Finally, the probability distribution of generating the next word is as follows: P(y t )=(1-p copy )p vocab (y t )+p copy P copy (y t ) Get the corresponding knowledge summary sequence Y = [y1,...,y t ,...,y n ].

2. The method for summarizing educational text knowledge according to claim 1, characterized in that: The domain terms in educational texts are picked up through the open source entity linking tool Dexter, which is an open source framework for entity linking tasks, and the picked up domain terms are aligned with entities in Wikipedia.

3. An educational text knowledge summarization system based on the educational text knowledge summarization method according to claim 1, characterized in that: It includes external knowledge acquisition module, encoding module and decoding module; The external knowledge acquisition module is used to pick up domain terms from educational texts, align the picked up domain terms with entities in Wikipedia, and then use the TF-IDF method to extract the top m domain terms sorted by importance from the picked up domain terms to form a term list; crawl the description of each term in the term list in Wikipedia as the domain knowledge required to understand the domain terms, forming an external knowledge base; The encoding module is used to compress the educational text and the external knowledge base into a fixed-length semantic vector, which represents the semantic information of the educational text and the external knowledge base; The decoding module uses a dual attention mechanism to calculate the context vector of the educational text and the context vector of the external knowledge base for the current decoding state, and performs weighted summation of the context vector of the educational text and the context vector of the external knowledge base to obtain the final context vector. According to the current decoding state and the final context vector, the probability distribution of the current word based on the vocabulary is calculated, or words related to the current decoding state are selected from the external knowledge base and the educational text and directly copied into the summary to generate a knowledge summary sequence and realize knowledge induction of the educational text.

4. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 2 are implemented.

5. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 2 are implemented.

Citation Information

Patent Citations

  • Text abstract model and automatic text abstract method based on improved selection mechanism and LSTM variant

    CN110134782A

  • Keyword abstraction method for PowerPoint electronic demonstration draft

    CN101404036A

  • Automatic text summarization method based on enhanced semantics

    CN108804495A