IP Library › Granted Patent US 11,687,715
Granted Patent B2
US 11,687,715 · App. 16/890,685 · Granted Jun 27, 2023

Summary generation method and apparatus

Inventors: Moye Chen (Beijing, CN); Wei Xu (Beijing, CN); Jiachen Liu (Beijing, CN); Xinyan Xiao (Beijing, CN); Qiaoqiao She (Beijing, CN)
Assignee: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
G06F40/289G06F40/258
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,687,715
App. No.
16/890,685
Granted
Jun 27, 2023
Kind
B2
Abstract

Embodiments of the application disclose a summary generation method and apparatus. A specific embodiment of the method comprises: acquiring a target article including a headline and a body of the article; determining whether a question is included in the headline; determining, in the body of the article, an information-satisfied-paragraph including an answer to the question, in response to determining that the question is included in the headline; and generating a summary of the target article based on the determined information-satisfied-paragraph. The above embodiment may generate a summary that directly satisfies the users' demand for information.

Claims (50)

1. A summary generation method comprising:

receiving a webpage processing request from a user terminal;

acquiring a target article including a headline and a body of the article according to the received webpage processing request;

determining whether a question is included in the headline;

determining, in the body of the article, an information-satisfied-paragraph including an answer to the question, in response to determining that the question is included in the headline; and

generating a summary of the target article based on the determined information-satisfied-paragraph, and sending the generated summary to the user terminal;

wherein determining that the question is included in the headline comprises:

determining that the question is included in the headline, in response to determining that the headline includes a referential relationship but does not include an object to which the referential relationship refers, and

wherein generating a summary of the target article based on the determined information-satisfied-paragraph comprises:

deleting invalid statements included: the information-satisfied-paragraph, one paragraph preceding the information-satisfied-paragraph, and one paragraph following the information-satisfied-paragraph, the invalid statements comprising statements for describing pictures, statements consistent with the headline, and a header; and

generating the summary based on each paragraph with the invalid statements deleted.

2. The method according to claim 1 , wherein determining that the question is included in the headline comprises further comprises:

determining that the question is included in the headline, where the headline is an interrogative sentence; and

determining that the question is included in the headline, where the headline includes at least one word in a preset set of words.

3. The method according to claim 1 , wherein determining an information-satisfied-paragraph in the body of the article comprises:

determining similarities between the headline and each paragraph in the body of the article; and

determining a paragraph corresponding to a maximum similarity of determined similarities as the information-satisfied-paragraph.

4. The method according to claim 1 , wherein generating a summary of the target article based on the determined information-satisfied-paragraph comprises:

generating, from the information-satisfied-paragraph and at least one paragraph following the information-satisfied-paragraph, the summary.

5. The method according to claim 1 , wherein generating a summary of the target article based on the determined information-satisfied-paragraph comprises:

generating, from the information-satisfied-paragraph and at least one paragraph preceding the information-satisfied-paragraph, the summary in response to determining that a start word of information-satisfied-paragraph is a conjunction.

6. The method according to claim 1 , wherein generating a summary of the target article based on the determined information-satisfied-paragraph comprises:

intercepting a plurality of sentences in the information-satisfied-paragraph in response to determining that a number of words in the information-satisfied-paragraph is greater than a preset word number threshold; and

determining the intercepted sentences as the summary.

7. A summary generation apparatus comprising:

one or more processors; and

storage devices on which one or more programs are stored, when the one or more programs are executed by the one or more processors, the one or more processors are caused to,

receive a webpage processing request from a user terminal;

acquire a target article including a headline and a body of the article according to the received webpage processing request;

determine whether a question is included in the headline;

determine, in the body of the article, an information-satisfied-paragraph including an answer to the question, in response to determining that the question is included in the headline; and

generate a summary of the target article based on the determined information-satisfied-paragraph, and send the generated summary to the user terminal;

wherein determining that the question is included in the headline comprises:

determining that the question is included in the headline, in response to determining that the headline includes a referential relationship but does not include an object to which the referential relationship refers, and

wherein generating a summary of the target article based on the determined information-satisfied-paragraph comprises:

deleting invalid statements included: the information-satisfied-paragraph, one paragraph preceding the information-satisfied-paragraph, and one paragraph following the information-satisfied-paragraph, the invalid statements comprising statements for describing pictures, statements consistent with the headline, and a header; and

generating the summary based on each paragraph with the invalid statements deleted.

8. The apparatus according to claim 7 , wherein when the one or more programs are executed by the one or more processors, the one or more processors are further caused to perform:

determining that the question is included in the headline, where the headline is an interrogative sentence; and

determining that the question is included in the headline, where the headline includes at least one word in a preset set of words.

9. The apparatus according to claim 7 , wherein t when the one or more programs are executed by the one or more processors, the one or more processors are further caused to:

determine similarities between the headline and each paragraph in the body of the article; and

determine a paragraph corresponding to a maximum similarity of determined similarities as the information-satisfied-paragraph.

10. The apparatus according to claim 7 , wherein when the one or more programs are executed by the one or more processors, the one or more processors are further caused to:

generate, from the information-satisfied-paragraph and at least one paragraph following the information-satisfied-paragraph, the summary.

11. The apparatus according to claim 7 , wherein when the one or more programs are executed by the one or more processors, the one or more processors are further caused to:

generate, from the information-satisfied-paragraph and at least one paragraph preceding the information-satisfied-paragraph, the summary in response to determining that a start word of information-satisfied-paragraph is a conjunction.

12. The apparatus according to claim 7 , wherein when the one or more programs are executed by the one or more processors, the one or more processors are further caused to:

intercept a plurality of sentences in the information-satisfied-paragraph in response to determining that a number of words in the information-satisfied-paragraph is greater than a preset word number threshold; and

determine the intercepted sentences as the summary.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 5, 2020
From: CHEN, MOYE; XU, WEI; LIU, JIACHEN; XIAO, XINYAN; SHE, QIAOQIAO
To: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
Reel/Frame 052854/0221 →
Priority Claims (1)
CN 201911272761.1 · Dec 12, 2019 · national
Continuity (1)
Related Publication 20210182491A1 · Jun 17, 2021