WO2020232897A1 - 基于数据分析的语料推荐方法、装置、电子设备及计算机非易失性可读存储介质 - Google Patents
基于数据分析的语料推荐方法、装置、电子设备及计算机非易失性可读存储介质 Download PDFInfo
- Publication number
- WO2020232897A1 WO2020232897A1 PCT/CN2019/103435 CN2019103435W WO2020232897A1 WO 2020232897 A1 WO2020232897 A1 WO 2020232897A1 CN 2019103435 W CN2019103435 W CN 2019103435W WO 2020232897 A1 WO2020232897 A1 WO 2020232897A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- user
- interactive content
- text
- common
- topical
- 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.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/205—Parsing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/279—Recognition of textual entities
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/30—Semantic analysis
Definitions
- This application relates to the technical field of intelligent recommendation, and in particular to a method, device, electronic device, and computer non-volatile readable storage medium for corpus recommendation based on data analysis.
- chat interactive tools interactive applications
- chat interactive tools interactive applications
- users can easily communicate with each other using text, pictures or voice through chat interactive tools.
- friends and classmates can easily communicate with each other through chat interactive tools such as WeChat.
- chat interactive tools such as WeChat.
- I don’t know what to talk about. This is usually caused by two people wondering each other and not understanding each other’s favorite topics, or because one of them is not good at communicating And other reasons.
- social chat routine materials on the market but limited to everyone's understanding and understanding, they have not been well promoted.
- the inventor of the present application realizes that, in the prior art, there is a lack of a solution for judging the poor communication between the interacting parties in real time, and then performing accurate corpus recommendation.
- an object of the present application is to provide a method, device, electronic device, and computer non-volatile readable storage medium for corpus recommendation based on data analysis.
- a corpus recommendation method based on data analysis includes: obtaining in real time the common interactive content of a first user and a second user on a target interactive application; determining whether a topical asymmetric scenario occurs in the common interactive content; When a topical asymmetric situation occurs in the common interactive content, the preference corpus of the first user and the second user is obtained; the preference corpus of the second user is recommended to the first user, and/or The preference corpus of the first user is recommended to the second user.
- a corpus recommendation device based on data analysis includes: a first acquisition module for real-time acquisition of the common interactive content of a first user and a second user on a target interactive application; a judgment module for judging the Whether there is a topical asymmetry situation in the common interactive content; a second acquisition module, used to acquire the preference corpus of the first user and the second user when it is determined that the topical asymmetrical situation occurs in the common interactive content; a recommendation module, For recommending the preference corpus of the second user to the first user, and/or recommending the preference corpus of the first user to the second user.
- an electronic device in another aspect, includes: a processor; and a memory for storing a corpus recommendation program of the processor; wherein the processor is configured to execute any one of the foregoing by executing the corpus recommendation program The method described.
- a computer non-volatile readable storage medium has a corpus recommendation program stored thereon, wherein the corpus recommendation program is executed by a processor to implement any of the methods described above.
- the first user or the second user who interacts is accurately recommended to each other's corpus, and when the interaction between the two parties is not smooth, the user interaction is promptly and accurately promoted, and the user experience is improved .
- Fig. 1 schematically shows a flow chart of a corpus recommendation method based on data analysis.
- Figure 2 schematically shows an example diagram of an application scenario of a corpus recommendation method based on data analysis.
- Fig. 3 schematically shows a flow chart of a method for judging whether a topical asymmetric scenario occurs in common interactive content.
- Fig. 4 schematically shows a block diagram of a corpus recommendation device based on data analysis.
- Fig. 5 shows a block diagram of an electronic device for implementing the above-mentioned data analysis-based corpus recommendation method according to an exemplary embodiment.
- Fig. 6 shows a schematic diagram of a computer non-volatile readable storage medium for implementing the aforementioned data analysis-based corpus recommendation method according to an exemplary embodiment.
- This example embodiment first provides a corpus recommendation method based on data analysis.
- the corpus recommendation method based on data analysis can be run on a server, a server cluster or a cloud server, etc.
- the method for corpus recommendation based on data analysis may include the following steps:
- Step S110 Acquire the common interactive content of the first user and the second user on the target interactive application in real time
- Step S120 judging whether a topical asymmetry scenario occurs in the common interactive content
- Step S140 Recommend the preference corpus of the second user to the first user, and/or recommend the preference corpus of the first user to the second user.
- the common interactive content of the first user and the second user on the target interactive application is acquired in real time; the common interactive content of the first user and the second user on the target interactive application is acquired in real time , Based on the common interactive content of the two users, it is possible to accurately determine whether the first user and the second user have a topical asymmetric scenario such as poor communication. Then, it is judged whether there is a topical asymmetry scene in the common interactive content; by judging that there is a topical asymmetry scene between the first user and the second user who are communicating, which makes it difficult for the communication to continue, it can be targeted at both parties in real time. Take interactive assistance measures to effectively improve the smoothness of interaction.
- the preference corpus of the first user and the second user is obtained; by obtaining the favorite topic corpus of the first user and the second user, that is, the preference corpus , And then can promptly and accurately recommend the user's preference corpus of interactive objects, effectively ensuring that the topic interaction between the two parties continues normally.
- the preference corpus of the second user is recommended to the first user, and/or the preference corpus of the first user is recommended to the second user; this can accurately interact with The first user or the second user recommends the other party's corpus, and in the case of poor interaction between the two interacting parties, promptly and accurately promote user interaction and improve user experience.
- the server 201 obtains the common interactive content of the first user and the second user on the target interactive application in real time from the terminal 202 of the first user and the terminal 203 of the second user.
- the common interactive content is, for example, the chat content of the first user through the chat software on the first user terminal 202 and the second user through the chat software on the second user terminal 203.
- the server 201 can be any terminal that can execute program instructions, such as mobile phones, computers, etc.; the terminal device 202 can be any terminal that can execute application systems and send information, such as mobile phones, computers, and so on.
- the current time point is 12:30
- the common interaction content between 12:30 and 10:30 can be obtained, so that the interaction can be judged
- the content of the changes in the interaction scenario within the predetermined time period For example, the interaction has been poor, or the interaction has suddenly been poor.
- the analysis of the user's interaction is maintained on the common interactive content within the predetermined time period, which effectively reduces the computational analysis load and improves the computational analysis efficiency.
- step S120 it is determined whether a topical asymmetry scenario occurs in the common interactive content.
- the topic asymmetric scenario is when two users are interacting with each other, when the topic between the two users is not in the same channel or there is no common topic, etc., the interaction is not smooth. . This will be very detrimental to the further development of both parties.
- interactive assistance measures can be taken for the two parties interacting in real time, which effectively improves the smoothness of the interaction. For example, in the subsequent steps, corpus recommendation and other communication aids can be used to enable the two parties in the interaction to further interact, effectively and timely avoiding awkward chat situations that are not conducive to interpersonal communication.
- the determining whether a topical asymmetry scenario occurs in the common interactive content includes:
- the using the pre-analyzed interactive content to determine whether a topical asymmetric scenario occurs in the common interactive content includes:
- the use of all the adjectives to determine whether a topical asymmetric situation occurs in the common interactive content, as shown in FIG. 3, includes:
- Step S310 Obtain the score point of each adjective from the interactive word score point database
- Step S330 Use the wave curve to determine whether a topical asymmetric scenario occurs in the common interactive content.
- the number of troughs in the wave curve exceeds a predetermined threshold, it means that there are too many adjectives at low score points, which is very unfavorable to the smooth progress of the topic. For example, there are a total of 10 troughs and 6 crests, and the frequency of measuring troughs is 63%. If the predetermined threshold value is 50% based on historical data, it means that the topic is asymmetry.
- step S130 when it is determined that a topical asymmetric scenario occurs in the common interactive content, the preference corpus of the first user and the second user is acquired.
- the obtaining the preference corpus of the first user and the second user includes:
- each word composing the text is obtained , And then count the words that appear most frequently among the words that make up the text, that is, the words that the user speaks the most, indicating that the user prefers the corpus. Then, the sensitive words are eliminated from the multiple words with the most occurrences, that is, the words that the user has privacy are eliminated, which can effectively ensure the user's information security. For example, after matching through the sensitive vocabulary, the sensitive vocabulary can be identified and then eliminated. Finally, the remaining multiple words are used as the preference corpus of the first user and the second user to effectively ensure the accuracy and safety of the preference corpus.
- step S140 the preference corpus of the second user is recommended to the first user, and/or the preference corpus of the first user is recommended to the second user.
- the preference corpus of the second user is recommended to the first user, and/or the preference corpus of the first user is recommended to the second user Before the recommendation, the method also includes:
- the common interactive content is composed of each sub-interaction content of the first user and each sub-interaction content of the second user, where the sub-interaction content is, for example, a separate message such as a text message or a voice sent by the user.
- the interval between the sub-interaction contents of the two users is obtained respectively, that is, for example, the interval between each user's message Interval time; then by summing the intervals between the sub-interactions of the two users separately, the waiting time or thinking time of the two users in the common interactive content can be obtained when no message is sent, that is The first sum and the second sum.
- the absolute value of the difference obtained by calculating the difference between the first sum and the second sum is the time that one of the two users has not sent a message compared to the other, which can reflect the user's slowness in interaction.
- the first predetermined threshold is 10
- the first sum is 50
- the second predetermined threshold is 20, indicating that the time that the first user did not send a message is 50, which is seriously exceeding the conventional 20.
- it exceeds the time when the second user does not send a message. 30, exceeding the conventional 10, which indicates whether the first user needs the other party’s preference corpus.
- the corpus recommendation is used as a reminder in the subsequent steps.
- the absolute value of the difference is less than the first predetermined threshold, for example, the absolute value of the difference is 5, less than the first predetermined threshold 10, the first sum of 50 and the second sum of 55 both exceed the second predetermined threshold 20, determine It is stated that both the first user and the second user did not spend too much time in the interaction process. It can be accurately judged when the first user and the second user lack the expectations of the other party, do not know what the other party likes, and cannot start the interaction. To the user's expectation that the other party needs. Further, when the user should not send a message for a long time due to other reasons, the corpus recommendation is used as a reminder in the subsequent steps.
- the preference corpus of the second user is recommended to the first user, and/or the preference corpus of the first user is recommended to the second user ,include:
- the preference corpus of the second user is recommended to the first user, or the preference corpus of the first user is recommended to the first user The second user recommendation.
- the user's expectations are sent to the other when one party needs it, and the accuracy of the corpus recommendation can be achieved.
- modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory.
- the features and functions of two or more modules or units described above may be embodied in one module or unit.
- the features and functions of a module or unit described above can be further divided into multiple modules or units to be embodied.
- the electronic device 500 is represented in the form of a general-purpose computing device.
- the components of the electronic device 500 may include, but are not limited to: the aforementioned at least one processing unit 510, the aforementioned at least one storage unit 520, and a bus 530 connecting different system components (including the storage unit 520 and the processing unit 510).
- Step S120 obtain the common interactive content of the first user and the second user on the target interactive application in real time;
- S120 determine whether a topic appears in the common interactive content Asymmetric scenario;
- Step S130 When it is determined that a topical asymmetric scenario occurs in the common interactive content, obtain the preference corpus of the first user and the second user;
- Step S140 Convert the preference corpus of the second user Recommend to the first user, and/or recommend the preference corpus of the first user to the second user.
- the storage unit 520 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 5201 and/or a cache storage unit 5202, and may further include a read-only storage unit (ROM) 5203.
- RAM random access storage unit
- ROM read-only storage unit
- the bus 530 may represent one or more of several types of bus structures, including a storage unit bus or a storage unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local area using any bus structure among multiple bus structures. bus.
- the exemplary embodiments described herein can be implemented by software, or can be implemented by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (can be a CD-ROM, U disk, mobile hard disk, etc.) or on the network , Including several instructions to make a computing device (which may be a personal computer, server, terminal device, or network device, etc.) execute the method according to the embodiment of the present application.
- a non-volatile storage medium can be a CD-ROM, U disk, mobile hard disk, etc.
- Including several instructions to make a computing device which may be a personal computer, server, terminal device, or network device, etc.
- a computer-readable storage medium is also provided, on which is stored a program product capable of implementing the foregoing method of this specification.
- various aspects of the present invention may also be implemented in the form of a program product, which includes program code, and when the program product runs on a terminal device, the program code is used to make the The terminal device executes the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of this specification.
- the computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
- the readable signal medium may also be any readable medium other than a readable storage medium, and the readable medium may send, propagate, or transmit a program for use by or in combination with the instruction execution system, apparatus, or device.
- the program code contained on the readable medium can be transmitted by any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
- the remote computing device can be connected to the client computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (for example, using Internet service providers) Business to connect via the Internet).
- LAN local area network
- WAN wide area network
- an external computing device for example, using Internet service providers
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本申请提供了一种基于数据分析的语料推荐方法、装置、电子设备及计算机非易失性可读存储介质,属于智能推荐技术领域,该方法包括:实时获取第一用户与第二用户在目标交互应用上的共同交互内容;判断所述共同交互内容中是否出现话题不对称情景;当判断到所述共同交互内容中出现话题不对称情景,获取所述第一用户和第二用户的偏好语料;将所述第二用户的所述偏好语料向所述第一用户推荐,和/或将所述第一用户的所述偏好语料向所述第二用户推荐。本申请可以准确地向进行交互的第一用户或第二用户进行对方语料的推荐,在交互的双方之间出现交互不畅的情况下,及时、准确地促进用户交互,提高用户体验。
Description
本申请要求2019年05月23日递交、发明名称为“基于数据分析的语料推荐方法、装置、介质及电子设备”的中国专利申请201910435903.5的优先权,在此通过引用将其全部内容合并于此。
本申请涉及智能推荐技术领域,尤其涉及一种基于数据分析的语料推荐方法、装置、电子设备及计算机非易失性可读存储介质。
通过聊天交互工具(交互应用)进行交互沟通的方式是目前主流的交互方式。目前,通常大部分的社交场景中,用户通过聊天交互工具利用文字图片或者语音可以方便地进行交流,比如朋友、同学间通过微信等聊天交互工具方便地沟通交流。但部分男女生以及其它形式的交互场景中,经常会出现尬聊,不知聊什么的情况,这通常是因为两个人互相疑惑,不了解对方喜欢的话题导致的,或者,由于其中一方不善于交流等原因导致的。市场上也有许多社交聊天的套路素材,但限于每个人的理解和领悟,并没有得到很好的推广。
本申请的发明人意识到,现有技术中,缺少一种根据实时判断交互双方的交流不畅,进而进行语料准确推荐的方案。
为了解决上述技术问题,本申请的一个目的在于提供一种基于数据分析的语料推荐方法、装置、电子设备及计算机非易失性可读存储介质。
其中,本申请所采用的技术方案为:
一方面,一种基于数据分析的语料推荐方法,包括:实时获取第一用户与第二用户在目标交互应用上的共同交互内容;判断所述共同交互内容中是否出现话题不对称情景;当判断到所述共同交互内容中出现话题不对称情景,获取所述第一用户和第二用户的偏好语料;将所述第二用户的所述偏好语料向所述第一用户推荐,和/或将所述第一用户的所述偏好语料向所述第二用户推荐。
另一方面,一种基于数据分析的语料推荐装置,包括:第一获取模块,用于实时获取第一用户与第二用户在目标交互应用上的共同交互内容;判断模块,用于判断所述共同交互内容中是否出现话题不对称情景;第二获取模块,用于当判断到所述共同交互内容中出现话题不对称情景,获取所述第一用户和第二用户的偏好语料;推荐模块,用于将所述第二用户的所述偏好语料向所述第一用户推荐,和/或将所述第一用户的所述偏好语料向所述第二用户推荐。
另一方面,一种电子设备,包括:处理器;以及存储器,用于存储所述处理器的语料推荐程序;其中,所述处理器配置为经由执行所述语料推荐程序来执行上述任一项所述的方法。
另一方面,一种计算机非易失性可读存储介质,其上存储有语料推荐程序,其特征在于,所述语料推荐程序被处理器执行时实现上述任一项所述的方法。
在上述技术方案中,准确地向进行交互的第一用户或第二用户进行对方语料的推荐,在交互的双方之间出现交互不畅的情况下,及时、准确地促进用户交互,提高用户体验。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并于说明书一起用于解释本申请的原理。
图1示意性示出一种基于数据分析的语料推荐方法的流程图。
图2示意性示出一种基于数据分析的语料推荐方法的应用场景示例图。
图3示意性示出一种判断共同交互内容中是否出现话题不对称情景的方法流程图。
图4示意性示出一种基于数据分析的语料推荐装置的方框图。
图5示出根据示例性实施例的用于实现上述基于数据分析的语料推荐方法的电子设备的框图。
图6示出根据示例性实施例的用于实现上述基于数据分析的语料推荐方法的计算机非易失性可读存储介质的示意图。
通过上述附图,已示出本申请明确的实施例,后文中将有更详细的描述,这些附图和文字描述并不是为了通过任何方式限制本申请构思的范围,而是通过参考特定实施例为本领域技术人员说明本申请的概念。
这里将详细地对示例性实施例执行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。
现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本申请将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。
本示例实施方式中首先提供了基于数据分析的语料推荐方法,该基于数据分析的语料推荐方法可以运行于的服务器,也可以运行于服务器集群或云服务器等,当然,本领域技术人员也可以根据需求在其他平台运行本发明的方法,本示例性实施例中对此不做特殊限定。参考图1所示,该基于数据分析的语料推荐方法可以包括以下步骤:
步骤S110,实时获取第一用户与第二用户在目标交互应用上的共同交互内容;
步骤S120,判断所述共同交互内容中是否出现话题不对称情景;
步骤S130,当判断到所述共同交互内容中出现话题不对称情景,获取所述第一用户和第二用户的偏好语料;
步骤S140,将所述第二用户的所述偏好语料向所述第一用户推荐,和/或将所述第一用户的所述偏好语料向所述第二用户推荐。
上述基于数据分析的语料推荐方法中,首先,实时获取第一用户与第二用户在目标交互应用上的共同交互内容;通过实时获取第一用户与第二用户在目标交互应用上的共同交互内容,可以实时根据两个用户的共同交互内容,进行第一用户与第二用户是否出现交流不畅等话题不对称情景的准确判断。然后,判断所述共同交互内容中是否出现话题不对称情景;通过判断正在交流的第一用户和第二用户之间出现导致交流很难继续进行下去的话题不对称情景,可以实时针对交互的双方进行采取交互帮助措施,有效提高交互通畅性。然后,当判断到所述共同交互内容中出现话题不对称情景,获取所述第一用户和第二用户的偏好语料;通过获取第一用户和第二用户的喜欢的话题语料,也就是偏好语料,进而可以及时、准确地对用户进行推荐交互对象的偏好语料,有效保证双方话题交互继续通常进行。最后,将所述第二用户的所述偏好语料向所述第一用户推荐,和/或将所述第一用户的所述偏好语料向所述第二用户推荐;这样可以准确地向进行交互的第一用户或第二用户进行对方语料的推荐,在交互的双方之间出现交互不畅的情况下,及时、准确地促进用户交互,提高用户体验。
下面,将结合附图对本示例实施方式中上述基于数据分析的语料推荐方法中的各步骤进行详细的解释以及说明。
在步骤S110中,实时获取第一用户与第二用户在目标交互应用上的共同交互内容。
在本示例的实施方式中,参考图2所示,服务器201从第一用户的终端202和第二用户的终端203上,实时获取第一用户与第二用户在目标交互应用上的共同交互内容,共同交互内容就是例如,第一用户通过第一用户终端202上的聊天软件,与第二用户通过第二用户终端203上的聊天软件的聊天内容。其中,服务器201可以是任何具有执行程序指令的终端,例如手机、电脑等;终端设备202可以是任何具有应用系统执行、信息发送功能的终端,例如手机、电脑等。
在第一用户的第二用户在交互应用上进行交互聊天时,通过获取第一用户与第二用户在交互应用上的聊天交互内容,也就是共同交互内容,例如,两个用户的聊天内容等,就可以准确地判断两个用户的交流状况,例如是否交流顺畅,是否出现缺少话题导致的尬聊的情况等。获取共同交互内容可以是例如实时爬取当前聊天时刻点到之前的预定时间段的话题等。
在本示例的一种实施方式中,所述实时获取第一用户与第二用户在目标交互应用上的共同交互内容,包括:
获取所述第一用户与第二用户在目标交互应用上进行交互的当前时刻点;
获取所述第一用户与第二用户从当前时刻点开始的之前预定时间段的共同交互内容。
通过获取用户从当前时刻点开始的之前预定时间段的共同交互内容,例如,当前时刻点为12:30分,获取12:30分到10点30分之间的共同交互内容,这样可以判断交互内容该预定时间段内交互情景的变化情况。例如,一直是交互不畅,或者突然交互不畅等。同时,使得对用户的交互情况分析保持在预定时间段的范围内的共同交互内容上,有效降低计算分析负荷,提高计算分析效率。
在步骤S120中,判断所述共同交互内容中是否出现话题不对称情景。
在本示例的实施方式中,话题不对称情景就是当两个用户之间进行交互聊天的过程过程中,出现双方之间的话题不在同一个频道或者没有共同的话题等导致的交互不通畅的情景。这样会非常不利于双方的进一步发展。通过判断正在交流的第一用户和第二用户之间出现导致交流很难继续进行下去的话题不对称情景,可以实时针对交互的双方进行采取交互帮助措施,有效提高交互通畅性。例如,在后续步骤中进行语料推荐等交流辅助,使得交互中的双方进一步的交互,有效、及时地避免尬聊的不利于人际交往的情景。
在本示例的一种实施方式中,所述判断所述共同交互内容中是否出现话题不对称情景,包括:
获取所述共同交互内容中非文本形式的交互内容;
将所述非文本形式的交互内容转化为文本;
将所述非文本形式的交互内容转化得到文本和所述共同交互内容中文本形式的交互内容组成预分析交互内容;
利用所述预分析交互内容,判断所述共同交互内容中是否出现话题不对称情景。
通常在交互应用中包括多种形式的交互方式,例如文字形式,语音形式以及微表情等方式;通过获取非文本形式的交互内容,例如语音和微表情等;然后将非文本形式的交互内容转化为文本,例如将语音通过现有的语义转文字技术转化为文本,根据微表情的标签将微表情转化为文本。然后将非文本形式的交互内容转化得到文本和共同交互内容中文本形式的交互内容组成预分析交互内容。这样就可以保证通过共同交互内容中所有的内容通过文本形式的预分析交互内容,进行话题不对称情景的准确判断,有效保证判断准确率。
在本示例的一种实施方式中,所述利用所述预分析交互内容,判断所述共同交互内容中是否出现话题不对称情景,包括:
将所述预分析交互内容的文本分词,得到组成所述预分析交互内容的各个词;
从所述各个词中获取所有形容词;
利用所有所述形容词判断所述共同交互内容中是否出现话题不对称情景。
通过分词技术将预分析交互内容的文本分词,可以得到组成预分析交互内容的各个词,例如,将“我不想去”分成“我”,“不想”,“去”。然后从分词后得到的词中获取形容词,例如“不想”,通常形容词是表示人物内心的变化最准确的词汇,进而通过获取形容词可以准确地判断是否出现话题不对称情景,例如,出现很多与“不想”等有关的词,说明出现了话题不对称情景。
在本示例的一种实施方式中,所述利用所有所述形容词判断所述共同交互内容中是否出现话题不对称情景,参考图3所示,包括:
步骤S310,从交互词分值点数据库中,获取每个所述形容词的分值点;
步骤S320,按照每个所述形容词在所述共同交互内容中的时刻点为横坐标,每个所述形容词的分值点为纵坐标,形成直角坐标系中的波形曲线;
步骤S330,利用所述波形曲线判断所述共同交互内容中是否出现话题不对称情景。
交互词分值点数据库就是存储有各种交互场景的词汇,而且每个词汇根据对交互场景的顺利进行的贡献进行评分设置分值点。这样就可以从交互词数据库中,获取共同交互内容的中形容词的分值点。然后按照每个形容词在共同交互内容中的时刻点为横坐标,每个所述形容词的分值为纵坐标,形成直角坐标系中的波形曲线,可以清楚显示出用户之间的交互是否顺利进行,可以清楚、简介直观的展示出交互情况。同时,可以利用该波形曲线准确、高效地判断是否出现话题不对称情景,例如通过波形图中反应分值点高点变化的波峰和波谷统计进行是否出现话题不对称情景的准确判断。
在本示例的一种实施方式中,所述利用所述波形曲线判断所述共同交互内容中是否出现话题不对称情景,包括:
获取所述波形曲线中波谷的数目;
当所述波谷的频率超过预定阈值判断出现话题不对称情景。
当波形曲线中波谷的数目超过预定阈值,就说明低分值点的形容词过多,非常不利于话题的顺利进行。例如,一共有10个波谷,6个波峰,测波谷的频率就为63%,如果根据历史数据统计的预定阈值为50%,说明出现话题不对称情景。
在步骤S130中,当判断到所述共同交互内容中出现话题不对称情景,获取所述第一用户和第二用户的偏好语料。
在本示例的实施方式中,当出现话题不对称情景时,说明用户双方的交流不畅,具有不能继续进行下去的危机,此时,通过获取第一用户和第二用户的偏好语料,就是第一用户和第二用户各自喜欢的话题,就可以互相进行推送,进而使得双方得以继续寻找到聊天话题。
在本示例的一种实施方式中,所述获取所述第一用户和第二用户的偏好语料,包括:
获取所述所述第一用户和第二用户的历史交互内容;
分别将所述第一用户和第二用户的所有所述历史交互内容转化为文本;
分别将所有所述历史交互内容的文本分词,得到组成所述文本的各个词;
分别将组成所述文本的各个词中出现次数最多的多个词;
从所述出现次数最多的多个词剔除敏感词汇后,将剩余的多个词作为所述第一用户和第二用户的偏好语料。
通过获取第一用户和第二用户的历史交互内容,例如第一用户和第二用户历史上与其他用户的交互内容,将所有历史交互内容转化为文本后分词,得到组成所述文本的各个词,然后统计数组成所述文本的各个词中出现次数最多的多个词,也就是用户说的最多的多个词,说明用户比较喜欢该语料。然后,从出现次数最多的多个词剔除敏感词汇,也就是剔除用户具有隐私的词汇,可以有效保证用户的信息安全。例如,可以通过敏感词汇表进行匹配后,确定出敏感词汇,然后予以剔除。最后将剩余的多个词作为所述第一用户和第二用户的偏好语料,有效保证偏好语料的准确性和安全性。
在步骤S140中,将所述第二用户的所述偏好语料向所述第一用户推荐,和/或将所述第一用户的所述偏好语料向所述第二用户推荐。
在本示例的实施方式中,通过将第二用户的偏好语料向第一用户推荐,和/或将第一用户的偏好语料向所述第二用户推荐,可以辅助双方用户了解对方喜欢的话题,在交互的双方之间出现交互不畅的情况下,及时、准确地促进用户交互,进而有效促进人际关系的发展,同时提高用户体验。
在本示例的一种实施方式中,在将所述第二用户的所述偏好语料向所述第一用户推荐,和/或将所述第一用户的所述偏好语料向所述第二用户推荐之前,所述方法还包括:
从所述共同交互内容中,分别获取所述第一用户的各子交互内容以及所述第二用户的各子交互内容;
获取所述第一用户的各子交互内容之间的时间间隔的第一总和;
获取所述第二用户的各子交互内容之间的时间间隔的第二总和;
获取所述第一总和与所述第二总和的差值的绝对值;
根据所述差值的绝对值是否超过第一预定阈值、所述第一总和是否超过第二预定阈值,判断所述第一用户是否需要对方的偏好语料;
根据所述差值的绝对值是否超过第一预定阈值、所述第二总和是否超过第二预定阈值,判断所述第二用户是否需要对方的偏好语料;
根据所述差值的绝对值是否小于第一预定阈值、所述第一总和及第二总和是否都超过第二预定阈值,判断所述第一用户及第二用户是否需要对方的偏好语料。
共同交互内容由第一用户的各子交互内容以及第二用户的各子交互内容组成,其中子交互内容就是例如用户发送一条文字消息或者一条语音等单独的消息。通过获取第一用户的各子交互内容以及第二用户的各子交互内容组成,然后,分别获取两个用户的各子交互内容之间的间隔,也就是例如,用户的每条消息之间的间隔时间;然后通过将分别将两个用户的各子交互内容之间的间隔求和,就可以得到两个用户在共同交互内容中各自的等待时间或者思考时间等没有发送消息的时间,也就是第一总和和第二总和。然后,第一总和及第二总和求差得到的差值的绝对值就是两个用户中一方没有发送消息的时间相对于另一方多出的时间,可以反映用户的交互迟钝程度。
根据差值的绝对值是否超过第一预定阈值、第一总和是否超过第二预定阈值,判断所述第一用户是否需要对方的偏好语料,就是例如,当差值的绝对值为30,第一预定阈值的10,第一总和为50,第二预定阈值为20,说明第一用户没有发送消息的时间为50,严重超过常规的20,同时,相对于第二用户没有发送消息的时间超出了30,超过了常规的10,这就说明第一用户是否需要对方的偏好语料。这样,可以在第一用户缺少对方的预料,不知道对方喜欢什么,无从着手交互时,准确判断到用户需要对方的预料。进一步的,当用户应为其它原因导致的没有发送消息时间较长时,在后续步骤通过语料推荐作为提醒。
同样的根据差值的绝对值是否超过第一预定阈值、第二总和是否超过第二预定阈值,判断所述第二用户是否需要对方的偏好语料。
根据差值的绝对值是否小于第一预定阈值,例如差值的绝对值为5,小于第一预定阈值10,第一总和为50及第二总和为55都超过第二预定阈值20,判断所述第一用户和第二用户都在交互过程中没有花费与交互的时间过长,可以在第一用户和第二用户都缺少对方的预料,不知道对方喜欢什么,无从着手交互时,准确判断到用户需要对方的预料。进一步的,当用户应为其它原因导致的没有发送消息时间较长时,在后续步骤通过语料推荐作为提醒。
在本示例的一种实施方式中,将所述第二用户的所述偏好语料向所述第一用户推荐,和/或将所述第一用户的所述偏好语料向所述第二用户推荐,包括:
当判断所述第一用户和第二用户都需要对方的偏好语料时,将所述第二用户的所述偏好语料向所述第一用户推荐,和将所述第一用户的所述偏好语料向所述第二用户推荐;
当判断所述第一用户或第二用户需要对方的偏好语料时,将所述第二用户的所述偏好语料向所述第一用户推荐,或将所述第一用户的所述偏好语料向所述第二用户推荐。
将用户的预料在一方需要时,发送给另一方,可以实现语料推荐的精确性。
本申请还提供了一种基于数据分析的语料推荐装置。参考图4所示,该基于数据分析的语料推荐装置可以包括第一获取模块410、判断模块420、第二获取模块430以及推荐模块440。其中:
第一获取模块410可以用于实时获取第一用户与第二用户在目标交互应用上的共同交互内容;
判断模块420可以用于判断所述共同交互内容中是否出现话题不对称情景;
第二获取模块430可以用于当判断到所述共同交互内容中出现话题不对称情景,获取所述第一用户和第二用户的偏好语料;
推荐模块440可以用于将所述第二用户的所述偏好语料向所述第一用户推荐,和/或将所述第一用户的所述偏好语料向所述第二用户推荐。
上述基于数据分析的语料推荐装置中各模块的具体细节已经在对应的基于数据分析的语料推荐方法中进行了详细的描述,因此此处不再赘述。
应当注意,尽管在上文详细描述中提及了用于动作执行的设备的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本申请的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。
此外,尽管在附图中以特定顺序描述了本申请中方法的各个步骤,但是,这并非要求或者暗示必须按照该特定顺序来执行这些步骤,或是必须执行全部所示的步骤才能实现期望的结果。附加的或备选的,可以省略某些步骤,将多个步骤合并为一个步骤执行,以及/或者将一个步骤分解为多个步骤执行等。
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本申请实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、移动终端、或者网络设备等)执行根据本申请实施方式的方法。
在本申请的示例性实施例中,还提供了一种能够实现上述方法的电子设备。
所属技术领域的技术人员能够理解,本发明的各个方面可以实现为系统、方法或程序产品。因此,本发明的各个方面可以具体实现为以下形式,即:完全的硬件实施方式、完全的软件实施方式(包括固件、微代码等),或硬件和软件方面结合的实施方式,这里可以统称为“电路”、“模块”或“系统”。
下面参照图5来描述根据本发明的这种实施方式的电子设备500。图5显示的电子设备500仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。
如图5所示,电子设备500以通用计算设备的形式表现。电子设备500的组件可以包括但不限于:上述至少一个处理单元510、上述至少一个存储单元520、连接不同系统组件(包括存储单元520和处理单元510)的总线530。
其中,所述存储单元存储有程序代码,所述程序代码可以被所述处理单元510执行,使得所述处理单元510执行本说明书上述“示例性方法”部分中描述的根据本发明各种示例性实施方式的步骤。例如,所述处理单元510可以执行如图1中所示的步骤S110:实时获取第一用户与第二用户在目标交互应用上的共同交互内容;S120:判断所述共同交互内容中是否出现话题不对称情景;步骤S130:当判断到所述共同交互内容中出现话题不对称情景,获取所述第一用户和第二用户的偏好语料;步骤S140:将所述第二用户的所述偏好语料向所述第一用户推荐,和/或将所述第一用户的所述偏好语料向所述第二用户推荐。
存储单元520可以包括易失性存储单元形式的可读介质,例如随机存取存储单元(RAM)5201和/或高速缓存存储单元5202,还可以进一步包括只读存储单元(ROM)5203。
存储单元520还可以包括具有一组(至少一个)程序模块5205的程序/实用工具5204,这样的程序模块5205包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。
总线530可以为表示几类总线结构中的一种或多种,包括存储单元总线或者存储单元控制器、外围总线、图形加速端口、处理单元或者使用多种总线结构中的任意总线结构的局域总线。
电子设备500也可以与一个或多个外部设备700(例如键盘、指向设备、蓝牙设备等)通信,还可与一个或者多个使得客户能与该电子设备500交互的设备通信,和/或与使得该电子设备500能与一个或多个其它计算设备进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口550进行。并且,电子设备500还可以通过网络适配器560与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器560通过总线530与电子设备500的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备500使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本申请实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、终端装置、或者网络设备等)执行根据本申请实施方式的方法。
在本申请的示例性实施例中,还提供了一种计算机可读存储介质,其上存储有能够实现本说明书上述方法的程序产品。在一些可能的实施方式中,本发明的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当所述程序产品在终端设备上运行时,所述程序代码用于使所述终端设备执行本说明书上述“示例性方法”部分中描述的根据本发明各种示例性实施方式的步骤。
参考图6所示,描述了根据本发明的实施方式的用于实现上述方法的程序产品600,其可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在终端设备,例如个人电脑上运行。然而,本发明的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。
所述程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以为但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。
计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。
可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF等等,或者上述的任意合适的组合。
可以以一种或多种程序设计语言的任意组合来编写用于执行本发明操作的程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在客户计算设备上执行、部分地在客户设备上执行、作为一个独立的软件包执行、部分在客户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到客户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。
此外,上述附图仅是根据本发明示例性实施例的方法所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块中同步或异步执行的。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本申请的其他实施例。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由权利要求指出。
Claims (28)
- 一种基于数据分析的语料推荐方法,其特征在于,包括:实时获取第一用户与第二用户在目标交互应用上的共同交互内容;判断所述共同交互内容中是否出现话题不对称情景;当判断到所述共同交互内容中出现话题不对称情景,获取所述第一用户和第二用户的偏好语料;将所述第二用户的所述偏好语料向所述第一用户推荐,和/或将所述第一用户的所述偏好语料向所述第二用户推荐。
- 根据权利要求1所述的方法,所述实时获取第一用户与第二用户在目标交互应用上的共同交互内容,包括:获取所述第一用户与第二用户在目标交互应用上进行交互的当前时刻点;获取所述第一用户与第二用户从当前时刻点开始的之前预定时间段的共同交互内容。
- 根据权利要求1所述的方法,所述判断所述共同交互内容中是否出现话题不对称情景,包括:获取所述共同交互内容中非文本形式的交互内容;将所述非文本形式的交互内容转化为文本;将所述非文本形式的交互内容转化得到文本和所述共同交互内容中文本形式的交互内容组成预分析交互内容;利用所述预分析交互内容,判断所述共同交互内容中是否出现话题不对称情景。
- 根据权利要求3所述的方法,所述利用所述预分析交互内容,判断所述共同交互内容中是否出现话题不对称情景,包括:将所述预分析交互内容的文本分词,得到组成所述预分析交互内容的各个词;从所述各个词中获取所有形容词;利用所有所述形容词判断所述共同交互内容中是否出现话题不对称情景。
- 根据权利要求4所述的方法,所述利用所有所述形容词判断所述共同交互内容中是否出现话题不对称情景,包括:从交互词分值点数据库中,获取每个所述形容词的分值点;按照每个所述形容词在所述共同交互内容中的时刻点为横坐标,每个所述形容词的分值点为纵坐标,形成直角坐标系中的波形曲线;利用所述波形曲线判断所述共同交互内容中是否出现话题不对称情景。
- 根据权利要求5所述的方法,所述利用所述波形曲线判断所述共同交互内容中是否出现话题不对称情景,包括:获取所述波形曲线中波谷的数目;当所述波谷的频率超过预定阈值判断出现话题不对称情景。
- 根据权利要求1所述的方法,所述获取所述第一用户和第二用户的偏好语料,包括:获取所述所述第一用户和第二用户的历史交互内容;分别将所述第一用户和第二用户的所有所述历史交互内容转化为文本;分别将所有所述历史交互内容的文本分词,得到组成所述文本的各个词;分别将组成所述文本的各个词中出现次数最多的多个词;从所述出现次数最多的多个词剔除敏感词汇后,将剩余的多个词作为所述第一用户和第二用户的偏好语料。
- 一种基于数据分析的语料推荐装置,其特征在于,包括:第一获取模块,用于实时获取第一用户与第二用户在目标交互应用上的共同交互内容;判断模块,用于判断所述共同交互内容中是否出现话题不对称情景;第二获取模块,用于当判断到所述共同交互内容中出现话题不对称情景,获取所述第一用户和第二用户的偏好语料;推荐模块,用于将所述第二用户的所述偏好语料向所述第一用户推荐,和/或将所述第一用户的所述偏好语料向所述第二用户推荐。
- 根据权利要求8所述的装置,所述第一获取模块被配置为:获取所述第一用户与第二用户在目标交互应用上进行交互的当前时刻点;获取所述第一用户与第二用户从当前时刻点开始的之前预定时间段的共同交互内容。
- 根据权利要求8所述的装置,所述判断模块被配置为:获取所述共同交互内容中非文本形式的交互内容;将所述非文本形式的交互内容转化为文本;将所述非文本形式的交互内容转化得到文本和所述共同交互内容中文本形式的交互内容组成预分析交互内容;利用所述预分析交互内容,判断所述共同交互内容中是否出现话题不对称情景。
- 根据权利要求10所述的装置,所述判断模块还被配置为:将所述预分析交互内容的文本分词,得到组成所述预分析交互内容的各个词;从所述各个词中获取所有形容词;利用所有所述形容词判断所述共同交互内容中是否出现话题不对称情景。
- 根据权利要求11所述的装置,所述判断模块还被配置为:从交互词分值点数据库中,获取每个所述形容词的分值点;按照每个所述形容词在所述共同交互内容中的时刻点为横坐标,每个所述形容词的分值点为纵坐标,形成直角坐标系中的波形曲线;利用所述波形曲线判断所述共同交互内容中是否出现话题不对称情景。
- 根据权利要求12所述的装置,所述判断模块还被配置为:获取所述波形曲线中波谷的数目;当所述波谷的频率超过预定阈值判断出现话题不对称情景。
- 根据权利要求8所述的装置,所述第一获取模块被配置为:获取所述所述第一用户和第二用户的历史交互内容;分别将所述第一用户和第二用户的所有所述历史交互内容转化为文本;分别将所有所述历史交互内容的文本分词,得到组成所述文本的各个词;分别将组成所述文本的各个词中出现次数最多的多个词;从所述出现次数最多的多个词剔除敏感词汇后,将剩余的多个词作为所述第一用户和第二用户的偏好语料。
- 一种电子设备,其特征在于,包括:处理器及存储器,所述存储器上存储所述处理器的语料推荐程序;其中,所述处理器配置为经由执行所述语料推荐程序来执行以下处理:实时获取第一用户与第二用户在目标交互应用上的共同交互内容;判断所述共同交互内容中是否出现话题不对称情景;当判断到所述共同交互内容中出现话题不对称情景,获取所述第一用户和第二用户的偏好语料;将所述第二用户的所述偏好语料向所述第一用户推荐,和/或将所述第一用户的所述偏好语料向所述第二用户推荐。
- 根据权利要求15所述的电子设备,其特征在于,所述实时获取第一用户与第二用户在目标交互应用上的共同交互内容,包括:获取所述第一用户与第二用户在目标交互应用上进行交互的当前时刻点;获取所述第一用户与第二用户从当前时刻点开始的之前预定时间段的共同交互内容。
- 根据权利要求15所述的电子设备,其特征在于,所述判断所述共同交互内容中是否出现话题不对称情景,包括:获取所述共同交互内容中非文本形式的交互内容;将所述非文本形式的交互内容转化为文本;将所述非文本形式的交互内容转化得到文本和所述共同交互内容中文本形式的交互内容组成预分析交互内容;利用所述预分析交互内容,判断所述共同交互内容中是否出现话题不对称情景。
- 根据权利要求17所述的电子设备,其特征在于,所述利用所述预分析交互内容,判断所述共同交互内容中是否出现话题不对称情景,包括:将所述预分析交互内容的文本分词,得到组成所述预分析交互内容的各个词;从所述各个词中获取所有形容词;利用所有所述形容词判断所述共同交互内容中是否出现话题不对称情景。
- 根据权利要求18所述的电子设备,其特征在于,所述利用所有所述形容词判断所述共同交互内容中是否出现话题不对称情景,包括:从交互词分值点数据库中,获取每个所述形容词的分值点;按照每个所述形容词在所述共同交互内容中的时刻点为横坐标,每个所述形容词的分值点为纵坐标,形成直角坐标系中的波形曲线;利用所述波形曲线判断所述共同交互内容中是否出现话题不对称情景。
- 根据权利要求19所述的电子设备,其特征在于,所述利用所述波形曲线判断所述共同交互内容中是否出现话题不对称情景,包括:获取所述波形曲线中波谷的数目;当所述波谷的频率超过预定阈值判断出现话题不对称情景。
- 根据权利要求15所述的电子设备,其特征在于,所述获取所述第一用户和第二用户的偏好语料,包括:获取所述所述第一用户和第二用户的历史交互内容;分别将所述第一用户和第二用户的所有所述历史交互内容转化为文本;分别将所有所述历史交互内容的文本分词,得到组成所述文本的各个词;分别将组成所述文本的各个词中出现次数最多的多个词;从所述出现次数最多的多个词剔除敏感词汇后,将剩余的多个词作为所述第一用户和第二用户的偏好语料。
- 一种计算机非易失性可读存储介质,其上存储有语料推荐程序,其特征在于,所述语料推荐程序被处理器执行时来执行一下处理:实时获取第一用户与第二用户在目标交互应用上的共同交互内容;判断所述共同交互内容中是否出现话题不对称情景;当判断到所述共同交互内容中出现话题不对称情景,获取所述第一用户和第二用户的偏好语料;将所述第二用户的所述偏好语料向所述第一用户推荐,和/或将所述第一用户的所述偏好语料向所述第二用户推荐。
- 根据权利要求22所述的计算机非易失性可读存储介质,其特征在于,所述实时获取第一用户与第二用户在目标交互应用上的共同交互内容,包括:获取所述第一用户与第二用户在目标交互应用上进行交互的当前时刻点;获取所述第一用户与第二用户从当前时刻点开始的之前预定时间段的共同交互内容。
- 根据权利要求22所述的计算机非易失性可读存储介质,其特征在于,所述判断所述共同交互内容中是否出现话题不对称情景,包括:获取所述共同交互内容中非文本形式的交互内容;将所述非文本形式的交互内容转化为文本;将所述非文本形式的交互内容转化得到文本和所述共同交互内容中文本形式的交互内容组成预分析交互内容;利用所述预分析交互内容,判断所述共同交互内容中是否出现话题不对称情景。
- 根据权利要求24所述的计算机非易失性可读存储介质,其特征在于,所述利用所述预分析交互内容,判断所述共同交互内容中是否出现话题不对称情景,包括:将所述预分析交互内容的文本分词,得到组成所述预分析交互内容的各个词;从所述各个词中获取所有形容词;利用所有所述形容词判断所述共同交互内容中是否出现话题不对称情景。
- 根据权利要求25所述的计算机非易失性可读存储介质,其特征在于,所述利用所有所述形容词判断所述共同交互内容中是否出现话题不对称情景,包括:从交互词分值点数据库中,获取每个所述形容词的分值点;按照每个所述形容词在所述共同交互内容中的时刻点为横坐标,每个所述形容词的分值点为纵坐标,形成直角坐标系中的波形曲线;利用所述波形曲线判断所述共同交互内容中是否出现话题不对称情景。
- 根据权利要求26所述的计算机非易失性可读存储介质,其特征在于,所述利用所述波形曲线判断所述共同交互内容中是否出现话题不对称情景,包括:获取所述波形曲线中波谷的数目;当所述波谷的频率超过预定阈值判断出现话题不对称情景。
- 根据权利要求22所述的计算机非易失性可读存储介质,其特征在于,所述获取所述第一用户和第二用户的偏好语料,包括:获取所述所述第一用户和第二用户的历史交互内容;分别将所述第一用户和第二用户的所有所述历史交互内容转化为文本;分别将所有所述历史交互内容的文本分词,得到组成所述文本的各个词;分别将组成所述文本的各个词中出现次数最多的多个词;从所述出现次数最多的多个词剔除敏感词汇后,将剩余的多个词作为所述第一用户和第二用户的偏好语料。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910435903.5 | 2019-05-23 | ||
| CN201910435903.5A CN110334341B (zh) | 2019-05-23 | 2019-05-23 | 基于数据分析的语料推荐方法、装置、介质及电子设备 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020232897A1 true WO2020232897A1 (zh) | 2020-11-26 |
Family
ID=68139117
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2019/103435 Ceased WO2020232897A1 (zh) | 2019-05-23 | 2019-08-29 | 基于数据分析的语料推荐方法、装置、电子设备及计算机非易失性可读存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN110334341B (zh) |
| WO (1) | WO2020232897A1 (zh) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103955470A (zh) * | 2014-03-28 | 2014-07-30 | 华为技术有限公司 | 热点话题推送方法和装置 |
| CN107562724A (zh) * | 2017-08-25 | 2018-01-09 | 浙江翼信科技有限公司 | 用于引导聊天的方法、设备、服务器和计算机可读存储介质 |
| US20180166076A1 (en) * | 2016-12-14 | 2018-06-14 | Panasonic Intellectual Property Management Co., Ltd. | Voice interaction device, voice interaction method, voice interaction program, and robot |
| CN109033377A (zh) * | 2018-07-27 | 2018-12-18 | 重庆柚瓣家科技有限公司 | 一种辅助社交的聊天系统及方法 |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104836720B (zh) * | 2014-02-12 | 2022-02-25 | 北京三星通信技术研究有限公司 | 交互式通信中进行信息推荐的方法及装置 |
| US20160196490A1 (en) * | 2015-01-02 | 2016-07-07 | International Business Machines Corporation | Method for Recommending Content to Ingest as Corpora Based on Interaction History in Natural Language Question and Answering Systems |
| CN105068661B (zh) * | 2015-09-07 | 2018-09-07 | 百度在线网络技术(北京)有限公司 | 基于人工智能的人机交互方法和系统 |
| CN106020488A (zh) * | 2016-06-03 | 2016-10-12 | 北京光年无限科技有限公司 | 一种面向对话系统的人机交互方法及装置 |
-
2019
- 2019-05-23 CN CN201910435903.5A patent/CN110334341B/zh active Active
- 2019-08-29 WO PCT/CN2019/103435 patent/WO2020232897A1/zh not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103955470A (zh) * | 2014-03-28 | 2014-07-30 | 华为技术有限公司 | 热点话题推送方法和装置 |
| US20180166076A1 (en) * | 2016-12-14 | 2018-06-14 | Panasonic Intellectual Property Management Co., Ltd. | Voice interaction device, voice interaction method, voice interaction program, and robot |
| CN107562724A (zh) * | 2017-08-25 | 2018-01-09 | 浙江翼信科技有限公司 | 用于引导聊天的方法、设备、服务器和计算机可读存储介质 |
| CN109033377A (zh) * | 2018-07-27 | 2018-12-18 | 重庆柚瓣家科技有限公司 | 一种辅助社交的聊天系统及方法 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110334341A (zh) | 2019-10-15 |
| CN110334341B (zh) | 2022-05-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10462300B2 (en) | Technologies for monitoring interaction between customers and agents using sentiment detection | |
| US8214344B2 (en) | Search engine inference based virtual assistance | |
| US10679627B2 (en) | Processing system for intelligently linking messages using markers based on language data | |
| US11176463B2 (en) | Automating table-based groundtruth generation | |
| US20230088445A1 (en) | Conversational recommendation method, method of training model, device and medium | |
| CN111861596B (zh) | 一种文本分类方法和装置 | |
| US20240119074A1 (en) | Recognizing polling questions from a conference call discussion | |
| US12216895B1 (en) | Populating answers to polling questions based on initial responses | |
| CN113011159A (zh) | 人工座席监听方法、装置、电子设备及存储介质 | |
| CN117971661A (zh) | 大模型测试方法、装置、电子设备及存储介质 | |
| CN114118937A (zh) | 基于任务的信息推荐方法、装置、电子设备及存储介质 | |
| CN116863931A (zh) | 一种设备语义控制方法、装置、设备及存储介质 | |
| TW202201244A (zh) | 一種在線訪談的方法及系統 | |
| WO2020232897A1 (zh) | 基于数据分析的语料推荐方法、装置、电子设备及计算机非易失性可读存储介质 | |
| EP3519981B1 (en) | Detection of duplicate packetized data transmission | |
| US10847161B2 (en) | Processing system using intelligent messaging flow markers based on language data | |
| CN113343090B (zh) | 用于推送信息的方法、装置、设备、介质和产品 | |
| US20250291946A1 (en) | Maintaining non-access-restricted and access-restricted databases to mitigate and/or eliminate instances of outgoing electronic communications that are initiated in response to receiving requests from users | |
| CN118410024A (zh) | 内容分享方法、装置、电子设备及存储介质 | |
| CN120744052A (zh) | 基于ai大模型的响应超时处理方法、装置和存储介质 | |
| CN118098282A (zh) | 事件上报方法和电子设备 | |
| CN114254139A (zh) | 数据处理方法、样本获取方法、模型训练方法和装置 | |
| CN121255020A (zh) | 一种智能交互系统、方法及电子设备 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19929682 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 19929682 Country of ref document: EP Kind code of ref document: A1 |