US 11,687,711 B2
Method and apparatus for generating commentary
Hao Tian, Sunnyvale, CA (US); Xi Chen, Sunnyvale, CA (US); Jeff ChienYu Wang, Sunnyvale, CA (US); and Daming Lu, Sunnyvale, CA (US)
Assigned to BAIDU.COM TIMES TECHNOLOGY (BEIJING) CO., LTD., Beijing (CN)
Filed by Baidu.com Times Technology (Beijing) Co., Ltd., Beijing (CN); and Baidu USA LLC, Sunnyvale, CA (US)
Filed on Dec. 4, 2019, as Appl. No. 16/703,718.
Claims priority of application No. 201910277162.2 (CN), filed on Apr. 8, 2019.
Prior Publication US 2020/0320253 A1, Oct. 8, 2020
Int. Cl. G06F 40/216 (2020.01); G06F 40/30 (2020.01); G10L 13/00 (2006.01); G06V 20/40 (2022.01); G06V 10/762 (2022.01); G06V 10/764 (2022.01); G06V 10/82 (2022.01); G06F 18/2321 (2023.01)
CPC G06F 40/216 (2020.01) [G06F 40/30 (2020.01); G06V 10/763 (2022.01); G06V 10/764 (2022.01); G06V 10/82 (2022.01); G06V 20/43 (2022.01); G10L 13/00 (2013.01); G06F 18/2321 (2023.01)] 15 Claims
OG exemplary drawing
 
1. A computer-implemented method for generating a commentary, comprising:
acquiring at least one news cluster composed of pieces of news generated within a first preset time length, the pieces of news in the news cluster direct to a given news event;
determining a target news cluster based on the at least one news cluster;
for each piece of news in the target news cluster, determining for the piece of news a score of being suitable for generating a commentary; and
generating, based on a piece of target news, a commentary for the target news cluster, wherein the piece of target news is a piece of news having a highest score of being suitable for generating a commentary in the target news cluster;
wherein the method further comprises: generating a speech and/or a video corresponding to the commentary; and sending the speech and/or video corresponding to the commentary to a terminal device, so that the terminal device presents the received speech and/or video;
wherein the determining a target news cluster based on the at least one news cluster comprises:
determining each high-quality news cluster in the at least one news cluster as the target news cluster, wherein each high-quality news cluster comprises pieces of news direct to the given news event, the pieces of news comprising images and videos, the images being not image frames in the videos, wherein a number of the images comprised in the pieces of news of the high-quality news cluster is greater than a preset minimum number of images, and a number of the videos comprised in the news of the high-quality news cluster is greater than a preset minimum number of videos.