CN110162796B - Method and device for creating news topics - Google Patents
Method and device for creating news topics Download PDFInfo
- Publication number
- CN110162796B CN110162796B CN201910471260.XA CN201910471260A CN110162796B CN 110162796 B CN110162796 B CN 110162796B CN 201910471260 A CN201910471260 A CN 201910471260A CN 110162796 B CN110162796 B CN 110162796B
- Authority
- CN
- China
- Prior art keywords
- news
- information
- event
- topic
- pieces
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/35—Clustering; Classification
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/258—Heading extraction; Automatic titling; Numbering
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本申请实施例的目的是提供一种新闻专题创建方法和装置,其中方法包括:获取资讯提供方提供的多篇新闻资讯,通过预先训练的资讯聚类模型对该多篇新闻资讯进行聚类,得到多个资讯集合,每个资讯集合包括的多篇新闻资讯对应同一个新闻事件,通过新闻专题创建系统,根据各个新闻事件对应的多篇新闻资讯,为各个新闻事件创建对应的新闻专题,新闻专题用于报道对应的新闻事件。通过本申请实施例,能够提高创建新闻专题的效率。
The purpose of the embodiment of the present application is to provide a method and device for creating a news topic, wherein the method includes: obtaining multiple pieces of news information provided by an information provider, clustering the multiple pieces of news information through a pre-trained information clustering model, Get multiple information collections, each information collection contains multiple news information corresponding to the same news event, through the news topic creation system, according to the multiple news information corresponding to each news event, create corresponding news topics for each news event, news Topics are used to report corresponding news events. Through the embodiments of the present application, the efficiency of creating news topics can be improved.
Description
技术领域technical field
本申请涉及计算机领域,尤其涉及一种新闻专题创建方法和装置。The present application relates to the field of computers, in particular to a method and device for creating news topic.
背景技术Background technique
目前向用户推送新闻专题的主要过程是,从各个新闻提供方获取到多篇新 闻资讯后,工作人员浏览这些新闻资讯的内容,根据这些新闻资讯的内容手动 筛选符合预设内容要求的新闻资讯组合成新闻专题,并将新闻专题推送给用户。 其中,每个新闻专题用于报道一个新闻事件,每个新闻专题都包括专题名称和 多篇新闻资讯。At present, the main process of pushing news topics to users is that after obtaining multiple news information from various news providers, the staff browses the content of these news information, and manually screens the news information combinations that meet the preset content requirements according to the content of these news information Create news topics and push news topics to users. Wherein, each news topic is used to report a news event, and each news topic includes a topic name and a plurality of news information.
由此可见,目前人工将新闻资讯组合成新闻专题的方式具有创建新闻专题 效率较低的问题。It can be seen that the current method of manually combining news information into news topics has the problem of low efficiency in creating news topics.
发明内容Contents of the invention
本申请实施例的目的是提供一种新闻专题创建方法和装置,以提高新闻专 题的创建效率。The purpose of the embodiments of the present application is to provide a method and device for creating news topics, so as to improve the efficiency of creating news topics.
为解决上述技术问题,本申请实施例是这样实现的:In order to solve the above technical problems, the embodiment of the present application is implemented as follows:
本申请实施例提供了一种新闻专题创建方法,包括:The embodiment of this application provides a method for creating a news topic, including:
获取资讯提供方提供的多篇新闻资讯,所述新闻资讯中记录有新闻事件对 应的新闻内容;Obtain multiple news information provided by the information provider, and the news information corresponding to the news event is recorded in the news information;
通过预先训练的资讯聚类模型对所述多篇新闻资讯进行聚类,得到多个资 讯集合;其中,每个所述资讯集合包括的多篇新闻资讯的新闻内容对应同一个 新闻事件,不同所述资讯集合对应的所述新闻事件各不相同;The multiple pieces of news information are clustered through a pre-trained information clustering model to obtain multiple information sets; wherein, the news content of the multiple pieces of news information included in each information set corresponds to the same news event, and different The news events corresponding to the above information sets are different;
通过新闻专题创建系统,根据各个所述新闻事件对应的多篇新闻资讯,为 各个所述新闻事件创建对应的新闻专题;其中,所述新闻专题用于报道对应的 所述新闻事件;所述新闻专题包括专题名称和专题资讯,所述专题资讯根据所 述新闻专题所报道的新闻事件对应的多篇新闻资讯确定得到。Through the news topic creation system, according to the multiple news information corresponding to each of the news events, a corresponding news topic is created for each of the news events; wherein, the news topic is used to report the corresponding news event; the news A topic includes a topic name and topic information, and the topic information is determined based on a plurality of pieces of news information corresponding to news events reported in the news topic.
本申请实施例提供了一种新闻专题创建方法,包括:The embodiment of this application provides a method for creating a news topic, including:
获取资讯提供方提供的多篇新闻资讯,所述新闻资讯中记录有新闻事件对 应的新闻内容;Obtain multiple news information provided by the information provider, and the news information corresponding to the news event is recorded in the news information;
通过预先训练的资讯聚类模型对所述多篇新闻资讯进行聚类,得到多个资 讯集合;其中,每个所述资讯集合包括的多篇新闻资讯的新闻内容对应同一个 新闻事件,不同所述资讯集合对应的所述新闻事件各不相同;The multiple pieces of news information are clustered through a pre-trained information clustering model to obtain multiple information sets; wherein, the news content of the multiple pieces of news information included in each information set corresponds to the same news event, and different The news events corresponding to the above information sets are different;
根据各个所述新闻事件对应的多篇新闻资讯,确定各个所述新闻事件的事 件热度,根据各个所述新闻事件的事件热度,在各个所述新闻事件中选取目标 事件;According to a plurality of pieces of news information corresponding to each of the news events, determine the event heat of each of the news events, and select the target event in each of the news events according to the event heat of each of the news events;
通过新闻专题创建系统,根据所述目标事件对应的多篇新闻资讯,为所述 目标事件创建新闻专题;其中,所述新闻专题用于报道所述目标事件;所述新 闻专题包括专题名称和专题资讯,所述专题资讯根据所述目标事件对应的多篇 新闻资讯确定得到。Create a news topic for the target event through the news topic creation system according to multiple news information corresponding to the target event; wherein, the news topic is used to report the target event; the news topic includes topic name and topic Information, the topical information is determined according to multiple pieces of news information corresponding to the target event.
本申请实施例提供了一种新闻专题创建装置,包括:An embodiment of the present application provides a device for creating news topics, including:
第一获取模块,用于获取资讯提供方提供的多篇新闻资讯,所述新闻资讯 中记录有新闻事件对应的新闻内容;The first obtaining module is used to obtain a plurality of news information provided by the information provider, and the news content corresponding to the news event is recorded in the news information;
第一聚类模块,用于通过预先训练的资讯聚类模型对所述多篇新闻资讯进 行聚类,得到多个资讯集合;其中,每个所述资讯集合包括的多篇新闻资讯的 新闻内容对应同一个新闻事件,不同所述资讯集合对应的所述新闻事件各不相 同;The first clustering module is used to cluster the multiple pieces of news information through a pre-trained information clustering model to obtain multiple information sets; wherein, each of the information sets includes the news content of multiple pieces of news information Corresponding to the same news event, the news events corresponding to different information sets are different;
第一创建模块,用于通过新闻专题创建系统,根据各个所述新闻事件对应 的多篇新闻资讯,为各个所述新闻事件创建对应的新闻专题;其中,所述新闻 专题用于报道对应的所述新闻事件;所述新闻专题包括专题名称和专题资讯, 所述专题资讯根据所述新闻专题所报道的新闻事件对应的多篇新闻资讯确定 得到。The first creation module is used to create corresponding news topics for each of the news events according to the multiple pieces of news information corresponding to each of the news events through the news topic creation system; wherein, the news topics are used to report the corresponding news topics The news event is mentioned; the news topic includes a topic name and topic information, and the topic information is determined according to a plurality of pieces of news information corresponding to the news event reported in the news topic.
本申请实施例提供了一种新闻专题创建装置,包括:An embodiment of the present application provides a device for creating news topics, including:
第二获取模块,用于获取资讯提供方提供的多篇新闻资讯,所述新闻资讯 中记录有新闻事件对应的新闻内容;The second obtaining module is used to obtain a plurality of news information provided by the information provider, and the news content corresponding to the news event is recorded in the news information;
第二聚类模块,用于通过预先训练的资讯聚类模型对所述多篇新闻资讯进 行聚类,得到多个资讯集合;其中,每个所述资讯集合包括的多篇新闻资讯的 新闻内容对应同一个新闻事件,不同所述资讯集合对应的所述新闻事件各不相 同;The second clustering module is used to cluster the multiple pieces of news information through a pre-trained information clustering model to obtain multiple information sets; wherein, each of the information sets includes news content of multiple pieces of news information Corresponding to the same news event, the news events corresponding to different information sets are different;
选取模块,用于根据各个所述新闻事件对应的多篇新闻资讯,确定各个所 述新闻事件的事件热度,根据各个所述新闻事件的事件热度,在各个所述新闻 事件中选取目标事件;The selection module is used to determine the event heat of each of the news events according to a plurality of news information corresponding to each of the news events, and select the target event in each of the news events according to the event heat of each of the news events;
第二创建模块,用于通过新闻专题创建系统,根据所述目标事件对应的多 篇新闻资讯,为所述目标事件创建新闻专题;其中,所述新闻专题用于报道所 述目标事件;所述新闻专题包括专题名称和专题资讯,所述专题资讯根据所述 目标事件对应的多篇新闻资讯确定得到。The second creation module is used to create a news topic for the target event according to multiple pieces of news information corresponding to the target event through the news topic creation system; wherein, the news topic is used to report the target event; the A news topic includes a topic name and topic information, and the topic information is determined based on a plurality of pieces of news information corresponding to the target event.
本申请实施例提供了一种新闻专题创建设备,包括:处理器;以及被安排 成存储计算机可执行指令的存储器,所述计算机可执行指令在被执行时使所述 处理器实现上述的新闻专题创建方法的步骤。An embodiment of the present application provides a device for creating a news topic, including: a processor; and a memory arranged to store computer-executable instructions, and when the computer-executable instructions are executed, the processor implements the above-mentioned news topic Steps to create a method.
本申请实施例提供了一种存储介质,用于存储计算机可执行指令,所述计 算机可执行指令在被执行时实现上述的新闻专题创建方法的步骤。The embodiment of the present application provides a storage medium for storing computer-executable instructions, and when the computer-executable instructions are executed, the steps of the above-mentioned method for creating a news topic are realized.
本申请实施例中,首先获取资讯提供方提供的多篇新闻资讯,然后通过预 先训练的资讯聚类模型对该多篇新闻资讯进行聚类,得到多个资讯集合,每个 资讯集合包括的多篇新闻资讯的新闻内容对应同一个新闻事件,最后通过新闻 专题创建系统,根据各个新闻事件对应的多篇新闻资讯,为各个新闻事件创建 对应的新闻专题。可见,通过本申请实施例,能够通过资讯聚类模型和新闻专 题创建系统自动创建新闻专题,从而解决人工手动创建新闻专题效率低的问题, 提高新闻专题的创建效率。In the embodiment of the present application, first obtain multiple pieces of news information provided by the information provider, and then cluster the multiple pieces of news information through a pre-trained information clustering model to obtain multiple information sets, each information set includes multiple The news content of each piece of news information corresponds to the same news event, and finally, through the news topic creation system, a corresponding news topic is created for each news event according to the multiple news pieces corresponding to each news event. It can be seen that through the embodiment of the present application, news topics can be automatically created through the information clustering model and the news topic creation system, thereby solving the problem of low efficiency of manually creating news topics and improving the efficiency of creating news topics.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述 中的附图仅仅是本申请中记载的一些实施例,对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments described in this application. For those skilled in the art, other drawings can also be obtained according to these drawings on the premise of not paying creative efforts.
图1为本申请一实施例提供的新闻专题创建方法的场景示意图;FIG. 1 is a schematic diagram of a scene of a method for creating news topics provided by an embodiment of the present application;
图2为本申请一实施例提供的新闻专题创建方法的流程示意图;FIG. 2 is a schematic flowchart of a method for creating a news topic provided by an embodiment of the present application;
图3a为本申请一实施例提供的新闻专题创建系统的界面示意图;Fig. 3a is a schematic interface diagram of a news topic creation system provided by an embodiment of the present application;
图3b为本申请另一实施例提供的新闻专题创建系统的界面示意图;Fig. 3b is a schematic interface diagram of a news topic creation system provided by another embodiment of the present application;
图3c为本申请另一实施例提供的新闻专题创建系统的界面示意图;Fig. 3c is a schematic interface diagram of a news feature creation system provided by another embodiment of the present application;
图4为本申请一实施例提供的用户终端的界面示意图;FIG. 4 is a schematic diagram of an interface of a user terminal provided by an embodiment of the present application;
图5为本申请另一实施例提供的新闻专题创建方法的流程示意图;FIG. 5 is a schematic flowchart of a method for creating news topics provided by another embodiment of the present application;
图6为本申请一实施例提供的新闻专题创建装置的模块组成示意图;FIG. 6 is a schematic diagram of the module composition of a news topic creation device provided by an embodiment of the present application;
图7为本申请另一实施例提供的新闻专题创建装置的模块组成示意图;FIG. 7 is a schematic diagram of module composition of a news feature creation device provided by another embodiment of the present application;
图8为本申请一实施例提供的新闻专题创建设备的结构示意图。Fig. 8 is a schematic structural diagram of a device for creating a news topic according to an embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请中的技术方案,下面将结合本 申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述, 显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基 于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获 得的所有其他实施例,都应当属于本申请保护的范围。In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described The embodiments are only some of the embodiments of the present application, but not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of this application.
本申请实施例的目的是提供一种新闻专题创建方法和装置,以提高新闻专 题的创建效率。本申请实施例中的新闻专题创建方法可以由新闻专题创建设备 (如后台服务器)执行。The purpose of the embodiments of the present application is to provide a method and device for creating news topics, so as to improve the efficiency of creating news topics. The method for creating a news topic in the embodiment of the present application may be executed by a news topic creation device (such as a background server).
图1为本申请一实施例提供的新闻专题创建方法的场景示意图,如图1所 示,该场景包括用户终端和新闻专题创建设备,其中用户终端包括但不限于如 图1中所示的平板电脑101、手机102、台式电脑103、笔记本电脑104,新闻 专题创建设备包括但不限于如图1中所示的服务器200。该场景中,新闻专题 创建设备可以执行本申请实施例中提供的新闻专题创建方法生成新闻专题,并 将新闻专题推送至用户终端,用户终端可以显示该新闻专题。Figure 1 is a schematic diagram of a scene of a method for creating a news feature provided by an embodiment of the present application. As shown in Figure 1, the scene includes a user terminal and a news feature creation device, wherein the user terminal includes but is not limited to a tablet as shown in Figure 1 Computer 101 , mobile phone 102 , desktop computer 103 , notebook computer 104 , and news feature creation equipment include but not limited to server 200 as shown in FIG. 1 . In this scenario, the news topic creation device can execute the news topic creation method provided in the embodiment of the application to generate a news topic, and push the news topic to the user terminal, and the user terminal can display the news topic.
图2为本申请一实施例提供的新闻专题创建方法的流程示意图,如图2所 示,该流程包括以下步骤:Fig. 2 is the schematic flow chart of the news topic creation method that an embodiment of the present application provides, as shown in Fig. 2, this flow process comprises the following steps:
步骤S202,获取资讯提供方提供的多篇新闻资讯,新闻资讯中记录有新闻 事件对应的新闻内容;Step S202, obtaining a plurality of news information provided by the information provider, and the news content corresponding to the news event is recorded in the news information;
步骤S204,通过预先训练的资讯聚类模型对该多篇新闻资讯进行聚类,得 到多个资讯集合;其中,每个资讯集合包括的多篇新闻资讯的新闻内容对应同 一个新闻事件,不同资讯集合对应的新闻事件各不相同;Step S204, clustering the multiple pieces of news information through the pre-trained information clustering model to obtain multiple information collections; wherein, the news content of the multiple news information included in each information collection corresponds to the same news event, different information The news events corresponding to the sets are different;
步骤S206,通过新闻专题创建系统,根据各个新闻事件对应的多篇新闻资 讯,为各个新闻事件创建对应的新闻专题;其中,新闻专题用于报道对应的新 闻事件;新闻专题包括专题名称和专题资讯,专题资讯根据该新闻专题所报道 的新闻事件对应的多篇新闻资讯确定得到。Step S206, through the news feature creation system, according to the news information corresponding to each news event, create a corresponding news feature for each news event; wherein, the news feature is used to report the corresponding news event; the news feature includes the feature name and feature information , the special topic information is determined according to multiple pieces of news information corresponding to the news events reported by the news special topic.
本申请实施例中,首先获取资讯提供方提供的多篇新闻资讯,然后通过预 先训练的资讯聚类模型对该多篇新闻资讯进行聚类,得到多个资讯集合,每个 资讯集合包括的多篇新闻资讯的新闻内容对应同一个新闻事件,最后通过新闻 专题创建系统,根据各个新闻事件对应的多篇新闻资讯,为各个新闻事件创建 对应的新闻专题。可见,通过本申请实施例,能够通过资讯聚类模型和新闻专 题创建系统自动创建新闻专题,从而解决人工手动创建新闻专题效率低的问题, 提高新闻专题的创建效率。In the embodiment of the present application, first obtain multiple pieces of news information provided by the information provider, and then cluster the multiple pieces of news information through a pre-trained information clustering model to obtain multiple information sets, each information set includes multiple The news content of each piece of news information corresponds to the same news event, and finally, through the news topic creation system, a corresponding news topic is created for each news event according to the multiple news pieces corresponding to each news event. It can be seen that through the embodiment of the present application, news topics can be automatically created through the information clustering model and the news topic creation system, thereby solving the problem of low efficiency of manually creating news topics and improving the efficiency of creating news topics.
上述步骤S202中,获取资讯提供方提供的多篇新闻资讯,新闻资讯中记 录有新闻事件对应的新闻内容。具体地。资讯提供方可以是第一财经、中央新 闻等各个新闻提供方,新闻专题创建设备获取各个资讯提供方提供的新闻资讯。 新闻资讯中记录有新闻事件对应的新闻内容,比如,新闻事件为十一阅兵事件, 新闻资讯A中可以记录有该十一阅兵事件中的关于被检阅士兵的新闻内容,新 闻资讯B中可以记录有该十一阅兵事件中的关于被检阅武器设备的新闻内容。In the above step S202, a plurality of news information provided by the information provider is obtained, and the news content corresponding to the news event is recorded in the news information. specifically. The information provider can be various news providers such as China Business News and Central News, and the news topic creation equipment obtains the news information provided by each information provider. The news content corresponding to the news event is recorded in the news information. For example, the news event is the 11th military parade event. News information A can record the news content about the inspected soldiers in the 11th military parade event. News information B can record There are news content about the inspected weapons and equipment in the eleventh military parade.
上述步骤S204中,通过预先训练的资讯聚类模型对获取的多篇新闻资讯 进行聚类,得到多个资讯集合。其中,每个资讯集合包括的多篇新闻资讯的新 闻内容对应同一个新闻事件,不同资讯集合对应的新闻事件各不相同。In the above-mentioned step S204, the multiple pieces of news information acquired are clustered through the pre-trained information clustering model to obtain multiple information collections. Wherein, the news content of multiple news information included in each information collection corresponds to the same news event, and the news events corresponding to different information collections are different.
比如,通过步骤S202获取到十篇新闻资讯,其中三篇新闻资讯分别记录 有十一阅兵的相关新闻内容,另外三篇新闻资讯分别记录有一带一路峰会的相 关新闻内容,另外四篇新闻资讯分别记录有端午节庆祝活动的相关新闻内容。 则步骤S204中,通过预先训练的资讯聚类模型对这十篇新闻资讯进行聚类, 可以得到三个资讯集合,其中,第一个资讯集合包括的三篇新闻资讯均记录有 十一阅兵的相关新闻内容,第二个资讯集合包括的三篇新闻资讯均记录有一带 一路峰会的相关新闻内容,第三个资讯集合包括的四篇新闻资讯均记录有端午 节庆祝活动的相关新闻内容。For example, through step S202, ten pieces of news information are obtained, among which three pieces of news information respectively record the relevant news content of the 11th military parade, the other three pieces of news information respectively record the relevant news content of the Belt and Road Summit, and the other four pieces of news information respectively Records related news content of the Dragon Boat Festival celebrations. Then in step S204, these ten pieces of news information are clustered through the pre-trained information clustering model, and three pieces of news information can be obtained. Among them, the three pieces of news information included in the first information set all record information about the 11th military parade. For related news content, the three news information included in the second information collection all record the relevant news content of the Belt and Road Summit, and the four news information included in the third information collection all record the relevant news content of the Dragon Boat Festival celebration.
上述步骤S204的具体过程可以是:The specific process of the above step S204 may be:
(a1)通过预先训练的资讯聚类模型,提取各篇新闻资讯的资讯标题,并 计算各篇新闻资讯的资讯标题之间的语义相似度;(a1) extract the information titles of each news information by the pre-trained information clustering model, and calculate the semantic similarity between the information titles of each news information;
(a2)通过预先训练的资讯聚类模型,根据各篇新闻资讯的资讯标题之间 的语义相似度,对各篇新闻资讯进行聚类,得到多个资讯集合。(a2) Through the pre-trained information clustering model, according to the semantic similarity between the information titles of each news information, each news information is clustered to obtain multiple information sets.
具体地,预先训练的资讯聚类模型可以通过Affinity Propagation等聚类算 法实现。本实施例中,资讯聚类模型提取各篇新闻资讯的资讯标题,并对每个 资讯标题进行分词处理,并确定每个分词得到的词的词向量,针对一个资讯标 题,根据该资讯标题中每个词的词向量,确定该资讯标题的向量,根据各个资 讯标题的向量,计算各个资讯标题之间的距离,根据各个资讯标题之间的距离, 确定各个资讯标题之间的语义相似度。当然,资讯聚类模型还可以通过其他已 有的算法确定各篇新闻资讯的资讯标题之间的语义相似度,这里不做限定。Specifically, the pre-trained information clustering model can be realized through clustering algorithms such as Affinity Propagation. In this embodiment, the information clustering model extracts the information titles of each piece of news information, and performs word segmentation processing on each information title, and determines the word vector of the word obtained by each word segmentation. For an information title, according to the information in the information title The word vector of each word determines the vector of the information title, calculates the distance between each information title according to the vector of each information title, and determines the semantic similarity between each information title according to the distance between each information title. Of course, the information clustering model can also use other existing algorithms to determine the semantic similarity between the information titles of each news information, which is not limited here.
在确定各篇新闻资讯的资讯标题之间的语义相似度之后,资讯聚类模型可 以将语义相似度较大的各个资讯标题聚为一类,聚类中心可以根据该类别中资 讯标题的增加灵活调整。在将各个资讯标题聚为多类后,资讯聚类模型按照该 聚类方式将每个资讯标题对应的新闻资讯进行聚类,从而将各篇新闻资讯进行 聚类,得到多个资讯集合。本实施例中,资讯聚类模型还可以通过其他已有的 算法实现,这里不做限定。After determining the semantic similarity between the information titles of each piece of news information, the information clustering model can group the information titles with high semantic similarity into one category, and the clustering center can be flexible according to the increase of information titles in this category. Adjustment. After clustering each information title into multiple categories, the information clustering model clusters the news information corresponding to each information title according to the clustering method, so as to cluster each news information and obtain multiple information sets. In this embodiment, the information clustering model can also be realized by other existing algorithms, which is not limited here.
资讯聚类模型一种训练方式为:预先人工设置大量样本资讯,并标注每篇 样本资讯的资讯标题,并通过人工的方式将各个资讯标题聚为多类,将各个样 本资讯聚为多类,将样本资讯、每篇样本资讯的资讯标题,各个资讯标题的聚 类方式,各个样本资讯的聚类方式输入至神经网络模型进行训练,通过这些样 本数据训练好的神经网络模型即为资讯聚类模型。One training method of the information clustering model is: manually set a large number of sample information in advance, and mark the information title of each sample information, and manually cluster each information title into multiple categories, and cluster each sample information into multiple categories, Input the sample information, the information title of each sample information, the clustering method of each information title, and the clustering method of each sample information into the neural network model for training. The neural network model trained by these sample data is the information clustering Model.
可见,通过本实施例,能够通过预先训练的资讯聚类模型对获取的多篇新 闻资讯进行聚类,得到多个资讯集合,能够理解,每个资讯集合即对应一个新 闻事件,从而达到事件挖掘的效果。It can be seen that through this embodiment, the pre-trained information clustering model can be used to cluster multiple pieces of news information obtained to obtain multiple information sets. It can be understood that each information set corresponds to a news event, so as to achieve event mining. Effect.
本实施例中,在通过预先训练的资讯聚类模型对获取的多篇新闻资讯进行 聚类,得到多个资讯集合之后,还可以为每个资讯集合对应的新闻事件生成事 件名称。该过程具体为:针对每个资讯集合,对该资讯集合中的各篇新闻资讯 的资讯标题进行分词处理,根据分词得到的多个词,确定该资讯集合对应的新 闻事件的事件名称。In this embodiment, after clustering the multiple pieces of news information obtained through the pre-trained information clustering model to obtain multiple information sets, an event name can also be generated for the news event corresponding to each information set. The process is specifically as follows: for each information collection, word segmentation is performed on the information titles of the news articles in the information collection, and the event name of the news event corresponding to the information collection is determined according to the multiple words obtained by the word segmentation.
比如,共聚类得到两个资讯集合,则针对其中一个资讯集合,对该资讯集 合中的各篇新闻资讯的资讯标题进行分词处理,根据分词得到的多个词,确定 该资讯集合对应的新闻事件的事件名称,然后,针对其中另一个资讯集合,对 该资讯集合中的各篇新闻资讯的资讯标题进行分词处理,根据分词得到的多个 词,确定该资讯集合对应的新闻事件的事件名称。For example, if two information sets are obtained by co-clustering, then for one of the information sets, word segmentation processing is performed on the information titles of the news information in the information set, and the news corresponding to the information set is determined according to the multiple words obtained by word segmentation. The event name of the event, and then, for another information collection, perform word segmentation processing on the information titles of each news information in the information collection, and determine the event name of the news event corresponding to the information collection according to the multiple words obtained by word segmentation .
根据分词得到的多个词,确定该资讯集合对应的新闻事件的事件名称,可 以为:在分词得到的多个词去除语义重复的词,并确定剩余的各个词的词性, 词性包括名词、动词、代词、介词等,根据剩余的各个词的词性和预设的词性 连接规则,将各个词连接起来,得到至少一个短语,根据每个短语与第一预设 短语库中的各个短语的相似度,在该至少一个短语中选取该资讯集合对应的新 闻事件的事件名称。According to the multiple words obtained by word segmentation, determine the event name of the news event corresponding to the information set, which can be: remove the semantically repeated words from the multiple words obtained by word segmentation, and determine the part of speech of the remaining words, including nouns and verbs , pronouns, prepositions, etc., connect each word according to the part-of-speech of the remaining words and the preset part-of-speech connection rules to obtain at least one phrase, according to the similarity between each phrase and each phrase in the first preset phrase library , selecting the event name of the news event corresponding to the information set from the at least one phrase.
其中,第一预设短语库中的各个短语为预先人工收集的历史新闻事件的事 件名称。这里之所以计算每个短语与第一预设短语库中的各个短语的相似度, 是考虑到当前新闻事件与历史新闻事件类似的情况,根据相似度筛选出语言逻 辑更为通顺合理的短语作为事件名称。Wherein, each phrase in the first preset phrase storehouse is the event title of the historical news event of artificial collection in advance. The reason for calculating the similarity between each phrase and the phrases in the first preset phrase library here is to consider the similarity between the current news event and the historical news event, and filter out a phrase with a more fluent and reasonable language logic according to the similarity as Event name.
比如,对于某个资讯集合,对该资讯集合中的各篇新闻资讯的资讯标题进 行分词处理后,得到各个词为:十一、国庆、阅兵、武器、介绍。首先去除语 义重复的词,比如删除“十一”,然后,确定剩余的各个词的词性,根据剩余 的各个词的词性和预设的词性连接规则,将各个词连接起来得到“国庆阅兵武 器介绍”和“武器阅兵国庆介绍”两个短语,最后,分别计算每个短语与第一 预设短语库中的各个短语的相似度,得到相似度最大值98%,该98%对应的短 语为“国庆阅兵武器介绍”,则将该短语作为该资讯集合对应的新闻事件的事 件名称。For example, for a certain information collection, after word segmentation processing is carried out on the information titles of each news information in the information collection, each word is obtained as: Eleventh, National Day, military parade, weapon, introduction. First remove the words with repeated semantics, such as deleting "11", and then determine the part of speech of the remaining words, and connect the words according to the part of speech of the remaining words and the preset part of speech connection rules to get "Introduction to National Day Military Parade Weapons" " and "Introduction to the National Day of Arms Parade", and finally, calculate the similarity between each phrase and each phrase in the first preset phrase library, and obtain a maximum similarity of 98%, and the corresponding phrase of 98% is " National Day military parade weapon introduction", then this phrase is used as the event name of the news event corresponding to the information collection.
本实施例中,生成每个资讯集合对应的新闻事件的事件名称的过程也可以 通过资讯聚类模型实现。可见,通过本实施例,不仅可以聚类得到多个资讯集 合,还可以生成每个资讯集合对应的新闻事件的事件名称,从而达到自动高效 地从新闻资讯中挖掘得到新闻事件的效果。In this embodiment, the process of generating the event name of the news event corresponding to each information collection can also be realized through the information clustering model. It can be seen that through this embodiment, not only can multiple information sets be obtained by clustering, but also the event name of the news event corresponding to each information set can be generated, so as to achieve the effect of automatically and efficiently mining news events from news information.
上述步骤S206中,通过新闻专题创建系统,根据各个新闻事件对应的多 篇新闻资讯,为各个新闻事件创建对应的新闻专题。其中,专题资讯从该新闻 专题所报道的新闻事件对应的多篇新闻资讯中选取得到。本实施例中提供有新 闻专题创建系统,新闻专题创建系统运行于新闻专题创建设备内,用于执行步 骤S206,根据各个新闻事件对应的多篇新闻资讯,为各个新闻事件创建对应的 新闻专题。In the above-mentioned step S206, through the news topic creation system, according to a plurality of pieces of news information corresponding to each news event, a corresponding news topic is created for each news event. Wherein, the special topic information is selected from a plurality of news information corresponding to the news event reported by the news topic. In this embodiment, a news topic creation system is provided. The news topic creation system runs in the news topic creation device and is used to execute step S206 to create corresponding news topics for each news event according to multiple news information corresponding to each news event.
步骤S206中,根据各个新闻事件对应的多篇新闻资讯,为各个新闻事件 创建对应的新闻专题,具体为:In step S206, according to a plurality of pieces of news information corresponding to each news event, a corresponding news topic is created for each news event, specifically:
(b1)针对每个新闻事件,在该新闻事件对应的多篇新闻资讯中选取未记 录预设敏感字和预设敏感词的、并且资讯热度大于预设热度的资讯,将选取的 资讯作为用于报道该新闻事件的新闻专题的专题资讯;(b1) For each news event, select information that does not record preset sensitive words and preset sensitive words in multiple news information corresponding to the news event, and the information popularity is greater than the preset popularity, and the selected information is used as feature information on the news feature covering the news event;
(b2)针对每个新闻事件,对该新闻事件对应的各篇专题资讯的资讯标题 进行分词处理,在分词得到的多个词中,选取词频-逆文本频率指数TF-IDF值 大于预设阈值的词,根据选取得到的词生成用于报道该新闻事件的新闻专题的 专题名称;(b2) For each news event, word segmentation processing is performed on the information titles of each topic information corresponding to the news event, and among the multiple words obtained by word segmentation, select the word frequency-inverse text frequency index TF-IDF value greater than the preset threshold The word that is selected according to the selected word is used to generate the topic title of the news topic for reporting the news event;
(b3)针对每个新闻事件,基于用于报道该新闻事件的新闻专题的专题资 讯和用于报道该新闻事件的新闻专题的专题名称,创建用于报道该新闻事件的 新闻专题。(b3) For each news event, based on the topic information of the news topic used to report the news event and the topic name of the news topic used to report the news event, create a news topic for reporting the news event.
上述动作(b1)中,对于每个新闻事件,首先在该新闻事件对应的多篇新 闻资讯(也即该新闻事件对应的资讯集合中的多篇新闻资讯)中选取未记录有 预设敏感字和预设敏感词的资讯,这个过程中,可以在新闻资讯的标题和正文 中进行筛选,得到标题和正文均未记录有预设敏感字和预设敏感词的资讯。然 后,在筛选得到的新闻资讯中进一步筛选资讯热度大于预设热度的资讯,此次 筛选得到的资讯即为用于报道该新闻事件的新闻专题的专题资讯。In the above-mentioned action (b1), for each news event, first select the news information that does not have a preset sensitive word in the multiple news information corresponding to the news event (that is, the multiple news information in the information collection corresponding to the news event). In this process, the title and text of the news information can be screened to obtain information that neither the title nor the text has the default sensitive word or default sensitive word recorded. Then, further filter the information whose popularity is greater than the preset popularity among the selected news information, and the information obtained this time is the special topic information of the news topic used to report the news event.
本实施例中提供一种确定新闻资讯的资讯热度的方法,该方法可以由新闻 专题创建系统实施,具体地,通过新闻专题创建系统,针对每篇新闻资讯,确 定该新闻资讯的来源、转载量和阅读量,根据该新闻资讯的来源、转载量和阅 读量,确定该新闻资讯的资讯热度。其中,新闻专题创建系统可以预先存储有 资讯热度计算公式,该公式可以举例为资讯热度S=A*a1+B*b1+C*c1,其中, A表示每篇新闻资讯的来源对应的得分,这里可以预设各个新闻资讯的来源的 得分,比如第一财经的得分为10分,中央新闻的得分为10分,a1为预先设置 的新闻资讯的来源对应的权重系数,B表示每篇新闻资讯的转载量,b1为预先 设置的新闻资讯的转载量对应的权重系数,C表示每篇新闻资讯的阅读量,c1 为预先设置的新闻资讯的阅读量对应的权重系数。本实施例中,新闻专题创建 系统可以通过该公式计算每篇新闻资讯的资讯热度。This embodiment provides a method for determining the information popularity of news information, which can be implemented by the news topic creation system, specifically, through the news topic creation system, for each news information, determine the source and reprint amount of the news information and reading volume, and determine the popularity of the news information according to the source, reprint volume, and reading volume of the news information. Among them, the news topic creation system can pre-store a formula for calculating information popularity, which can be exemplified as information popularity S=A*a1+B*b1+C*c1, where A represents the score corresponding to the source of each news information, Here you can preset the score of each source of news information, for example, the score of China Business News is 10 points, the score of Central News is 10 points, a1 is the weight coefficient corresponding to the source of the preset news information, and B represents each news information b1 is the weight coefficient corresponding to the reprint amount of the preset news information, C represents the reading amount of each news information, and c1 is the weight coefficient corresponding to the preset news information reading amount. In this embodiment, the news feature creation system can calculate the information popularity of each news information through this formula.
上述动作(b2)中,针对每个新闻事件,对该新闻事件对应的各篇专题资 讯的资讯标题进行分词处理,在分词得到的多个词中,选取TF-IDF(term frequency–inversedocument frequency,词频-逆文本频率指数)值大于预设阈值 的词,根据选取得到的词生成用于报道该新闻事件的新闻专题的专题名称。In the above action (b2), for each news event, word segmentation processing is performed on the information titles of each topic information corresponding to the news event, and among the multiple words obtained by word segmentation, TF-IDF (term frequency-inversedocument frequency, word frequency-inverse text frequency index) value is greater than the preset threshold value, according to the selected word to generate the topic name of the news topic used to report the news event.
比如,共有两个新闻事件,则针对其中一个新闻事件,对该新闻事件对应 的各篇专题资讯的资讯标题进行分词处理,并计算分词得到的每个词的TF-IDF 值,从而在分词得到的多个词中,选取TF-IDF值大于预设阈值的词作为目标 词,根据目标词生成用于报道该新闻事件的新闻专题的专题名称。同样地,针 对其中另一个新闻事件,对该新闻事件对应的各篇专题资讯的资讯标题进行分 词处理,并计算分词得到的每个词的TF-IDF值,从而在分词得到的多个词中, 选取TF-IDF值大于预设阈值的词作为目标词,根据目标词生成用于报道该新 闻事件的新闻专题的专题名称。For example, if there are two news events in total, for one of the news events, word segmentation is performed on the information titles of each topic information corresponding to the news event, and the TF-IDF value of each word obtained by word segmentation is calculated, so that Among the multiple words, select the word whose TF-IDF value is greater than the preset threshold as the target word, and generate the topic name of the news topic used to report the news event according to the target word. Similarly, for another news event, word segmentation is performed on the information titles of each topic information corresponding to the news event, and the TF-IDF value of each word obtained by word segmentation is calculated, so that among the multiple words obtained by word segmentation , selecting a word whose TF-IDF value is greater than a preset threshold as a target word, and generating a topic name of a news topic used to report the news event according to the target word.
根据目标词生成用于报道该新闻事件的新闻专题的专题名称,具体为:在 各个目标词中去除语义重复的词,并确定剩余的各个词的词性,词性包括名词、 动词、代词、介词等,根据剩余的各个词的词性和预设的词性连接规则,将各 个词连接起来,得到至少一个短语,根据每个短语与第二预设短语库中的各个 短语的相似度,在该至少一个短语中选取用于报道该新闻事件的新闻专题的专 题名称。According to the target word, the topic name of the news topic used to report the news event is generated, specifically: remove semantically repetitive words from each target word, and determine the part of speech of the remaining words, including nouns, verbs, pronouns, prepositions, etc. , according to the part-of-speech of each remaining word and the preset part-of-speech connection rule, each word is connected to obtain at least one phrase, and according to the similarity between each phrase and each phrase in the second preset phrase library, in the at least one Select the topic name of the news topic used to report the news event in the phrase.
其中,第二预设短语库中的各个短语为预先人工收集的历史新闻专题的专 题名称。这里之所以计算每个短语与第二预设短语库中的各个短语的相似度, 是考虑到当前新闻专题与历史新闻专题类似的情况,根据相似度筛选出语言逻 辑更为通顺合理的短语作为专题名称。生成专题名称的过程与前述的生成事件 名称的过程类似,这里不再重复。Wherein, each phrase in the second preset phrase storehouse is the topic title of the historical news topic of artificial collection in advance. Here, the reason for calculating the similarity between each phrase and each phrase in the second preset phrase library is to consider that the current news topic is similar to the historical news topic, and to filter out a phrase with a more fluent and reasonable language logic according to the similarity as Topic name. The process of generating topic names is similar to the process of generating event names mentioned above, and will not be repeated here.
上述动作(b3)中,针对每个新闻事件,基于用于报道该新闻事件的新闻 专题的专题资讯和用于报道该新闻事件的新闻专题的专题名称,创建用于报道 该新闻事件的新闻专题。具体地,通过新闻专题创建系统针对每个新闻事件, 基于用于报道该新闻事件的新闻专题的专题资讯和用于报道该新闻事件的新 闻专题的专题名称,创建用于报道该新闻事件的新闻专题,新闻专题至少包括 专题名称和专题资讯。新闻专题创建系统还可以显示每个创建好的新闻专题供 编辑人员审阅。In the above action (b3), for each news event, based on the topic information of the news topic used to report the news event and the topic name of the news topic used to report the news event, create a news topic for reporting the news event . Specifically, for each news event, the news topic creation system creates a news report for reporting the news event based on the topic information of the news topic used to report the news event and the topic name of the news topic used to report the news event. Topics, news topics at least include topic names and topic information. The news feature creation system can also display each created news feature for review by editors.
图3a为本申请一实施例提供的新闻专题创建系统的界面示意图,如图3a 所示,该界面中以新闻事件的形式显示有通过步骤S204聚类得到的多个资讯 集合,并显示有每个资讯集合对应的事件名称,该界面中,针对每个新闻事件, 还提供有“创建专题”按钮,用户点击该按钮后,新闻专题创建系统自动为该新 闻事件创建对应的新闻专题。当然,本实施例中,也可以不设置“创建专题”按 钮,由新闻专题创建系统自动为该新闻事件创建对应的新闻专题。Figure 3a is a schematic diagram of the interface of the news topic creation system provided by an embodiment of the present application. The event name corresponding to each information collection. In this interface, for each news event, there is also a "Create Topic" button. After the user clicks this button, the news topic creation system will automatically create a corresponding news topic for the news event. Of course, in this embodiment, the "create topic" button may not be set, and the news topic creation system automatically creates a corresponding news topic for the news event.
图3b为本申请另一实施例提供的新闻专题创建系统的界面示意图,如图 3a和图3b所示,用户点击“创建专题”按钮后,新闻专题创建系统自动创建新 闻专题,创建好的新闻专题如图3b所示。图3c为本申请另一实施例提供的新 闻专题创建系统的界面示意图,如图3a和图3c所示,用户若点击图3a中的 某个新闻事件的事件名称,则界面跳转到图3c所示,展示该新闻事件对应的 多篇新闻资讯。Figure 3b is a schematic diagram of the interface of the news feature creation system provided by another embodiment of the present application. As shown in Figure 3a and Figure 3b, after the user clicks the "create feature" button, the news feature creation system automatically creates a news feature, and the created news The themes are shown in Figure 3b. Fig. 3c is a schematic diagram of the interface of the news topic creation system provided by another embodiment of the present application. As shown in Fig. 3a and Fig. 3c, if the user clicks on the event name of a certain news event in Fig. 3a, the interface jumps to Fig. 3c As shown, multiple news information corresponding to the news event are displayed.
本实施例中,新闻专题创建系统还可以如图3a所示,显示每个新闻事件 的事件热度,新闻事件的事件热度的计算方法将在后文进行展开。图3a中还 显示有每个新闻事件的阅读量,该阅读量为每个新闻事件对应的各篇新闻资讯 的阅读量的总和。In this embodiment, the news topic creation system can also display the event heat of each news event as shown in Figure 3a, and the calculation method of the event heat of the news event will be expanded later. The reading volume of each news event is also shown in Fig. 3a, which is the sum of the reading volume of each piece of news information corresponding to each news event.
本实施例中,新闻专题创建系统还可以如图3b所示,在创建每个新闻专 题后,为每个新闻专题生成对应的专题描述。生成专题描述可以由人工生成, 也可以由新闻专题创建系统根据每个新闻专题所包含的多篇专题资讯的资讯 标题生成。具体地,新闻专题创建系统针对每个新闻专题,获取该新闻专题所 包含的多篇专题资讯的资讯标题,对各个资讯标题进行分词处理,得到多个词, 根据该多个词拼接生成该新闻专题的专题描述。In this embodiment, the news topic creation system can also generate a corresponding topic description for each news topic after each news topic is created, as shown in Figure 3b. The generated topic description can be generated manually, and can also be generated by the news topic creation system according to the information titles of the multiple topic information contained in each news topic. Specifically, for each news topic, the news topic creation system obtains the information titles of the multiple topic information contained in the news topic, performs word segmentation processing on each news topic, obtains multiple words, and generates the news according to the splicing of the multiple words. Thematic description of the topic.
本实施例中,新闻专题创建系统还可以如图3c所示,图3c的界面中也提 供有“创建专题”按钮,编辑人员在点击某个新闻事件的事件名称跳转到图3c 所示的界面后,可以在该界面中点击“创建专题”按钮,从而通过新闻专题创 建系统自动为该新闻事件创建新闻专题。In this embodiment, the news topic creation system can also be shown in Figure 3c, and the interface of Figure 3c also provides a "create topic" button, and the editors click on the event name of a certain news event to jump to the page shown in Figure 3c. After entering the interface, you can click the "Create Topic" button in this interface to automatically create a news topic for the news event through the news topic creation system.
进一步地,本实施例中的方法还包括:Further, the method in this embodiment also includes:
(c1)针对每个新闻事件,确定该新闻事件对应的各篇新闻资讯的来源、 转载量和阅读量,根据该新闻事件对应的各篇新闻资讯的来源、转载量和阅读 量,确定该新闻事件的事件热度;(c1) For each news event, determine the source, reprint volume and reading volume of each piece of news information corresponding to the news event, and determine the news information according to the source, reprint volume, and reading volume of each piece of news information corresponding to the news event. Event heat of the event;
(c2)根据各个新闻事件的事件热度生成事件热度排行榜,将事件热度排 行榜发送至资讯提供方,以供资讯提供方根据事件热度排行榜提供新闻资讯。(c2) Generate an event popularity ranking list according to the event popularity of each news event, and send the event popularity ranking list to the information provider, so that the information provider can provide news information according to the event popularity ranking list.
上述动作(c1)中,根据该新闻事件对应的各篇新闻资讯的来源、转载量 和阅读量,确定该新闻事件的事件热度,具体为:根据该新闻事件对应的各篇 新闻资讯的来源、转载量和阅读量,确定各篇新闻资讯的资讯热度,将各篇新 闻资讯的资讯热度的加和,作为该新闻事件的事件热度。其中,计算各篇新闻 资讯的资讯热度的方式可以如上文所述,这里不再重复。另一个实施例中,也 可以将该新闻事件对应的各篇新闻资讯的转载量和阅读量的总和,作为该新闻 事件的事件热度。In the above action (c1), the event popularity of the news event is determined according to the source, reprint volume, and reading volume of each piece of news information corresponding to the news event, specifically: according to the source of each piece of news information corresponding to the news event, The number of reprints and readings determines the information popularity of each news article, and the sum of the information popularity of each news information is used as the event popularity of the news event. Wherein, the manner of calculating the information popularity of each piece of news information can be as described above, and will not be repeated here. In another embodiment, the sum of the reprints and readings of each piece of news information corresponding to the news event can also be used as the event popularity of the news event.
上述动作(c2)中,根据各个新闻事件的事件热度生成事件热度排行榜, 将事件热度排行榜发送至资讯提供方,以使资讯提供方能够了解当前各个新闻 事件的热度情况,从而提供热门资讯,避免提供非热门资讯浪费人工成本。事 件热度排行榜可以如下表1所示。In the above action (c2), an event popularity ranking is generated according to the event popularity of each news event, and the event popularity ranking is sent to the information provider, so that the information provider can understand the current popularity of each news event and provide hot information , to avoid wasting labor costs by providing non-hot information. The event popularity ranking list can be shown in Table 1 below.
表1Table 1
图4为本申请一实施例提供的用户终端的界面示意图,如图4所示,该用 户终端可以接收新闻专题创建设备推送的新闻专题并展示。如图4所示,该界 面中显示有“iphone购买意愿暴跌”这一新闻专题的专题名称,并显示有各篇 专题资讯的资讯图标。本实施例中,新闻专题创建设备存储创建好的新闻专题 时,可以在Hbase数据库中存储,从而提高数据存储的稳定性和数据调用的便 利性。Fig. 4 is a schematic diagram of the interface of the user terminal provided by an embodiment of the present application. As shown in Fig. 4, the user terminal can receive and display the news topic pushed by the news topic creation device. As shown in Figure 4, the topic name of the news topic "iphone purchase intention plummets" is displayed in this interface, and the information icons of each topic information are displayed. In this embodiment, when the news topic creation device stores the created news topic, it can be stored in the Hbase database, thereby improving the stability of data storage and the convenience of data calling.
综上,通过本申请实施例,能够通过资讯聚类模型和新闻专题创建系统自 动创建新闻专题,从而解决人工手动创建新闻专题效率低的问题,提高新闻专 题的创建效率。并且,由于可以根据各个新闻事件的事件热度生成事件热度排 行榜,并将事件热度排行榜发送至资讯提供方,因此能够方便资讯提供方掌握 当前热门事件的动向,便于资讯提供方提供与热门事件有关的新闻资讯。In summary, through the embodiments of the present application, news topics can be automatically created through the information clustering model and the news topic creation system, thereby solving the problem of low efficiency of manually creating news topics and improving the efficiency of creating news topics. Moreover, since the event popularity ranking list can be generated according to the event popularity of each news event, and the event popularity ranking list is sent to the information provider, it is convenient for the information provider to grasp the trend of the current hot event, and it is convenient for the information provider to provide information about the hot event. relevant news.
图5为本申请另一实施例提供的新闻专题创建方法的流程示意图,如图5 所示,该流程包括以下步骤:Fig. 5 is a schematic flow diagram of a method for creating news topics provided by another embodiment of the present application. As shown in Fig. 5, the flow includes the following steps:
步骤S502,获取资讯提供方提供的多篇新闻资讯,新闻资讯中记录有新闻 事件对应的新闻内容;Step S502, obtaining a plurality of news information provided by the information provider, the news content corresponding to the news event is recorded in the news information;
步骤S504,通过预先训练的资讯聚类模型对该多篇新闻资讯进行聚类,得 到多个资讯集合;其中,每个资讯集合包括的多篇新闻资讯的新闻内容对应同 一个新闻事件,不同资讯集合对应的新闻事件各不相同;Step S504, clustering the multiple pieces of news information through the pre-trained information clustering model to obtain multiple information collections; wherein, the news content of the multiple news information included in each information collection corresponds to the same news event, and different information The news events corresponding to the sets are different;
步骤S506,根据各个新闻事件对应的多篇新闻资讯,确定各个新闻事件的 事件热度,根据各个新闻事件的事件热度,在各个新闻事件中选取目标事件;Step S506, according to a plurality of pieces of news information corresponding to each news event, determine the event heat of each news event, according to the event heat of each news event, select the target event in each news event;
步骤S508,通过新闻专题创建系统,根据目标事件对应的多篇新闻资讯, 为目标事件创建新闻专题;其中,新闻专题用于报道目标事件;新闻专题包括 专题名称和专题资讯,专题资讯根据目标事件对应的多篇新闻资讯确定得到。Step S508, create a news topic for the target event through the news topic creation system according to multiple news information corresponding to the target event; wherein, the news topic is used to report the target event; the news topic includes the topic name and topic information, and the topic information is based on the target event The corresponding multiple news articles are determined.
通过本申请实施例,可以自动在各个新闻事件中选取热度较高的目标事件, 并通过资讯聚类模型和新闻专题创建系统自动创建目标事件对应的新闻专题, 从而解决人工手动创建新闻专题效率低的问题,实现热门专题的自动创建,提 高新闻专题的创建效率。Through the embodiment of this application, it is possible to automatically select a target event with high popularity among various news events, and automatically create a news topic corresponding to the target event through the information clustering model and the news topic creation system, thereby solving the problem of low efficiency in manually creating news topics problems, realize the automatic creation of popular topics, and improve the efficiency of creating news topics.
上述步骤S502和步骤S504的具体过程与前述步骤S202和步骤S204的具 体过程相同,这里不再重复。The specific process of the above step S502 and step S504 is the same as the specific process of the aforementioned step S202 and step S204, and will not be repeated here.
上述步骤S506中,根据各个新闻事件对应的多篇新闻资讯,确定各个新 闻事件的事件热度,具体为:针对每个新闻事件,确定该新闻事件对应的各篇 新闻资讯的来源、转载量和阅读量,根据该新闻事件对应的各篇新闻资讯的来 源、转载量和阅读量,确定该新闻事件的事件热度。该过程可以参考前述动作 (c1)的描述,这里不再重复。本实施例中,新闻资讯的来源指的是新闻资讯 的资讯提供方。In the above step S506, according to the multiple pieces of news information corresponding to each news event, the event popularity of each news event is determined, specifically: for each news event, the source, reprint amount and reading amount of each news information corresponding to the news event are determined. According to the source, reprint volume and reading volume of each news information corresponding to the news event, the event popularity of the news event is determined. For this process, reference may be made to the description of the aforementioned action (c1), which will not be repeated here. In this embodiment, the source of the news information refers to the information provider of the news information.
上述步骤S506中,根据各个新闻事件的事件热度,在各个新闻事件中选 取目标事件,具体为,在各个新闻事件中选取事件热度大于预设的热度阈值的 事件作为目标事件。In the above step S506, according to the event popularity of each news event, select the target event in each news event, specifically, select the event in each news event whose event popularity is greater than the preset popularity threshold as the target event.
上述步骤S508中,通过新闻专题创建系统,根据目标事件对应的多篇新 闻资讯,为目标事件创建新闻专题,其中,新闻专题包括专题名称和专题资讯, 专题资讯从目标事件对应的多篇新闻资讯中选取得到。能够理解,根据前述介 绍,新闻专题还可以包括专题描述。In the above step S508, a news topic is created for the target event through the news topic creation system according to multiple pieces of news information corresponding to the target event. selected from. It can be understood that, according to the foregoing introduction, a news topic may also include a topic description.
步骤S508的具体过程为:The specific process of step S508 is:
(d1)在目标事件对应的多篇新闻资讯中选取未记录预设敏感字和预设敏 感词的、并且资讯热度大于预设热度的资讯,将选取的资讯作为新闻专题的专 题资讯;(d1) Select information that does not record preset sensitive words and preset sensitive words in multiple news information corresponding to the target event, and the information popularity is greater than the preset popularity, and use the selected information as the special topic information of the news topic;
(d2)对各篇专题资讯的资讯标题进行分词处理,在分词得到的多个词中, 选取词频-逆文本频率指数TF-IDF值大于预设阈值的词,根据选取得到的词生 成新闻专题的专题名称;(d2) Carry out word segmentation processing on the information titles of each topic information, and select words whose word frequency-inverse text frequency index TF-IDF value is greater than the preset threshold value among the multiple words obtained by word segmentation, and generate news topics according to the selected words title of the topic;
(d3)基于新闻专题的专题名称和新闻专题的专题资讯,创建新闻专题。(d3) Create a news topic based on the topic name of the news topic and the topic information of the news topic.
该过程可以参考前述步骤S206的具体介绍,这里不再重复。For this process, reference may be made to the specific introduction of the aforementioned step S206, which will not be repeated here.
图5中的方法还可以包括:根据各个新闻事件的事件热度生成事件热度排 行榜,将事件热度排行榜发送至资讯提供方,以供资讯提供方根据事件热度排 行榜提供新闻资讯。具体地,根据各个新闻事件的事件热度生成事件热度排行 榜,将事件热度排行榜发送至资讯提供方,以使资讯提供方能够了解当前各个 新闻事件的热度情况,从而提供热门资讯,避免提供非热门资讯浪费人工成本。The method in FIG. 5 may also include: generating an event popularity ranking list according to the event popularity of each news event, and sending the event popularity ranking list to the information provider, so that the information provider provides news information according to the event popularity ranking list. Specifically, according to the event popularity of each news event, an event popularity ranking list is generated, and the event popularity ranking list is sent to the information provider, so that the information provider can understand the current popularity of each news event, thereby providing hot information and avoiding providing unreasonable information. Popular information wastes labor costs.
综上,通过本申请实施例,可以自动在各个新闻事件中选取热度较高的目 标事件,并通过资讯聚类模型和新闻专题创建系统自动创建目标事件对应的新 闻专题,从而解决人工手动创建新闻专题效率低的问题,实现热门专题的自动 创建,提高新闻专题的创建效率。并且,由于可以根据各个新闻事件的事件热 度生成事件热度排行榜,将事件热度排行榜发送至资讯提供方,因此能够方便 资讯提供方掌握当前热门事件的动向,便于资讯提供方提供与热门事件有关的 新闻资讯。In summary, through the embodiment of this application, it is possible to automatically select a target event with high popularity among various news events, and automatically create a news topic corresponding to the target event through the information clustering model and the news topic creation system, thereby solving the problem of manually creating news. To solve the problem of low efficiency of topics, realize the automatic creation of popular topics and improve the efficiency of creating news topics. Moreover, since the event popularity rankings can be generated according to the event popularity of each news event, and the event popularity rankings are sent to the information provider, it is convenient for the information provider to grasp the trend of the current popular events, and it is convenient for the information provider to provide information related to the popular events. news information.
图6为本申请一实施例提供的新闻专题创建装置的模块组成示意图,如图 6所示,该装置包括:Fig. 6 is a schematic diagram of the module composition of the news topic creation device provided by an embodiment of the present application. As shown in Fig. 6, the device includes:
第一获取模块61,用于获取资讯提供方提供的多篇新闻资讯,所述新闻资 讯中记录有新闻事件对应的新闻内容;The first obtaining module 61 is used to obtain a plurality of pieces of news information provided by the information provider, and the news content corresponding to the news event is recorded in the news information;
第一聚类模块62,用于通过预先训练的资讯聚类模型对所述多篇新闻资讯 进行聚类,得到多个资讯集合;其中,每个所述资讯集合包括的多篇新闻资讯 的新闻内容对应同一个新闻事件,不同所述资讯集合对应的所述新闻事件各不 相同;The first clustering module 62 is configured to cluster the multiple pieces of news information through a pre-trained information clustering model to obtain multiple information collections; wherein, each of the information collections includes the news of the multiple pieces of news information The content corresponds to the same news event, and the news events corresponding to different information sets are different;
第一创建模块63,用于通过新闻专题创建系统,根据各个所述新闻事件对 应的多篇新闻资讯,为各个所述新闻事件创建对应的新闻专题;其中,所述新 闻专题用于报道对应的所述新闻事件;所述新闻专题包括专题名称和专题资讯, 所述专题资讯根据所述新闻专题所报道的新闻事件对应的多篇新闻资讯确定 得到。The first creation module 63 is used to create corresponding news topics for each of the news events according to the multiple pieces of news information corresponding to each of the news events through the news topic creation system; wherein, the news topics are used to report the corresponding The news event; the news topic includes a topic name and topic information, and the topic information is determined according to a plurality of pieces of news information corresponding to the news event reported by the news topic.
可选地,第一聚类模块62具体用于:Optionally, the first clustering module 62 is specifically used for:
通过预先训练的资讯聚类模型,提取各篇所述新闻资讯的资讯标题,并计 算各篇所述新闻资讯的资讯标题之间的语义相似度;Through the pre-trained information clustering model, extract the information titles of the news information described in each article, and calculate the semantic similarity between the information titles of the news information described in each article;
通过预先训练的资讯聚类模型,根据各篇所述新闻资讯的资讯标题之间的 语义相似度,对各篇所述新闻资讯进行聚类,得到多个资讯集合。Through the pre-trained information clustering model, according to the semantic similarity between the information titles of the news information described in each article, the news information described in each article is clustered to obtain multiple information sets.
可选地,还包括名称生成模块,用于:Optionally, also includes a name generation module for:
针对每个资讯集合,对该资讯集合中的各篇新闻资讯的资讯标题进行分词 处理,根据分词得到的多个词,确定该资讯集合对应的新闻事件的事件名称。For each information collection, word segmentation is performed on the information titles of the news articles in the information collection, and the event name of the news event corresponding to the information collection is determined according to the multiple words obtained by word segmentation.
可选地,第一创建模块63具体用于:Optionally, the first creation module 63 is specifically used for:
针对每个所述新闻事件,在该新闻事件对应的多篇新闻资讯中选取未记录 预设敏感字和预设敏感词的、并且资讯热度大于预设热度的资讯,将选取的资 讯作为用于报道该新闻事件的新闻专题的专题资讯;For each of the above-mentioned news events, select the information that does not record the preset sensitive words and preset sensitive words in the multiple news information corresponding to the news event, and the information popularity is greater than the preset popularity, and the selected information is used as the Feature information of the news feature covering the news event;
针对每个所述新闻事件,对该新闻事件对应的各篇专题资讯的资讯标题进 行分词处理,在分词得到的多个词中,选取词频-逆文本频率指数TF-IDF值大 于预设阈值的词,根据选取得到的词生成用于报道该新闻事件的新闻专题的专 题名称;For each of the news events, word segmentation is performed on the information titles of each topic information corresponding to the news event, and among the multiple words obtained by word segmentation, select the word frequency-inverse text frequency index TF-IDF value greater than the preset threshold Words, generate the topic titles of the news topics used to report the news event according to the selected words;
针对每个所述新闻事件,基于用于报道该新闻事件的新闻专题的专题资讯 和用于报道该新闻事件的新闻专题的专题名称,创建用于报道该新闻事件的新 闻专题。For each news event, a news topic for reporting the news event is created based on the topic information of the news topic for reporting the news event and the topic name of the news topic for reporting the news event.
可选地,还包括热度确定模块,用于:Optionally, a thermal determination module is also included for:
通过新闻专题创建系统,针对每篇新闻资讯,确定该新闻资讯的来源、转 载量和阅读量,根据该新闻资讯的来源、转载量和阅读量,确定该新闻资讯的 资讯热度。Through the news topic creation system, for each news information, determine the source, reprint volume and reading volume of the news information, and determine the information popularity of the news information according to the source, reprint volume and reading volume of the news information.
可选地,还包括第一排序模块,用于:Optionally, a first sorting module is also included for:
针对每个所述新闻事件,确定该新闻事件对应的各篇新闻资讯的来源、转 载量和阅读量,根据该新闻事件对应的各篇新闻资讯的来源、转载量和阅读量, 确定该新闻事件的事件热度;For each said news event, determine the source, reprint volume, and reading volume of each piece of news information corresponding to the news event, and determine the news event based on the source, reprint volume, and reading volume of each piece of news information corresponding to the news event the heat of the event;
根据各个所述新闻事件的事件热度生成事件热度排行榜,将所述事件热度 排行榜发送至所述资讯提供方,以供所述资讯提供方根据所述事件热度排行榜 提供新闻资讯。Generate an event popularity ranking list according to the event popularity of each of the news events, and send the event popularity ranking list to the information provider for the information provider to provide news information according to the event popularity ranking list.
本申请实施例中,首先获取资讯提供方提供的多篇新闻资讯,然后通过预 先训练的资讯聚类模型对该多篇新闻资讯进行聚类,得到多个资讯集合,每个 资讯集合包括的多篇新闻资讯的新闻内容对应同一个新闻事件,最后通过新闻 专题创建系统,根据各个新闻事件对应的多篇新闻资讯,为各个新闻事件创建 对应的新闻专题。可见,通过本申请实施例,能够通过资讯聚类模型和新闻专 题创建系统自动创建新闻专题,从而解决人工手动创建新闻专题效率低的问题, 提高新闻专题的创建效率。In the embodiment of the present application, first obtain multiple pieces of news information provided by the information provider, and then cluster the multiple pieces of news information through a pre-trained information clustering model to obtain multiple information sets, each information set includes multiple The news content of each piece of news information corresponds to the same news event, and finally, through the news topic creation system, a corresponding news topic is created for each news event according to the multiple news pieces corresponding to each news event. It can be seen that through the embodiment of the present application, news topics can be automatically created through the information clustering model and the news topic creation system, thereby solving the problem of low efficiency of manually creating news topics and improving the efficiency of creating news topics.
需要说明的是,本申请实施例中的新闻专题创建装置能够实现前述的新闻 专题创建方法的各个过程,并达到相同的效果和功能,这里不再赘述。It should be noted that the news topic creation device in the embodiment of the present application can realize the various processes of the aforementioned news topic creation method, and achieve the same effect and function, and will not repeat them here.
图7为本申请另一实施例提供的新闻专题创建装置的模块组成示意图,如 图7所示,该装置包括:Fig. 7 is a schematic diagram of the module composition of the news topic creation device provided by another embodiment of the present application. As shown in Fig. 7, the device includes:
第二获取模块71,用于获取资讯提供方提供的多篇新闻资讯,所述新闻资 讯中记录有新闻事件对应的新闻内容;The second obtaining module 71 is used to obtain a plurality of news information provided by the information provider, and the news content corresponding to the news event is recorded in the news information;
第二聚类模块72,用于通过预先训练的资讯聚类模型对所述多篇新闻资讯 进行聚类,得到多个资讯集合;其中,每个所述资讯集合包括的多篇新闻资讯 的新闻内容对应同一个新闻事件,不同所述资讯集合对应的所述新闻事件各不 相同;The second clustering module 72 is used to cluster the multiple pieces of news information through a pre-trained information clustering model to obtain multiple information collections; wherein, each of the information collections includes the news of multiple pieces of news information The content corresponds to the same news event, and the news events corresponding to different information sets are different;
选取模块73,用于根据各个所述新闻事件对应的多篇新闻资讯,确定各个 所述新闻事件的事件热度,根据各个所述新闻事件的事件热度,在各个所述新 闻事件中选取目标事件;Selection module 73, is used for determining the event heat of each described news event according to a plurality of pieces of news information corresponding to each described news event, and selects a target event in each of the described news events according to the event heat of each described news event;
第二创建模块74,用于通过新闻专题创建系统,根据所述目标事件对应的 多篇新闻资讯,为所述目标事件创建新闻专题;其中,所述新闻专题用于报道 所述目标事件;所述新闻专题包括专题名称和专题资讯,所述专题资讯根据所 述目标事件对应的多篇新闻资讯确定得到。The second creation module 74 is used to create a news topic for the target event according to multiple pieces of news information corresponding to the target event through the news topic creation system; wherein, the news topic is used to report the target event; The news topic includes a topic name and topic information, and the topic information is determined according to multiple pieces of news information corresponding to the target event.
可选地,所述第二创建模块74具体用于:Optionally, the second creation module 74 is specifically configured to:
在所述目标事件对应的多篇新闻资讯中选取未记录预设敏感字和预设敏 感词的、并且资讯热度大于预设热度的资讯,将选取的资讯作为所述新闻专题 的专题资讯;Select information that does not record preset sensitive words and preset sensitive words, and information heat is greater than preset heat among multiple news information corresponding to the target event, and use the selected information as the special topic information of the news topic;
对各篇所述专题资讯的资讯标题进行分词处理,在分词得到的多个词中, 选取词频-逆文本频率指数TF-IDF值大于预设阈值的词,根据选取得到的词生 成所述新闻专题的专题名称;Perform word segmentation processing on the information titles of the topical information described in each article, select words whose word frequency-inverse text frequency index TF-IDF value is greater than the preset threshold value among the multiple words obtained by word segmentation, and generate the news according to the selected words The topic title of the topic;
基于所述新闻专题的专题名称和所述新闻专题的专题资讯,创建所述新闻 专题。Create the news topic based on the topic name of the news topic and the topic information of the news topic.
可选地,所述选取模块73具体用于:Optionally, the selecting module 73 is specifically used for:
针对每个所述新闻事件,确定该新闻事件对应的各篇新闻资讯的来源、转 载量和阅读量;For each news event, determine the source, reprint volume and reading volume of each piece of news information corresponding to the news event;
根据该新闻事件对应的各篇新闻资讯的来源、转载量和阅读量,确定该新 闻事件的事件热度。According to the source, reprint volume and reading volume of each piece of news information corresponding to the news event, the event popularity of the news event is determined.
可选地,还包括第二排序模块,用于:Optionally, a second sorting module is also included for:
根据各个所述新闻事件的事件热度生成事件热度排行榜,将所述事件热度 排行榜发送至所述资讯提供方,以供所述资讯提供方根据所述事件热度排行榜 提供新闻资讯。Generate an event popularity ranking list according to the event popularity of each of the news events, and send the event popularity ranking list to the information provider for the information provider to provide news information according to the event popularity ranking list.
通过本申请实施例,可以自动在各个新闻事件中选取热度较高的目标事件, 并通过资讯聚类模型和新闻专题创建系统自动创建目标事件对应的新闻专题, 从而解决人工手动创建新闻专题效率低的问题,实现热门专题的自动创建,提 高新闻专题的创建效率。Through the embodiment of this application, it is possible to automatically select a target event with high popularity among various news events, and automatically create a news topic corresponding to the target event through the information clustering model and the news topic creation system, thereby solving the problem of low efficiency in manually creating news topics problems, realize the automatic creation of popular topics, and improve the efficiency of creating news topics.
需要说明的是,本申请实施例中的新闻专题创建装置能够实现前述的新闻 专题创建方法的各个过程,并达到相同的效果和功能,这里不再赘述。It should be noted that the news topic creation device in the embodiment of the present application can realize the various processes of the aforementioned news topic creation method, and achieve the same effect and function, and will not repeat them here.
本申请实施例还提供了一种新闻专题创建设备,图8为本申请一实施例提 供的新闻专题创建设备的结构示意图,如图8所示,新闻专题创建设备可因配 置或性能不同而产生比较大的差异,可以包括一个或一个以上的处理器901和 存储器902,存储器902中可以存储有一个或一个以上存储应用程序或数据。 其中,存储器902可以是短暂存储或持久存储。存储在存储器902的应用程序 可以包括一个或一个以上模块(图示未示出),每个模块可以包括对新闻专题 创建设备中的一系列计算机可执行指令。更进一步地,处理器901可以设置为 与存储器902通信,在新闻专题创建设备上执行存储器902中的一系列计算机 可执行指令。新闻专题创建设备还可以包括一个或一个以上电源903,一个或 一个以上有线或无线网络接口904,一个或一个以上输入输出接口905,一个 或一个以上键盘906等。The embodiment of the present application also provides a news feature creation device. Figure 8 is a schematic structural diagram of the news feature creation device provided in an embodiment of the present application. A relatively large difference may include one or more processors 901 and memory 902, and one or more storage application programs or data may be stored in the memory 902. Wherein, the storage 902 may be a short-term storage or a persistent storage. The application program stored in the memory 902 may include one or more modules (not shown in the figure), and each module may include a series of computer-executable instructions to the news feature creation device. Furthermore, the processor 901 can be configured to communicate with the memory 902, and execute a series of computer-executable instructions in the memory 902 on the news feature creation device. The news feature creation device may also include one or more power supplies 903, one or more wired or wireless network interfaces 904, one or more input and output interfaces 905, one or more keyboards 906, and the like.
在一个具体的实施例中,新闻专题创建设备包括有存储器,以及一个或一 个以上的程序,其中一个或者一个以上程序存储于存储器中,且一个或者一个 以上程序可以包括一个或一个以上模块,且每个模块可以包括对新闻专题创建 设备中的一系列计算机可执行指令,且经配置以由一个或者一个以上处理器执 行该一个或者一个以上程序包含用于进行以下计算机可执行指令:In a specific embodiment, the news feature creation device includes a memory, and one or more programs, wherein one or more programs are stored in the memory, and one or more programs may include one or more modules, and Each module may include a series of computer-executable instructions in the news topic creation device, and the one or more programs configured to be executed by one or more processors include computer-executable instructions for performing the following:
获取资讯提供方提供的多篇新闻资讯,所述新闻资讯中记录有新闻事件对 应的新闻内容;Obtain multiple news information provided by the information provider, and the news information corresponding to the news event is recorded in the news information;
通过预先训练的资讯聚类模型对所述多篇新闻资讯进行聚类,得到多个资 讯集合;其中,每个所述资讯集合包括的多篇新闻资讯的新闻内容对应同一个 新闻事件,不同所述资讯集合对应的所述新闻事件各不相同;The multiple pieces of news information are clustered through a pre-trained information clustering model to obtain multiple information sets; wherein, the news content of the multiple pieces of news information included in each information set corresponds to the same news event, and different The news events corresponding to the above information sets are different;
通过新闻专题创建系统,根据各个所述新闻事件对应的多篇新闻资讯,为 各个所述新闻事件创建对应的新闻专题;其中,所述新闻专题用于报道对应的 所述新闻事件;所述新闻专题包括专题名称和专题资讯,所述专题资讯根据所 述新闻专题所报道的新闻事件对应的多篇新闻资讯确定得到。Through the news topic creation system, according to the multiple news information corresponding to each of the news events, a corresponding news topic is created for each of the news events; wherein, the news topic is used to report the corresponding news event; the news A topic includes a topic name and topic information, and the topic information is determined based on a plurality of pieces of news information corresponding to news events reported in the news topic.
可选地,计算机可执行指令在被执行时,通过预先训练的资讯聚类模型对 所述多篇新闻资讯进行聚类,得到多个资讯集合,包括:Optionally, when the computer-executable instructions are executed, the multiple pieces of news information are clustered through a pre-trained information clustering model to obtain multiple information sets, including:
通过预先训练的资讯聚类模型,提取各篇所述新闻资讯的资讯标题,并计 算各篇所述新闻资讯的资讯标题之间的语义相似度;Through the pre-trained information clustering model, extract the information titles of the news information described in each article, and calculate the semantic similarity between the information titles of the news information described in each article;
通过预先训练的资讯聚类模型,根据各篇所述新闻资讯的资讯标题之间的 语义相似度,对各篇所述新闻资讯进行聚类,得到多个资讯集合。Through the pre-trained information clustering model, according to the semantic similarity between the information titles of the news information described in each article, the news information described in each article is clustered to obtain multiple information sets.
可选地,计算机可执行指令在被执行时,还包括:Optionally, when executed, the computer-executable instructions further include:
针对每个资讯集合,对该资讯集合中的各篇新闻资讯的资讯标题进行分词 处理,根据分词得到的多个词,确定该资讯集合对应的新闻事件的事件名称。For each information collection, word segmentation is performed on the information titles of the news articles in the information collection, and the event name of the news event corresponding to the information collection is determined according to the multiple words obtained by word segmentation.
可选地,计算机可执行指令在被执行时,根据各个所述新闻事件对应的多 篇新闻资讯,为各个所述新闻事件创建对应的新闻专题,包括:Optionally, when the computer-executable instructions are executed, according to the multiple pieces of news information corresponding to each of the news events, a corresponding news topic is created for each of the news events, including:
针对每个所述新闻事件,在该新闻事件对应的多篇新闻资讯中选取未记录 预设敏感字和预设敏感词的、并且资讯热度大于预设热度的资讯,将选取的资 讯作为用于报道该新闻事件的新闻专题的专题资讯;For each of the above-mentioned news events, select the information that does not record the preset sensitive words and preset sensitive words in the multiple news information corresponding to the news event, and the information popularity is greater than the preset popularity, and the selected information is used as the Feature information of the news feature covering the news event;
针对每个所述新闻事件,对该新闻事件对应的各篇专题资讯的资讯标题进 行分词处理,在分词得到的多个词中,选取词频-逆文本频率指数TF-IDF值大 于预设阈值的词,根据选取得到的词生成用于报道该新闻事件的新闻专题的专 题名称;For each of the news events, word segmentation is performed on the information titles of each topic information corresponding to the news event, and among the multiple words obtained by word segmentation, select the word frequency-inverse text frequency index TF-IDF value greater than the preset threshold Words, generate the topic titles of the news topics used to report the news event according to the selected words;
针对每个所述新闻事件,基于用于报道该新闻事件的新闻专题的专题资讯 和用于报道该新闻事件的新闻专题的专题名称,创建用于报道该新闻事件的新 闻专题。For each news event, a news topic for reporting the news event is created based on the topic information of the news topic for reporting the news event and the topic name of the news topic for reporting the news event.
可选地,计算机可执行指令在被执行时,还包括:Optionally, when executed, the computer-executable instructions further include:
通过新闻专题创建系统,针对每篇新闻资讯,确定该新闻资讯的来源、转 载量和阅读量,根据该新闻资讯的来源、转载量和阅读量,确定该新闻资讯的 资讯热度。Through the news topic creation system, for each news information, determine the source, reprint volume and reading volume of the news information, and determine the information popularity of the news information according to the source, reprint volume and reading volume of the news information.
可选地,计算机可执行指令在被执行时,还包括:Optionally, when executed, the computer-executable instructions further include:
针对每个所述新闻事件,确定该新闻事件对应的各篇新闻资讯的来源、转 载量和阅读量,根据该新闻事件对应的各篇新闻资讯的来源、转载量和阅读量, 确定该新闻事件的事件热度;For each said news event, determine the source, reprint volume, and reading volume of each piece of news information corresponding to the news event, and determine the news event based on the source, reprint volume, and reading volume of each piece of news information corresponding to the news event the heat of the event;
根据各个所述新闻事件的事件热度生成事件热度排行榜,将所述事件热度 排行榜发送至所述资讯提供方,以供所述资讯提供方根据所述事件热度排行榜 提供新闻资讯。Generate an event popularity ranking list according to the event popularity of each of the news events, and send the event popularity ranking list to the information provider for the information provider to provide news information according to the event popularity ranking list.
本申请实施例中,首先获取资讯提供方提供的多篇新闻资讯,然后通过预 先训练的资讯聚类模型对该多篇新闻资讯进行聚类,得到多个资讯集合,每个 资讯集合包括的多篇新闻资讯的新闻内容对应同一个新闻事件,最后通过新闻 专题创建系统,根据各个新闻事件对应的多篇新闻资讯,为各个新闻事件创建 对应的新闻专题。可见,通过本申请实施例,能够通过资讯聚类模型和新闻专 题创建系统自动创建新闻专题,从而解决人工手动创建新闻专题效率低的问题, 提高新闻专题的创建效率。In the embodiment of the present application, first obtain multiple pieces of news information provided by the information provider, and then cluster the multiple pieces of news information through a pre-trained information clustering model to obtain multiple information sets, each information set includes multiple The news content of each piece of news information corresponds to the same news event, and finally, through the news topic creation system, a corresponding news topic is created for each news event according to the multiple news pieces corresponding to each news event. It can be seen that through the embodiment of the present application, news topics can be automatically created through the information clustering model and the news topic creation system, thereby solving the problem of low efficiency of manually creating news topics and improving the efficiency of creating news topics.
需要说明的是,本申请实施例中的新闻专题创建设备能够实现前述的新闻 专题创建方法的各个过程,并达到相同的效果和功能,这里不再赘述。It should be noted that the news topic creation device in the embodiment of the present application can realize the various processes of the aforementioned news topic creation method, and achieve the same effect and function, and will not repeat them here.
在另一个具体的实施例中,新闻专题创建设备包括有存储器,以及一个或 一个以上的程序,其中一个或者一个以上程序存储于存储器中,且一个或者一 个以上程序可以包括一个或一个以上模块,且每个模块可以包括对新闻专题创 建设备中的一系列计算机可执行指令,且经配置以由一个或者一个以上处理器 执行该一个或者一个以上程序包含用于进行以下计算机可执行指令:In another specific embodiment, the news feature creation device includes a memory, and one or more programs, wherein one or more programs are stored in the memory, and one or more programs may include one or more modules, And each module may include a series of computer-executable instructions in the news topic creation device, and the one or more programs configured to be executed by one or more processors include computer-executable instructions for performing the following:
获取资讯提供方提供的多篇新闻资讯,所述新闻资讯中记录有新闻事件对 应的新闻内容;Obtain multiple news information provided by the information provider, and the news information corresponding to the news event is recorded in the news information;
通过预先训练的资讯聚类模型对所述多篇新闻资讯进行聚类,得到多个资 讯集合;其中,每个所述资讯集合包括的多篇新闻资讯的新闻内容对应同一个 新闻事件,不同所述资讯集合对应的所述新闻事件各不相同;The multiple pieces of news information are clustered through a pre-trained information clustering model to obtain multiple information sets; wherein, the news content of the multiple pieces of news information included in each information set corresponds to the same news event, and different The news events corresponding to the above information sets are different;
根据各个所述新闻事件对应的多篇新闻资讯,确定各个所述新闻事件的事 件热度,根据各个所述新闻事件的事件热度,在各个所述新闻事件中选取目标 事件;According to a plurality of pieces of news information corresponding to each of the news events, determine the event heat of each of the news events, and select the target event in each of the news events according to the event heat of each of the news events;
通过新闻专题创建系统,根据所述目标事件对应的多篇新闻资讯,为所述 目标事件创建新闻专题;其中,所述新闻专题用于报道所述目标事件;所述新 闻专题包括专题名称和专题资讯,所述专题资讯根据所述目标事件对应的多篇 新闻资讯确定得到。Create a news topic for the target event through the news topic creation system according to multiple news information corresponding to the target event; wherein, the news topic is used to report the target event; the news topic includes topic name and topic Information, the topical information is determined according to multiple pieces of news information corresponding to the target event.
可选地,计算机可执行指令在被执行时,根据所述目标事件对应的多篇新 闻资讯,为所述目标事件创建新闻专题,包括:Optionally, when the computer-executable instructions are executed, according to multiple pieces of news information corresponding to the target event, a news topic is created for the target event, including:
在所述目标事件对应的多篇新闻资讯中选取未记录预设敏感字和预设敏 感词的、并且资讯热度大于预设热度的资讯,将选取的资讯作为所述新闻专题 的专题资讯;Select information that does not record preset sensitive words and preset sensitive words, and information heat is greater than preset heat among multiple news information corresponding to the target event, and use the selected information as the special topic information of the news topic;
对各篇所述专题资讯的资讯标题进行分词处理,在分词得到的多个词中, 选取词频-逆文本频率指数TF-IDF值大于预设阈值的词,根据选取得到的词生 成所述新闻专题的专题名称;Perform word segmentation processing on the information titles of the topical information described in each article, select words whose word frequency-inverse text frequency index TF-IDF value is greater than the preset threshold value among the multiple words obtained by word segmentation, and generate the news according to the selected words The topic title of the topic;
基于所述新闻专题的专题名称和所述新闻专题的专题资讯,创建所述新闻 专题。Create the news topic based on the topic name of the news topic and the topic information of the news topic.
可选地,计算机可执行指令在被执行时,根据各个所述新闻事件对应的多 篇新闻资讯,确定各个所述新闻事件的事件热度,包括:Optionally, when the computer-executable instructions are executed, the event popularity of each of the news events is determined according to the plurality of news information corresponding to each of the news events, including:
针对每个所述新闻事件,确定该新闻事件对应的各篇新闻资讯的来源、转 载量和阅读量;For each news event, determine the source, reprint volume and reading volume of each piece of news information corresponding to the news event;
根据该新闻事件对应的各篇新闻资讯的来源、转载量和阅读量,确定该新 闻事件的事件热度。According to the source, reprint volume and reading volume of each piece of news information corresponding to the news event, the event popularity of the news event is determined.
可选地,计算机可执行指令在被执行时,还包括:Optionally, when executed, the computer-executable instructions further include:
根据各个所述新闻事件的事件热度生成事件热度排行榜,将所述事件热度 排行榜发送至所述资讯提供方,以供所述资讯提供方根据所述事件热度排行榜 提供新闻资讯。Generate an event popularity ranking list according to the event popularity of each of the news events, and send the event popularity ranking list to the information provider for the information provider to provide news information according to the event popularity ranking list.
通过本申请实施例,可以自动在各个新闻事件中选取热度较高的目标事件, 并通过资讯聚类模型和新闻专题创建系统自动创建目标事件对应的新闻专题, 从而解决人工手动创建新闻专题效率低的问题,实现热门专题的自动创建,提 高新闻专题的创建效率。Through the embodiment of this application, it is possible to automatically select a target event with high popularity among various news events, and automatically create a news topic corresponding to the target event through the information clustering model and the news topic creation system, thereby solving the problem of low efficiency in manually creating news topics problems, realize the automatic creation of popular topics, and improve the efficiency of creating news topics.
需要说明的是,本申请实施例中的新闻专题创建设备能够实现前述的新闻 专题创建方法的各个过程,并达到相同的效果和功能,这里不再赘述。It should be noted that the news topic creation device in the embodiment of the present application can realize the various processes of the aforementioned news topic creation method, and achieve the same effect and function, and will not repeat them here.
进一步地,本申请实施例还提供了一种存储介质,用于存储计算机可执行 指令,一种具体的实施例中,该存储介质可以为U盘、光盘、硬盘等,该存储 介质存储的计算机可执行指令在被处理器执行时,能实现以下流程:Further, the embodiment of the present application also provides a storage medium for storing computer-executable instructions. In a specific embodiment, the storage medium may be a USB flash drive, an optical disk, a hard disk, etc. When executable instructions are executed by the processor, the following processes can be realized:
获取资讯提供方提供的多篇新闻资讯,所述新闻资讯中记录有新闻事件对 应的新闻内容;Obtain multiple news information provided by the information provider, and the news information corresponding to the news event is recorded in the news information;
通过预先训练的资讯聚类模型对所述多篇新闻资讯进行聚类,得到多个资 讯集合;其中,每个所述资讯集合包括的多篇新闻资讯的新闻内容对应同一个 新闻事件,不同所述资讯集合对应的所述新闻事件各不相同;The multiple pieces of news information are clustered through a pre-trained information clustering model to obtain multiple information sets; wherein, the news content of the multiple pieces of news information included in each information set corresponds to the same news event, and different The news events corresponding to the above information sets are different;
通过新闻专题创建系统,根据各个所述新闻事件对应的多篇新闻资讯,为 各个所述新闻事件创建对应的新闻专题;其中,所述新闻专题用于报道对应的 所述新闻事件;所述新闻专题包括专题名称和专题资讯,所述专题资讯根据所 述新闻专题所报道的新闻事件对应的多篇新闻资讯确定得到。Through the news topic creation system, according to the multiple news information corresponding to each of the news events, a corresponding news topic is created for each of the news events; wherein, the news topic is used to report the corresponding news event; the news A topic includes a topic name and topic information, and the topic information is determined based on a plurality of pieces of news information corresponding to news events reported in the news topic.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,通过预 先训练的资讯聚类模型对所述多篇新闻资讯进行聚类,得到多个资讯集合,包 括:Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, the multiple pieces of news information are clustered through a pre-trained information clustering model to obtain multiple information sets, including:
通过预先训练的资讯聚类模型,提取各篇所述新闻资讯的资讯标题,并计 算各篇所述新闻资讯的资讯标题之间的语义相似度;Through the pre-trained information clustering model, extract the information titles of the news information described in each article, and calculate the semantic similarity between the information titles of the news information described in each article;
通过预先训练的资讯聚类模型,根据各篇所述新闻资讯的资讯标题之间的 语义相似度,对各篇所述新闻资讯进行聚类,得到多个资讯集合。Through the pre-trained information clustering model, according to the semantic similarity between the information titles of the news information described in each article, the news information described in each article is clustered to obtain multiple information sets.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,还包括:Optionally, when executed by the processor, the computer-executable instructions stored in the storage medium further include:
针对每个资讯集合,对该资讯集合中的各篇新闻资讯的资讯标题进行分词 处理,根据分词得到的多个词,确定该资讯集合对应的新闻事件的事件名称。For each information collection, word segmentation is performed on the information titles of the news articles in the information collection, and the event name of the news event corresponding to the information collection is determined according to the multiple words obtained by word segmentation.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,根据各 个所述新闻事件对应的多篇新闻资讯,为各个所述新闻事件创建对应的新闻专 题,包括:Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, a corresponding news topic is created for each of the news events according to multiple pieces of news information corresponding to each of the news events, including:
针对每个所述新闻事件,在该新闻事件对应的多篇新闻资讯中选取未记录 预设敏感字和预设敏感词的、并且资讯热度大于预设热度的资讯,将选取的资 讯作为用于报道该新闻事件的新闻专题的专题资讯;For each of the above-mentioned news events, select the information that does not record the preset sensitive words and preset sensitive words in the multiple news information corresponding to the news event, and the information popularity is greater than the preset popularity, and the selected information is used as the Feature information of the news feature covering the news event;
针对每个所述新闻事件,对该新闻事件对应的各篇专题资讯的资讯标题进 行分词处理,在分词得到的多个词中,选取词频-逆文本频率指数TF-IDF值大 于预设阈值的词,根据选取得到的词生成用于报道该新闻事件的新闻专题的专 题名称;For each of the news events, word segmentation is performed on the information titles of each topic information corresponding to the news event, and among the multiple words obtained by word segmentation, select the word frequency-inverse text frequency index TF-IDF value greater than the preset threshold Words, generate the topic titles of the news topics used to report the news event according to the selected words;
针对每个所述新闻事件,基于用于报道该新闻事件的新闻专题的专题资讯 和用于报道该新闻事件的新闻专题的专题名称,创建用于报道该新闻事件的新 闻专题。For each news event, a news topic for reporting the news event is created based on the topic information of the news topic for reporting the news event and the topic name of the news topic for reporting the news event.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,还包括:Optionally, when executed by the processor, the computer-executable instructions stored in the storage medium further include:
通过新闻专题创建系统,针对每篇新闻资讯,确定该新闻资讯的来源、转 载量和阅读量,根据该新闻资讯的来源、转载量和阅读量,确定该新闻资讯的 资讯热度。Through the news topic creation system, for each news information, determine the source, reprint volume and reading volume of the news information, and determine the information popularity of the news information according to the source, reprint volume and reading volume of the news information.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,还包括:Optionally, when executed by the processor, the computer-executable instructions stored in the storage medium further include:
针对每个所述新闻事件,确定该新闻事件对应的各篇新闻资讯的来源、转 载量和阅读量,根据该新闻事件对应的各篇新闻资讯的来源、转载量和阅读量, 确定该新闻事件的事件热度;For each said news event, determine the source, reprint volume, and reading volume of each piece of news information corresponding to the news event, and determine the news event based on the source, reprint volume, and reading volume of each piece of news information corresponding to the news event the heat of the event;
根据各个所述新闻事件的事件热度生成事件热度排行榜,将所述事件热度 排行榜发送至所述资讯提供方,以供所述资讯提供方根据所述事件热度排行榜 提供新闻资讯。Generate an event popularity ranking list according to the event popularity of each of the news events, and send the event popularity ranking list to the information provider for the information provider to provide news information according to the event popularity ranking list.
本申请实施例中,首先获取资讯提供方提供的多篇新闻资讯,然后通过预 先训练的资讯聚类模型对该多篇新闻资讯进行聚类,得到多个资讯集合,每个 资讯集合包括的多篇新闻资讯的新闻内容对应同一个新闻事件,最后通过新闻 专题创建系统,根据各个新闻事件对应的多篇新闻资讯,为各个新闻事件创建 对应的新闻专题。可见,通过本申请实施例,能够通过资讯聚类模型和新闻专 题创建系统自动创建新闻专题,从而解决人工手动创建新闻专题效率低的问题, 提高新闻专题的创建效率。In the embodiment of the present application, first obtain multiple pieces of news information provided by the information provider, and then cluster the multiple pieces of news information through a pre-trained information clustering model to obtain multiple information sets, each information set includes multiple The news content of each piece of news information corresponds to the same news event, and finally, through the news topic creation system, a corresponding news topic is created for each news event according to the multiple news pieces corresponding to each news event. It can be seen that through the embodiment of the present application, news topics can be automatically created through the information clustering model and the news topic creation system, thereby solving the problem of low efficiency of manually creating news topics and improving the efficiency of creating news topics.
需要说明的是,本申请实施例中的存储介质能够实现前述的新闻专题创建 方法的各个过程,并达到相同的效果和功能,这里不再赘述。It should be noted that the storage medium in the embodiment of the present application can realize the various processes of the aforementioned method for creating a news topic, and achieve the same effect and function, which will not be repeated here.
在另一种具体的实施例中,该存储介质可以为U盘、光盘、硬盘等,该存 储介质存储的计算机可执行指令在被处理器执行时,能实现以下流程:In another specific embodiment, the storage medium can be a USB flash drive, an optical disc, a hard disk, etc., and the computer-executable instructions stored in the storage medium can realize the following process when executed by the processor:
获取资讯提供方提供的多篇新闻资讯,所述新闻资讯中记录有新闻事件对 应的新闻内容;Obtain multiple news information provided by the information provider, and the news information corresponding to the news event is recorded in the news information;
通过预先训练的资讯聚类模型对所述多篇新闻资讯进行聚类,得到多个资 讯集合;其中,每个所述资讯集合包括的多篇新闻资讯的新闻内容对应同一个 新闻事件,不同所述资讯集合对应的所述新闻事件各不相同;The multiple pieces of news information are clustered through a pre-trained information clustering model to obtain multiple information sets; wherein, the news content of the multiple pieces of news information included in each information set corresponds to the same news event, and different The news events corresponding to the above information sets are different;
根据各个所述新闻事件对应的多篇新闻资讯,确定各个所述新闻事件的事 件热度,根据各个所述新闻事件的事件热度,在各个所述新闻事件中选取目标 事件;According to a plurality of pieces of news information corresponding to each of the news events, determine the event heat of each of the news events, and select the target event in each of the news events according to the event heat of each of the news events;
通过新闻专题创建系统,根据所述目标事件对应的多篇新闻资讯,为所述 目标事件创建新闻专题;其中,所述新闻专题用于报道所述目标事件;所述新 闻专题包括专题名称和专题资讯,所述专题资讯根据所述目标事件对应的多篇 新闻资讯确定得到。Create a news topic for the target event through the news topic creation system according to multiple news information corresponding to the target event; wherein, the news topic is used to report the target event; the news topic includes topic name and topic Information, the topical information is determined according to multiple pieces of news information corresponding to the target event.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,根据所 述目标事件对应的多篇新闻资讯,为所述目标事件创建新闻专题,包括:Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, a news topic is created for the target event according to multiple news articles corresponding to the target event, including:
在所述目标事件对应的多篇新闻资讯中选取未记录预设敏感字和预设敏 感词的、并且资讯热度大于预设热度的资讯,将选取的资讯作为所述新闻专题 的专题资讯;Select information that does not record preset sensitive words and preset sensitive words, and information heat is greater than preset heat among multiple news information corresponding to the target event, and use the selected information as the special topic information of the news topic;
对各篇所述专题资讯的资讯标题进行分词处理,在分词得到的多个词中, 选取词频-逆文本频率指数TF-IDF值大于预设阈值的词,根据选取得到的词生 成所述新闻专题的专题名称;Perform word segmentation processing on the information titles of the topical information described in each article, select words whose word frequency-inverse text frequency index TF-IDF value is greater than the preset threshold value among the multiple words obtained by word segmentation, and generate the news according to the selected words The topic title of the topic;
基于所述新闻专题的专题名称和所述新闻专题的专题资讯,创建所述新闻 专题。Create the news topic based on the topic name of the news topic and the topic information of the news topic.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,根据各 个所述新闻事件对应的多篇新闻资讯,确定各个所述新闻事件的事件热度,包 括:Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, the event popularity of each of the news events is determined according to the plurality of news information corresponding to each of the news events, including:
针对每个所述新闻事件,确定该新闻事件对应的各篇新闻资讯的来源、转 载量和阅读量;For each news event, determine the source, reprint volume and reading volume of each piece of news information corresponding to the news event;
根据该新闻事件对应的各篇新闻资讯的来源、转载量和阅读量,确定该新 闻事件的事件热度。According to the source, reprint volume and reading volume of each piece of news information corresponding to the news event, the event popularity of the news event is determined.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,还包括:Optionally, when executed by the processor, the computer-executable instructions stored in the storage medium further include:
根据各个所述新闻事件的事件热度生成事件热度排行榜,将所述事件热度 排行榜发送至所述资讯提供方,以供所述资讯提供方根据所述事件热度排行榜 提供新闻资讯。Generate an event popularity ranking list according to the event popularity of each of the news events, and send the event popularity ranking list to the information provider for the information provider to provide news information according to the event popularity ranking list.
通过本申请实施例,可以自动在各个新闻事件中选取热度较高的目标事件, 并通过资讯聚类模型和新闻专题创建系统自动创建目标事件对应的新闻专题, 从而解决人工手动创建新闻专题效率低的问题,实现热门专题的自动创建,提 高新闻专题的创建效率。Through the embodiment of this application, it is possible to automatically select a target event with high popularity among various news events, and automatically create a news topic corresponding to the target event through the information clustering model and the news topic creation system, thereby solving the problem of low efficiency in manually creating news topics problems, realize the automatic creation of popular topics, and improve the efficiency of creating news topics.
需要说明的是,本申请实施例中的存储介质能够实现前述的新闻专题创建 方法的各个过程,并达到相同的效果和功能,这里不再赘述。It should be noted that the storage medium in the embodiment of the present application can realize the various processes of the aforementioned method for creating a news topic, and achieve the same effect and function, which will not be repeated here.
在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改 进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对 于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已 经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程 编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的 改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field ProgrammableGate Array, FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造 厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电 路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它 与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用 特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware DescriptionLanguage)、 Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL (Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL (RubyHardware Description Language)等,目前最普遍使用的是VHDL (Very-High-SpeedIntegrated Circuit Hardware Description Language)与Verilog。 本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作 逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件 电路。In the 1990s, the improvement of a technology can be clearly distinguished as an improvement in hardware (for example, improvements in circuit structures such as diodes, transistors, and switches) or improvements in software (improvement in method flow). However, with the development of technology, the improvement of many current method flows can be regarded as the direct improvement of the hardware circuit structure. Designers almost always get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement of a method flow cannot be realized with a hardware physical module. For example, a Programmable Logic Device (Programmable Logic Device, PLD) (such as a Field Programmable Gate Array (Field Programmable Gate Array, FPGA)) is such an integrated circuit, and its logic function is determined by programming the device by a user. A digital system is "integrated" on a PLD by the designer's own programming, without the need for a chip manufacturer to design and manufacture a dedicated integrated circuit chip. Moreover, nowadays, instead of making integrated circuit chips by hand, this kind of programming is mostly realized by "logic compiler (logic compiler)" software, which is similar to the software compiler used when writing programs. The original code of the computer must also be written in a specific programming language, which is called a hardware description language (Hardware Description Language, HDL), and there is not only one kind of HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language) , AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc., currently the most commonly used is VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. It should also be clear to those skilled in the art that only a little logic programming of the method flow in the above-mentioned hardware description languages and programming into an integrated circuit can easily obtain a hardware circuit for realizing the logic method flow.
控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器 或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件 或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器 的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可以被实现为存 储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序 代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制 器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包 括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以 将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件 部件内的结构。The controller may be implemented in any suitable way, for example the controller may take the form of a microprocessor or processor and a computer readable medium storing computer readable program code (such as software or firmware) executable by the (micro)processor , logic gates, switches, Application Specific Integrated Circuit (ASIC), programmable logic controllers, and embedded microcontrollers, examples of controllers include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, the memory controller can also be implemented as part of the memory's control logic. Those skilled in the art also know that, in addition to realizing the controller in a purely computer-readable program code mode, it is entirely possible to make the controller use logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded The same function can be realized in the form of a microcontroller or the like. Therefore, this kind of controller can be considered as a hardware component, and the devices included in it for realizing various functions can also be regarded as the structure in the hardware component. Or even, the means for implementing various functions can be regarded as a structure within both a software module implementing a method and a hardware component.
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实 体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。 具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、 智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制 台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。The systems, devices, modules or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementing device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or Combinations of any of these devices.
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然, 在实施本申请时可以把各单元的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, when describing the above devices, functions are divided into various units and described separately. Of course, when implementing the present application, the functions of each unit can be implemented in one or more pieces of software and/or hardware.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计 算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结 合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包 含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、 CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产 品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和 /或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/ 或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入 式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算 机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一 个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It should be understood that each process and/or block in the flowchart and/or block diagram, and a combination of processes and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设 备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中 的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个 流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使 得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处 理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个 流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输 出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器 (RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。 内存是计算机可读介质的示例。Memory may include non-permanent storage in computer-readable media, in the form of random access memory (RAM) and/or nonvolatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer readable media.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任 何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序 的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存 (PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、 其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程 只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器 (CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带 磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计 算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读 媒体(transitory media),如调制的数据信号和载波。Computer-readable media, including both permanent and non-permanent, removable and non-removable media, may be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for computers include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridge, tape magnetic disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media excludes transitory computer-readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排 他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括 那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、 方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括 一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设 备中还存在另外的相同要素。It should also be noted that the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes Other elements not expressly listed, or elements inherent in the process, method, commodity, or apparatus are also included. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程 序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和 硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算 机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、 光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems or computer program products. Accordingly, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请可以在由计算机执行的计算机可执行指令的一般上下文中描述,例 如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的 例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本 申请,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来 执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地 和远程计算机存储介质中。This application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including storage devices.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相 似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。 尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较 简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a progressive manner, the same and similar parts of each embodiment can be referred to each other, and each embodiment focuses on the difference from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for relevant parts, please refer to the part of the description of the method embodiment.
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技 术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所 作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above descriptions are only examples of the present application, and are not intended to limit the present application. For those skilled in the art, various modifications and changes may occur in this application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included within the scope of the claims of the present application.
Claims (20)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910471260.XA CN110162796B (en) | 2019-05-31 | 2019-05-31 | Method and device for creating news topics |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910471260.XA CN110162796B (en) | 2019-05-31 | 2019-05-31 | Method and device for creating news topics |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN110162796A CN110162796A (en) | 2019-08-23 |
| CN110162796B true CN110162796B (en) | 2023-07-18 |
Family
ID=67630956
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910471260.XA Active CN110162796B (en) | 2019-05-31 | 2019-05-31 | Method and device for creating news topics |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110162796B (en) |
Families Citing this family (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111026990B (en) * | 2019-12-05 | 2024-04-16 | 中国银行股份有限公司 | Hot topic log information display method and device |
| CN111209390B (en) * | 2020-01-06 | 2023-09-05 | 新方正控股发展有限责任公司 | News display method and system and computer readable storage medium |
| CN111428049B (en) * | 2020-03-20 | 2023-07-21 | 北京百度网讯科技有限公司 | A method, device, equipment and storage medium for generating event themes |
| CN111460257B (en) * | 2020-03-27 | 2023-10-31 | 北京百度网讯科技有限公司 | Topic generation method, device, electronic equipment and storage medium |
| CN111698573B (en) * | 2020-06-24 | 2021-10-01 | 四川长虹电器股份有限公司 | Movie and television special topic creating method and device |
| CN111667023B (en) * | 2020-06-30 | 2024-04-05 | 腾讯科技(深圳)有限公司 | Method and device for acquiring articles of target category |
| CN112287172B (en) * | 2020-10-29 | 2024-08-20 | 药渡经纬信息科技(北京)有限公司 | Video album generation method and device |
| CN112926298B (en) * | 2021-03-02 | 2024-08-06 | 北京百度网讯科技有限公司 | News content identification method, related device and computer program product |
| CN114780712B (en) * | 2022-04-06 | 2023-07-04 | 科技日报社 | News thematic generation method and device based on quality evaluation |
| CN117076963B (en) * | 2023-10-17 | 2024-01-02 | 北京国科众安科技有限公司 | Information heat analysis method based on big data platform |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103870474B (en) * | 2012-12-11 | 2018-06-08 | 北京百度网讯科技有限公司 | A kind of news topic method for organizing and device |
| CN107066537A (en) * | 2017-03-06 | 2017-08-18 | 广州神马移动信息科技有限公司 | Hot news generation method, equipment, electronic equipment |
| CN109800413A (en) * | 2018-12-11 | 2019-05-24 | 北京百度网讯科技有限公司 | Recognition methods, device, equipment and the readable storage medium storing program for executing of media event |
-
2019
- 2019-05-31 CN CN201910471260.XA patent/CN110162796B/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| CN110162796A (en) | 2019-08-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110162796B (en) | Method and device for creating news topics | |
| CN107038186B (en) | Method and device for generating title, displaying search result and displaying title | |
| US9280595B2 (en) | Application query conversion | |
| US10296538B2 (en) | Method for matching images with content based on representations of keywords associated with the content in response to a search query | |
| CN110134760A (en) | A kind of searching method, device, equipment and medium | |
| CN108171267A (en) | User group partitioning method and device, information push method and device | |
| US10152478B2 (en) | Apparatus, system and method for string disambiguation and entity ranking | |
| JP2017220203A (en) | Method and system for evaluating matching between content item and image based on similarity score | |
| US20180285448A1 (en) | Producing personalized selection of applications for presentation on web-based interface | |
| US10496686B2 (en) | Method and system for searching and identifying content items in response to a search query using a matched keyword whitelist | |
| CN112672184A (en) | Video auditing and publishing method | |
| CN107273476A (en) | A kind of article search method, device and server | |
| CN103942328A (en) | Video retrieval method and video device | |
| Lavid Ben Lulu et al. | Functionality-based clustering using short textual description: Helping users to find apps installed on their mobile device | |
| CN107391540A (en) | A kind of small routine methods of exhibiting, device and grader | |
| Lavid Ben Lulu et al. | Wise mobile icons organization: Apps taxonomy classification using functionality mining to ease apps finding | |
| US20130346385A1 (en) | System and method for a purposeful sharing environment | |
| CN117271611B (en) | An information retrieval method, device and equipment based on large models | |
| CN111488510A (en) | Method and device for determining related words of small program, processing equipment and search system | |
| US9336311B1 (en) | Determining the relevancy of entities | |
| US11625361B2 (en) | Automated file naming and file organization using machine learning | |
| CN115687807A (en) | Information display method, device, terminal and storage medium | |
| CN103793466B (en) | A kind of image search method and device | |
| CN107748801A (en) | News recommendation method, device, terminal device and computer-readable storage medium | |
| CN119089055A (en) | A method, device, equipment and medium for generating search result page |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20200921 Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands Applicant after: Advanced innovation technology Co.,Ltd. Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands Applicant before: Alibaba Group Holding Ltd. |
|
| TA01 | Transfer of patent application right | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20200922 Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands Applicant after: Innovative advanced technology Co.,Ltd. Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands Applicant before: Advanced innovation technology Co.,Ltd. |
|
| TA01 | Transfer of patent application right | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |