WO2020037921A1 - Expression picture prompting method and apparatus, computer device, and storage medium - Google Patents

Expression picture prompting method and apparatus, computer device, and storage medium Download PDF

Info

Publication number
WO2020037921A1
WO2020037921A1 PCT/CN2018/123558 CN2018123558W WO2020037921A1 WO 2020037921 A1 WO2020037921 A1 WO 2020037921A1 CN 2018123558 W CN2018123558 W CN 2018123558W WO 2020037921 A1 WO2020037921 A1 WO 2020037921A1
Authority
WO
WIPO (PCT)
Prior art keywords
keyword
expression
target
keywords
expression picture
Prior art date
Application number
PCT/CN2018/123558
Other languages
French (fr)
Chinese (zh)
Inventor
刘继鹏
魏斌斌
冯智斌
伍朗
安栋
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2020037921A1 publication Critical patent/WO2020037921A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content

Definitions

  • the present application relates to the field of computers, and in particular, to a method, a device, a computer device, and a storage medium for prompting an expression picture.
  • the embodiments of the present application provide a method, a device, a computer device, and a storage medium for prompting an expression picture, so as to solve the problem of inefficient search for the expression picture.
  • An expression picture prompting method includes:
  • Acquire an expression picture selection instruction select at least one target expression picture from the candidate expression pictures according to the expression picture selection instruction, and output the target expression picture.
  • An expression picture prompting device includes:
  • a text-to-text module configured to obtain a user's voice and convert the user's voice into corresponding text
  • a target keyword obtaining module configured to obtain a preset keyword list, and extract a target keyword from the text according to the preset keyword list;
  • a candidate expression picture acquisition module configured to acquire a candidate expression picture according to the target keyword
  • a target expression picture selection module is configured to obtain an expression picture selection instruction, select at least one target expression picture from the candidate expression pictures according to the expression picture selection instruction, and output the target expression picture.
  • a computer device includes a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor.
  • the processor executes the computer-readable instructions, the following steps are implemented:
  • Acquire an expression picture selection instruction select at least one target expression picture from the candidate expression pictures according to the expression picture selection instruction, and output the target expression picture.
  • a computer non-volatile readable storage medium stores computer readable instructions. When the computer readable instructions are executed by a processor, the following steps are implemented:
  • Acquire an expression picture selection instruction select at least one target expression picture from the candidate expression pictures according to the expression picture selection instruction, and output the target expression picture.
  • a user's voice is first obtained, the user's voice is converted into corresponding text, and the meaning contained in the user's voice is obtained through the text.
  • the text realizes the expression of the expression picture; then, a preset keyword list is obtained, and the target keywords are extracted from the text according to the preset keyword list.
  • the target keyword in the text is extracted through the preset keyword list.
  • the target keywords related to user needs are extracted from the text, and the target keywords are reflected by the keywords stored in the keyword table; then the candidate expression pictures are obtained according to the target keywords, and the corresponding candidate expression pictures can be determined by the target keywords.
  • the candidate expression pictures are obtained based on the target keywords, which can ensure the correlation between the candidate expression pictures and the target keywords and reflect the internal connection with the target keywords, and can ensure that the obtained candidate expression pictures are more accurate, Appropriate; finally get the emoticon picture selection instruction, according to the emoticon picture
  • the selection instruction selects at least one target expression picture from the candidate expression pictures and outputs the target expression picture.
  • the user can realize the function of outputting at least one target expression picture from the candidate expression pictures through the expression picture selection instruction, which effectively improves the expression picture. Output efficiency.
  • FIG. 1 is a flowchart of a method for prompting an expression picture according to an embodiment of the present application
  • FIG. 2 is a schematic diagram of an expression picture prompting device according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a computer device according to an embodiment of the present application.
  • FIG. 1 shows a flowchart of a method for prompting an expression picture in this embodiment.
  • the emoticon picture reminding method can be applied to a chat type application, and is used to implement the function of obtaining a candidate emoticon picture from a chat type application and selecting at least one target emoticon picture from the candidate emoticon picture.
  • a chat-type application on a computer device.
  • the computer device is a device that can perform human-computer interaction with a user, including, but not limited to, a computer, a smart phone, and a tablet.
  • the method for prompting an expression picture includes the following steps:
  • S10 Acquire the user's voice, and convert the user's voice into corresponding text.
  • acquiring the user's voice may be achieved by collecting the user's voice through a recording module integrated on the computer device or a recording device connected to the computer device.
  • the computer device collects the voice emitted by the user when the target application is running and the user uses the target application.
  • the target application may refer to a chat-type application, such as WeChat, QQ, and Ali Wangwang.
  • the computer device will capture and acquire the user's voice in real time, and convert the user's voice into corresponding text.
  • the user's voice carries a corresponding meaning
  • the computer device cannot directly recognize the user's voice and cannot know the meaning carried in the user's voice. Therefore, the user's voice needs to be converted to recognize it. Specifically, it can be implemented by converting the user's voice into corresponding text, so as to know the meaning in the user's voice, and realize a more accurate and appropriate expression picture prompt function according to the meaning in the user's voice.
  • S20 Obtain a preset keyword list, and extract target keywords from the text according to the preset keyword list.
  • the keyword table refers to a data table created based on keywords and storing keywords. You can find out which specific words belong to keywords through this keyword list. Understandably, the keyword list defines keywords, and words appearing in the keyword list are considered keywords.
  • a preset keyword list is searched and obtained from a database, and the target keywords are extracted from the text according to the keywords recorded and stored in the keyword list.
  • the text obtained by the user's voice conversion contains information related to keywords and information not related to keywords, and it is necessary to find out information related to keywords (that is, target keywords) in the text through a keyword table.
  • the keyword-related information appearing in the text is only a part of all the keywords. Therefore, the keywords extracted in the text are called target keywords.
  • the preset keyword list is used to extract the target keywords of the text.
  • the target keywords related to the user's needs can be extracted from the text to obtain accurate and suitable candidate expression pictures based on the target keywords. Provide a favorable foundation.
  • corresponding candidate expression pictures can be obtained according to the target keywords, where one or more candidate expression pictures can be obtained.
  • the text is "I'm tired, I'm going to sleep”
  • the target keywords extracted from the text are "I", “Fatigue”, and "Sleep.”
  • the candidate expression pictures are obtained based on the target keywords, which can ensure the correlation between the candidate expression pictures and the target keywords and the internal connection between the candidate expression pictures and the target keywords, and can make the obtained candidate expression pictures more accurate and appropriate.
  • S40 Obtain an expression picture selection instruction, select at least one target expression picture from the candidate expression pictures according to the expression picture selection instruction, and output the target expression picture.
  • the expression picture selection instruction refers to an operation instruction for selecting an expression.
  • the target expression picture refers to the expression that the user wants to obtain.
  • the computer device obtains an expression picture selection instruction input by the user, selects at least one target expression picture from the candidate expression pictures according to the expression picture selection instruction, and outputs the target expression picture.
  • the emoticon picture selection instruction can be obtained in different ways. It can be the user's voice to convert the voice into an emoticon picture selection instruction to select an emoticon, or the user can click and the computer device generates an emoticon picture based on the click trigger. Select the command for expression selection.
  • there may be one or more candidate expression pictures and the user may select one or more target expression pictures from the candidate expression pictures according to actual needs, and output the target expression pictures.
  • the function of outputting at least one target expression picture from the candidate expression pictures by the user through the expression picture selection instruction can be implemented, and the efficiency of the expression picture output can be effectively improved.
  • steps S10-S40 the meaning contained in the user's voice is obtained by converting the user's voice into the corresponding text, and the expression picture prompt is realized based on the text;
  • the target keyword in the text is extracted through a preset keyword list, which can Extract the target keywords related to user needs from the text, and provide a favorable basis for subsequent accurate and suitable candidate expression pictures based on the target keywords.
  • the corresponding candidate expression pictures can be determined by the target keywords to ensure that the candidate expression pictures and The correlation between the target keywords and the internal relationship with the target keywords can make the obtained candidate expression pictures more accurate and appropriate; at least one target expression can be selected from the candidate expression pictures through the expression picture selection instruction The function of picture output effectively improves the efficiency of expression picture output.
  • step S10 that is, before the steps of obtaining the user's voice and converting the user's voice into corresponding text, the following steps are specifically included:
  • S111 Set the voice emission monitoring function and voice interception function according to the voice function setting instruction.
  • obtaining user voice requires real-time user voice monitoring and user voice interception of the target application. Therefore, it is necessary to obtain a voice function setting instruction input by the user and set the corresponding voice to issue monitoring according to the instruction.
  • Function and voice interception function Specifically, the voice emission monitoring function is used to detect the emission and end of the user's voice, and the voice interception function is to intercept the corresponding user's voice within the time period when the user's voice is emitted and ended, and to monitor and intercept the user's voice can use the corresponding function
  • the method function (or interface) is implemented and set in the target application, so that the user's voice issued by the user when using the target application can be obtained smoothly.
  • S112 Use the voice-out monitoring function to monitor whether the user emits user voice.
  • the voice emission monitoring function should be activated before obtaining the user's voice in order to monitor the user's voice in real time.
  • the (voice) set voice activation monitoring function is used to use the function to monitor the user's voice. To monitor.
  • the voice interception function when the user's voice is monitored by the voice emission monitoring function, the voice interception function is activated accordingly to obtain the user voice. Understandably, the activation condition of the voice interception function is the emission of the user's voice. After the user's voice is monitored, the voice interception function can be activated immediately to obtain the user's voice in the first time.
  • Steps S111-S113 provide a better implementation for obtaining user's voice. It can monitor whether the user's voice is issued and ended in real time, and activate the voice interception function when the user's voice is monitored. Guarantee.
  • step S10 acquiring the user voice, acquiring the user voice, and converting the user voice into corresponding text, specifically includes the following steps:
  • S121 Acquire a user voice and convert the user voice into a corresponding file stream.
  • the file stream is also called a character stream or a byte stream.
  • the acquired user voice includes, but is not limited to, audio files in a format such as wav, but the acquired user voice cannot be directly recognized, and an audio file in a format such as wav needs to be converted into a file stream to convert the user voice according to the file stream Converted to text.
  • the file stream is essentially a carrier way to save the user's voice in a binary form. After reading the "file stream", the user's voice can be converted into corresponding text.
  • the file stream can be converted into text through a speech recognition interface, where the speech recognition interface refers to an interface that is encapsulated for converting a user's speech into corresponding text.
  • the speech recognition interface is made to decode a file stream by using acoustic characteristics, the relationship between each word in the user's voice in the context, and the mapping relationship between text and pronunciation, and obtain the text generated after the file stream is decoded.
  • the acoustic characteristics include the transfer relationship between each pronunciation, and the relationship between the pronunciation and the acoustic characteristics, that is, after the file stream is decoded, a text corresponding to an audio file (user voice) is generated.
  • Acoustic characteristics, the relationship of each word in the context, and the mapping relationship between words and pronunciation can be established through the establishment of corresponding mathematical models and continuous training to improve the model. For example, you can build an acoustic model based on the transfer relationship between pronunciations, and the relationship between pronunciation and sonic characteristics; build a language model based on the relationship of each word in the context; build a dictionary model based on the mapping relationship between text and pronunciation; thereafter , Training the established acoustic model, language model and dictionary model respectively, and then decoding the file stream through the trained acoustic model, language model and dictionary model to convert the file stream into text.
  • the user's voice is converted into a file stream recognized by the computer, and then the file stream is converted into text through a voice recognition interface.
  • the voice recognition interface uses acoustic features and the relationship between the words in the user's voice in the context
  • the decoding relationship between the text and pronunciation decodes the file stream, which can effectively ensure that the user's speech is accurately converted to text, and provides an important implementation basis for subsequent extraction of target keywords from the text.
  • step S20 that is, the step of obtaining a preset keyword list and extracting the target keywords from the text according to the preset keyword list, specifically includes the following steps:
  • the user has more or less emoticon pictures in the target application, and some of the emoticon pictures are set with emoticon tag words.
  • each emoticon picture in some emoticons has a corresponding tag word
  • a set of emoticons contains expression tags corresponding to multiple emoticon pictures such as "happy”, “angry”, “sad”, “sleeping” and "bye”.
  • expression tags corresponding to multiple emoticon pictures such as "happy”, “angry”, “sad”, “sleeping” and "bye”.
  • the user can customize the settings and set a corresponding expression tag word for each expression picture.
  • the emoticon pictures stored by the user in the target application can all be emoji pictures to be associated, and the emoji pictures to be associated are emoji pictures to be associated, and the specific association of the emoji pictures to be associated can be realized according to the expression tag words.
  • the expression pictures to be associated are obtained, that is, the expression pictures that the user wants to associate in the target application are obtained in advance.
  • the expression tag words actually represent the meaning of various expression pictures to be associated, so the expression tag words are used as keywords, and a keyword list is created based on the keywords (the keyword list corresponds to the preset in step S20) Keyword list), that is, keywords are determined based on the expression tag words.
  • the keyword list here is specifically set according to the expression pictures to be associated stored in the target application. If you use the open source keyword list directly, the amount of data will be too large (more keywords), which will obviously cause The data is redundant and cannot be closely matched with the actual usage of the user, which will waste memory resources and reduce operating efficiency.
  • Steps S21-S22 obtain the emoticon pictures to be associated in the target application according to the actual situation of the user, and create a keyword list according to the actual situation of the user according to the expression tag words.
  • the keyword list here is created relative to each different user, which can effectively improve the utilization of memory resources and the efficiency of operation.
  • step S30 obtaining candidate expression pictures according to the target keywords, specifically includes the following steps:
  • S311 Obtain a keyword standardized comparison table, and convert the target keywords into the target standard keywords according to the keyword standardized comparison table.
  • a keyword standardized comparison table is obtained, wherein the keyword standardized comparison table refers to a data table storing a mapping relationship between keywords and standard keywords, and the table may be created in advance.
  • the keyword standardized comparison table refers to a data table storing a mapping relationship between keywords and standard keywords
  • the table may be created in advance.
  • “88”, "bye” and “bye” all express the same meaning. You can unify “88” and “bye” into the keyword “bye”, and use “bye” as the standard keyword. It can be understood In actual scenarios, each user's terminology is different, which is prone to errors when creating a data table with a mapping relationship between keywords and expression pictures, and increases the redundancy of the data. Therefore, you can standardize different keywords with the same meaning and take one of the words with the same meaning as the standard word.
  • the keywords extracted in the user's voice will be standardized and converted first.
  • a target keyword is converted into a target standard keyword according to a keyword normalization comparison table.
  • the target keyword is extracted from the text, and the target keyword is a subset of the keyword.
  • the keyword range is relatively large.
  • the target keywords correspond to the keywords in the user's voice.
  • S312 Obtain a standard keyword mapping table, and obtain a candidate expression picture corresponding to the target standard keyword according to the standard keyword mapping table.
  • a standard keyword mapping table is obtained, wherein the standard keyword mapping table refers to a data table storing a mapping relationship between the standard keywords and the expression pictures to be associated, and the table may be created in advance.
  • the target standard keywords are standard keywords, and the target standard keywords can obtain corresponding candidate expression pictures according to the keyword mapping table.
  • the target keywords are converted into the target standard keywords through the keyword standardized comparison table, which can standardize the target keywords and effectively improve subsequent acquisition candidates.
  • the accuracy of the expression pictures, and then the corresponding candidate expression pictures are obtained through the standard keyword mapping table.
  • the candidate expression pictures can be quickly obtained according to the mapping relationship between the standard keywords and the expression pictures to be associated.
  • step S30 that is, before the step of obtaining the keyword standardized comparison table, the following steps are specifically included:
  • S321 Create a keyword standardized comparison table according to the meaning of keywords in the keyword table, and use the keyword standardized comparison table to standardize keywords to obtain standard keywords.
  • the keyword list includes keywords, and the keywords include keyword meanings.
  • a standardized keyword comparison table can be created according to the meaning of keywords. For example, different keywords with the same meaning are “sleep”, “training” and “sleeping". The key word is “sleep”, and "sleep” is the standard keyword. After the keyword normalization comparison table is created according to the meaning of the keywords, when “training” and “sleeping” are encountered again, the “training” and “sleeping” will be automatically standardized according to the mapping relationship stored in the table. Get the standard keyword "sleep".
  • S322 Create a mapping relationship between the standard keywords and the expression pictures to be associated, and obtain a standard keyword mapping table.
  • a mapping relationship between a standard keyword and an expression picture to be associated is created.
  • a mapping relationship between the keyword and the expression picture to be associated can be implemented by using a HashMap, where the HashMap is Implementation of Map interface based on hash table.
  • This implementation provides all optional mapping operations and allows the use of null values and null keys. (Except for asynchronous and null, HashMap is roughly the same as Hashtable.)
  • HashMap is roughly the same as Hashtable.
  • ⁇ Integer, List> represents the "key” and "value” of the key-value pair, where the key value can be an integer and used as an ID-like primary key.
  • the value value can be used in the List collection.
  • a standard keyword mapping table is created by creating a keyword standardized comparison table and using the standard keywords obtained from the keyword standardized comparison table to standardize the target keywords in steps S311-S312 and pass the standard key
  • the acquisition of corresponding candidate expression pictures by the word mapping table provides an important technical basis, and both the keyword standardized comparison table and the standard keyword mapping table are based on the expression pictures stored in the target application (where (Emotions are to-be-associated expression pictures) data tables that are "tailored", which can improve the efficiency of obtaining candidate expression pictures and improve the accuracy of logic between keywords.
  • step S30 that is, after the step of obtaining a candidate expression picture corresponding to the target standard keyword according to the keyword mapping table, the method specifically includes the following steps:
  • S331 If the number of candidate expression pictures exceeds a preset number threshold, the preset names of the candidate expression pictures are displayed in the form of a list.
  • the preset names of the candidate expression pictures are displayed in the form of a list, where the preset name refers to the preset The name that is related to the expression and is represented by a text bar.
  • the preset name can be a text bar: "Gang Xiaohu, shy", Jiang Xiaohu represents the name of this series of emoticons, and shyness is a standard keyword . This is just one of the design methods of the preset name, which is not limited here.
  • the candidate expression pictures are directly displayed.
  • non-album expression packs that is, favorite expression packs
  • can also be customized to make such expression pictures can also implement the function of expression picture prompts through user voice.
  • real-time monitoring of whether a user's voice is issued and ended is set by setting a voice-out monitoring function and a voice-interception function according to a voice function setting instruction, and activating the voice-interception function when the user's voice is monitored, is Implementing the steps of obtaining user's voice provides effective guarantee; obtaining user's voice, converting the user's voice into the corresponding text, to get the meaning contained in the user's voice through the text, and implementing the emoticon picture prompt based on the text; obtaining the target application
  • the to-be-associated emoticon pictures in the image, and a keyword list according to the actual situation of the user is created according to the emoji label words.
  • the keyword list is created for each different user, which can effectively improve the utilization of memory resources and the efficiency of operation.
  • Obtain a keyword list extract target keywords from the text according to the keyword list, and use the keyword list to extract target keywords in the text.
  • the keyword expressions stored in the keyword table obtain the keyword standardized comparison table and the standard keyword mapping table, and first convert the target keywords into the target standard keywords through the keyword standardized comparison table, which can standardize the target keywords. Effectively improve the accuracy of subsequent candidate expression pictures, and then obtain corresponding candidate expression pictures through the standard keyword mapping table.
  • Picture output function Effectively improve the efficiency of expression picture output.
  • FIG. 2 shows a principle block diagram of an expression picture prompting device corresponding to the expression picture prompting method in the embodiment.
  • the expression picture prompting device includes a text conversion module 10, a target keyword acquisition module 20, a candidate expression picture acquisition module 30, and a target expression picture selection module 40.
  • the implementation functions of the text conversion module 10, the target keyword acquisition module 20, the candidate expression picture acquisition module 30, and the target expression picture selection module 40 correspond to the steps corresponding to the expression picture prompting method in the embodiment. To avoid redundant description, this The examples are not detailed in detail.
  • the text-to-text module 10 is configured to obtain a user's voice and convert the user's voice into corresponding text.
  • the target keyword obtaining module 20 is configured to obtain a preset keyword list, and extract a target keyword from the text according to the preset keyword list.
  • the candidate expression picture acquiring module 30 is configured to acquire a candidate expression picture according to a target keyword.
  • the target expression picture selection module 40 is configured to obtain an expression picture selection instruction, select at least one target expression picture from the candidate expression pictures according to the expression picture selection instruction, and output the target expression picture.
  • the expression picture prompting device further includes an expression tag word acquisition unit and a keyword list creation unit.
  • An expression tag word acquisition unit is configured to acquire an expression picture to be associated, and the expression picture to be associated includes an expression tag word.
  • a keyword list creation unit is configured to use the expression tag words as keywords and create a keyword list based on the keywords.
  • the candidate expression picture acquisition module 30 includes a target standard keyword conversion unit and a candidate expression picture acquisition unit.
  • the target standard keyword conversion unit is configured to obtain a keyword standardized comparison table, and convert the target keyword into a target standard keyword according to the keyword standardized comparison table.
  • the candidate expression picture obtaining unit is configured to obtain a standard keyword mapping table, and obtain a candidate expression picture corresponding to the target standard keyword according to the standard keyword mapping table.
  • the keyword list includes keywords.
  • the expression picture prompting device further includes a standard keyword acquisition unit and a standard keyword mapping table acquisition unit.
  • a standard keyword obtaining unit is configured to create a keyword standardized comparison table according to the meaning of keywords in the keyword table, and use the keyword standardized comparison table to standardize keywords to obtain standard keywords.
  • the standard keyword mapping table acquisition unit is used to create a mapping relationship between the standard keywords and the expression pictures to be associated, and obtain a standard keyword mapping table.
  • the expression picture prompting device further includes a name display unit and a picture display unit.
  • a name display unit is configured to display the preset names of the candidate expression pictures in a list form if the number of the candidate expression pictures exceeds a preset number threshold.
  • the picture display unit is configured to display the candidate expression pictures if the number of the candidate expression pictures does not exceed a preset number threshold.
  • the expression picture prompting device further includes a function setting unit, a monitoring unit, and an interception function starting unit.
  • the function setting unit is configured to set a voice emission monitoring function and a voice interception function according to the voice function setting instruction.
  • the monitoring unit is used to monitor whether a user makes a user voice by using a voice output monitoring function.
  • the interception function activation unit is used to activate the voice interception function if the user's voice is monitored, and the voice interception function is used to obtain the user's voice.
  • the text conversion module 10 includes a file stream conversion unit and a text conversion unit.
  • the file stream conversion unit obtains a user voice and converts the user voice into a corresponding file stream.
  • Text-to-text unit which converts a file stream into text via a speech recognition interface.
  • This embodiment provides a computer nonvolatile readable storage medium.
  • the computer nonvolatile readable storage medium stores computer readable instructions.
  • the emoticon pictures in the embodiment are prompted. Methods, to avoid repetition, we will not repeat them here.
  • the computer-readable instructions are executed by the processor, the functions of the modules / units in the expression picture prompting device in the embodiment are implemented. To avoid repetition, details are not described here one by one.
  • FIG. 3 is a schematic diagram of a computer device according to an embodiment of the present application.
  • the computer device 50 of this embodiment includes a processor 51, a memory 52, and computer-readable instructions 53 stored in the memory 52 and executable on the processor 51.
  • the computer-readable instructions 53 are processed When the device 51 is executed, the method for prompting expressions in the embodiment is implemented. To avoid repetition, details are not described herein.
  • the computer-readable instructions are executed by the processor 51, the functions of each model / unit in the expression picture prompting device in the embodiment are implemented. To avoid repetition, details are not described here one by one.
  • the computer device 50 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server.
  • the computer device may include, but is not limited to, a processor 51 and a memory 52.
  • FIG. 3 is only an example of the computer device 50, and does not constitute a limitation on the computer device 50. It may include more or less components than shown in the figure, or combine some components or different components
  • computer equipment can also include input and output equipment, network access equipment, and buses.
  • the so-called processor 51 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the memory 52 may be an internal storage unit of the computer device 50, such as a hard disk or a memory of the computer device 50.
  • the memory 52 may also be an external storage device of the computer device 50, for example, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, or a flash memory card (Flash) provided on the computer device 50. Card) and so on.
  • the memory 52 may include both an internal storage unit of the computer device 50 and an external storage device.
  • the memory 52 is used to store computer-readable instructions and other programs and data required by the computer device.
  • the memory 52 may also be used to temporarily store data that has been output or is to be output.

Landscapes

  • Engineering & Computer Science (AREA)
  • Library & Information Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Disclosed in the present application are an expression picture prompting method and apparatus, a computer device, and a storage medium. The expression picture prompting method comprises: obtaining a user speech, and converting the user speech into a corresponding text; obtaining a preset keyword table, and extracting a target keyword from the text according to the preset keyword table; obtaining candidate expression pictures according to the target keyword; obtaining an expression picture selection instruction, selecting at least one target expression picture from the candidate expression pictures according to the expression picture selection instruction, and outputting the target expression picture. By using the expression picture prompting method, the target expression picture can be found quickly, and the efficiency of searching for the target expression picture and outputting the target expression picture is improved.

Description

表情图片提示方法、装置、计算机设备及存储介质Expression picture prompting method, device, computer equipment and storage medium
本申请以2018年8月23日提交的申请号为201810964494.3,名称为“表情图片提示方法、装置、计算机设备及存储介质”的中国发明专利申请为基础,并要求其优先权。This application is based on a Chinese invention patent application filed on August 23, 2018 with application number 201810964494.3, entitled "Expression method, device, computer equipment, and storage medium for emoticons", and claims its priority.
技术领域Technical field
本申请涉及计算机领域,尤其涉及一种表情图片提示方法、装置、计算机设备及存储介质。The present application relates to the field of computers, and in particular, to a method, a device, a computer device, and a storage medium for prompting an expression picture.
背景技术Background technique
目前用户的聊天软件中,各种各样的表情包层出不穷,每个用户使用的表情包数量也越来越多。随着表情包的增多,当用户想查找某个特定的表情图片时,通常需要多次的点击、滑动等操作才能查找到特定的表情图片,在表情包过多的情况下用户需要花费较多的时间用于表情图片查找,影响查找表情图片并将表情图片输出的效率。At present, in the chat software of users, a variety of emoticons emerge endlessly, and the number of emoticons used by each user is increasing. With the increase of emoticons, when a user wants to find a specific emoticon picture, it usually requires multiple clicks, swipes, etc. to find a particular emoticon picture. In the case of too many emoticons, the user needs to spend more The time is used for the expression picture search, which affects the efficiency of finding and outputting the expression picture.
发明内容Summary of the Invention
本申请实施例提供一种表情图片提示方法、装置、计算机设备及存储介质,以解决表情图片查找效率不高的问题。The embodiments of the present application provide a method, a device, a computer device, and a storage medium for prompting an expression picture, so as to solve the problem of inefficient search for the expression picture.
一种表情图片提示方法,包括:An expression picture prompting method includes:
获取用户语音,将所述用户语音转换为相对应的文本;Obtaining a user voice, and converting the user voice into corresponding text;
获取预设的关键词表,根据所述预设的关键词表从所述文本中提取目标关键词;Obtaining a preset keyword list, and extracting target keywords from the text according to the preset keyword list;
根据所述目标关键词获取候选表情图片;Obtaining candidate expression pictures according to the target keywords;
获取表情图片选择指令,根据所述表情图片选择指令从所述候选表情图片中选择至少一个目标表情图片,并将所述目标表情图片输出。Acquire an expression picture selection instruction, select at least one target expression picture from the candidate expression pictures according to the expression picture selection instruction, and output the target expression picture.
一种表情图片提示装置,包括:An expression picture prompting device includes:
转文本模块,用于获取用户语音,将所述用户语音转换为相对应的文本;A text-to-text module, configured to obtain a user's voice and convert the user's voice into corresponding text;
目标关键词获取模块,用于获取预设的关键词表,根据所述预设的关键词表从所述文本中提取目标关键词;A target keyword obtaining module, configured to obtain a preset keyword list, and extract a target keyword from the text according to the preset keyword list;
候选表情图片获取模块,用于根据所述目标关键词获取候选表情图片;A candidate expression picture acquisition module, configured to acquire a candidate expression picture according to the target keyword;
目标表情图片选择模块,用于获取表情图片选择指令,根据所述表情图片选择指令从所述候选表情图片中选择至少一个目标表情图片,并将所述目标表情图片输出。A target expression picture selection module is configured to obtain an expression picture selection instruction, select at least one target expression picture from the candidate expression pictures according to the expression picture selection instruction, and output the target expression picture.
一种计算机设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:A computer device includes a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor. When the processor executes the computer-readable instructions, the following steps are implemented:
获取用户语音,将所述用户语音转换为相对应的文本;Obtaining a user voice, and converting the user voice into corresponding text;
获取预设的关键词表,根据所述预设的关键词表从所述文本中提取目标关键词;Obtaining a preset keyword list, and extracting target keywords from the text according to the preset keyword list;
根据所述目标关键词获取候选表情图片;Obtaining candidate expression pictures according to the target keywords;
获取表情图片选择指令,根据所述表情图片选择指令从所述候选表情图片中选择至少一个目标表情图片,并将所述目标表情图片输出。Acquire an expression picture selection instruction, select at least one target expression picture from the candidate expression pictures according to the expression picture selection instruction, and output the target expression picture.
一种计算机非易失性可读存储介质,所述计算机非易失性可读存储介质存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如下步骤:A computer non-volatile readable storage medium stores computer readable instructions. When the computer readable instructions are executed by a processor, the following steps are implemented:
获取用户语音,将所述用户语音转换为相对应的文本;Obtaining a user voice, and converting the user voice into corresponding text;
获取预设的关键词表,根据所述预设的关键词表从所述文本中提取目标关键词;Obtaining a preset keyword list, and extracting target keywords from the text according to the preset keyword list;
根据所述目标关键词获取候选表情图片;Obtaining candidate expression pictures according to the target keywords;
获取表情图片选择指令,根据所述表情图片选择指令从所述候选表情图片中选择至少一个目标表情图片,并将所述目标表情图片输出。Acquire an expression picture selection instruction, select at least one target expression picture from the candidate expression pictures according to the expression picture selection instruction, and output the target expression picture.
本申请实施例所提供的表情图片提示方法、装置、计算机设备及存储介质中,首先获取用户语音,将用户语音转换为相对应的文本,以通过该文本得到用户语音所包含的含义,并基于该文本实现表情图片提示;接着获取预设的关键词表,根据预设的关键词表从文本中提取目标关键词,通过预设的关键词表实现对文本中目标关键词的提取,可以从文本中提取与用户需求相关的目标关键词,该目标关键词通过存储在关键词表中的关键词体现;然后根据目标关键词获取候选表情图片,能够通过目标关键词确定相对应的候选表情图片,该候选表情图片是根据目标关键词获取的,可以保证候选表情图片与目标关键词之间的相关性并且体现与目标关键词之间的内在联系,可以保证获取的候选表情图片更为准确、恰当;最后获取表情图片选择指令,根据表情图片选择指令从候选表情图片中选择至少一个目标表情图片,并将目标表情图片输出,能够实现用户通过表情图片选择指令即可从候选表情图片中将至少一个目标表情图片输出的功能,有效提高表情图片输出的效率。In the method, device, computer equipment, and storage medium provided by the embodiment of the present application, a user's voice is first obtained, the user's voice is converted into corresponding text, and the meaning contained in the user's voice is obtained through the text. The text realizes the expression of the expression picture; then, a preset keyword list is obtained, and the target keywords are extracted from the text according to the preset keyword list. The target keyword in the text is extracted through the preset keyword list. The target keywords related to user needs are extracted from the text, and the target keywords are reflected by the keywords stored in the keyword table; then the candidate expression pictures are obtained according to the target keywords, and the corresponding candidate expression pictures can be determined by the target keywords. The candidate expression pictures are obtained based on the target keywords, which can ensure the correlation between the candidate expression pictures and the target keywords and reflect the internal connection with the target keywords, and can ensure that the obtained candidate expression pictures are more accurate, Appropriate; finally get the emoticon picture selection instruction, according to the emoticon picture The selection instruction selects at least one target expression picture from the candidate expression pictures and outputs the target expression picture. The user can realize the function of outputting at least one target expression picture from the candidate expression pictures through the expression picture selection instruction, which effectively improves the expression picture. Output efficiency.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solution of the embodiments of the present application more clearly, the drawings used in the description of the embodiments of the application will be briefly introduced below. Obviously, the drawings in the following description are just some embodiments of the application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without paying creative labor.
图1是本申请一实施例中表情图片提示方法的一流程图;FIG. 1 is a flowchart of a method for prompting an expression picture according to an embodiment of the present application; FIG.
图2是本申请一实施例中表情图片提示装置的一示意图;FIG. 2 is a schematic diagram of an expression picture prompting device according to an embodiment of the present application; FIG.
图3是本申请一实施例中计算机设备的一示意图。FIG. 3 is a schematic diagram of a computer device according to an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In the following, the technical solutions in the embodiments of the present application will be clearly and completely described with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
图1示出本实施例中表情图片提示方法的一流程图。该表情图片提示方法可应用在聊天类型的应用程序中,用于实现从聊天类型的应用程序中获取候选表情图片,并从候选表情图片中选择至少一个目标表情图片的功能,具体可应用在安装在计算机设备上的聊天类型的应用程序中。其中,该计算机设备是可与用户进行人机交互的设备,包括但不限于电脑、智能手机和平板等设备。如图1所示,该表情图片提示方法包括如下步骤:FIG. 1 shows a flowchart of a method for prompting an expression picture in this embodiment. The emoticon picture reminding method can be applied to a chat type application, and is used to implement the function of obtaining a candidate emoticon picture from a chat type application and selecting at least one target emoticon picture from the candidate emoticon picture. In a chat-type application on a computer device. The computer device is a device that can perform human-computer interaction with a user, including, but not limited to, a computer, a smart phone, and a tablet. As shown in FIG. 1, the method for prompting an expression picture includes the following steps:
S10:获取用户语音,将用户语音转换为相对应的文本。S10: Acquire the user's voice, and convert the user's voice into corresponding text.
在一实施例中,获取用户语音具体可以是通过计算机设备上集成的录音模块或与计算机设备相连的录音设备对用户语音进行采集实现的。具体地,可以是计算机设备在运行目标应用程序、用户在使用目标应用程序时,对用户发出的语音进行采集。其中,目标应用程序可以是指聊天类型的应用程序,如微信、QQ和阿里旺旺等应用程序。当用户在使用目标应用程序并发出用户语音时,计算机设备将实时采集获取到用户语音,并将用户语音转换为相对应的文本。可以理解地,用户语音携带有相对应的含义,而计算机设备无法直接识别用户语音,无法知晓用户语音中携带的含义,因此,需要对用户语音进行转换才能识别。具体可以通过将用户语音转换为相对应的文本的方式实现,以获知用户语音中的含义,并根据用户语音中的含义实现更为精确、恰当的表情图片提示功能。In an embodiment, acquiring the user's voice may be achieved by collecting the user's voice through a recording module integrated on the computer device or a recording device connected to the computer device. Specifically, it may be that the computer device collects the voice emitted by the user when the target application is running and the user uses the target application. Among them, the target application may refer to a chat-type application, such as WeChat, QQ, and Ali Wangwang. When the user is using the target application and emits the user's voice, the computer device will capture and acquire the user's voice in real time, and convert the user's voice into corresponding text. Understandably, the user's voice carries a corresponding meaning, and the computer device cannot directly recognize the user's voice and cannot know the meaning carried in the user's voice. Therefore, the user's voice needs to be converted to recognize it. Specifically, it can be implemented by converting the user's voice into corresponding text, so as to know the meaning in the user's voice, and realize a more accurate and appropriate expression picture prompt function according to the meaning in the user's voice.
S20:获取预设的关键词表,根据预设的关键词表从文本中提取目标关键词。S20: Obtain a preset keyword list, and extract target keywords from the text according to the preset keyword list.
其中,关键词表是指根据关键词创建的、存储关键词的数据表。通过该关键词表可以 查找到具体哪些词属于关键词。可以理解地,该关键词表定义了关键词,在该关键词表中出现的词,才认为是关键词。The keyword table refers to a data table created based on keywords and storing keywords. You can find out which specific words belong to keywords through this keyword list. Understandably, the keyword list defines keywords, and words appearing in the keyword list are considered keywords.
在一实施例中,从数据库中查找并获取预设的关键词表,并根据该关键词表中记载、存储的关键词,从文本中提取出目标关键词。可以理解地,由用户语音转换得到的文本包含了与关键词相关的信息和关键词不相关的信息,需要通过关键词表找出文本中与关键词相关的信息(即目标关键词)。正常来说,文本中出现的与关键词相关的信息只是所有关键词中的一部分关键词,因此,将在文本中提取的关键词称为目标关键词。本实施例中,通过预设的关键词表实现对文本目标关键词的提取,可以从文本中提取与用户需求相关的目标关键词,为后续根据该目标关键词得到准确、适宜的候选表情图片提供有利基础。In one embodiment, a preset keyword list is searched and obtained from a database, and the target keywords are extracted from the text according to the keywords recorded and stored in the keyword list. Understandably, the text obtained by the user's voice conversion contains information related to keywords and information not related to keywords, and it is necessary to find out information related to keywords (that is, target keywords) in the text through a keyword table. Normally, the keyword-related information appearing in the text is only a part of all the keywords. Therefore, the keywords extracted in the text are called target keywords. In this embodiment, the preset keyword list is used to extract the target keywords of the text. The target keywords related to the user's needs can be extracted from the text to obtain accurate and suitable candidate expression pictures based on the target keywords. Provide a favorable foundation.
S30:根据目标关键词获取候选表情图片。S30: Obtain candidate expression pictures according to the target keywords.
在一实施例中,通过在文本中提取到的目标关键词,可以根据该目标关键词得到相对应的候选表情图片,其中,候选表情图片可以是一个或多个。例如,文本为“我感到很疲劳,我要睡觉了”,从文本提取出来的目标关键词有“我”、“疲劳”和“睡觉”,则可以根据“我”、“疲劳”和“睡觉”相对应的查找与该目标关键词相对应的候选表情图片。候选表情图片是根据目标关键词获取的,能够保证候选表情图片与目标关键词之间的相关性以及体现与目标关键词之间的内在联系,能够使得获取的候选表情图片更为准确、恰当。In one embodiment, by using the target keywords extracted in the text, corresponding candidate expression pictures can be obtained according to the target keywords, where one or more candidate expression pictures can be obtained. For example, the text is "I'm tired, I'm going to sleep", and the target keywords extracted from the text are "I", "Fatigue", and "Sleep." "Correspondingly finds candidate expression pictures corresponding to the target keyword. The candidate expression pictures are obtained based on the target keywords, which can ensure the correlation between the candidate expression pictures and the target keywords and the internal connection between the candidate expression pictures and the target keywords, and can make the obtained candidate expression pictures more accurate and appropriate.
S40:获取表情图片选择指令,根据表情图片选择指令从候选表情图片中选择至少一个目标表情图片,并将目标表情图片输出。S40: Obtain an expression picture selection instruction, select at least one target expression picture from the candidate expression pictures according to the expression picture selection instruction, and output the target expression picture.
其中,表情图片选择指令是指用于选择表情的操作指令。目标表情图片是指用户想要获取的表情。在一实施例中,计算机设备获取用户输入的表情图片选择指令,根据表情图片选择指令从候选表情图片中选择至少一个目标表情图片,并输出目标表情图片。具体地,表情图片选择指令可以通过不同的方式获取,可以是用户通过语音,将语音转换为表情图片选择指令后进行表情选择,也可以是用户通过点击,计算机设备根据点击触发所生成的表情图片选择指令进行表情选择。此外,候选表情图片可以有一个或多个,用户可以根据实际需求从候选表情图片中选择一个或多个的目标表情图片,并将目标表情图片输出。本实施例中,能够实现用户通过表情图片选择指令即可从候选表情图片中将至少一个目标表情图片输出的功能,有效提高表情图片输出的效率。The expression picture selection instruction refers to an operation instruction for selecting an expression. The target expression picture refers to the expression that the user wants to obtain. In one embodiment, the computer device obtains an expression picture selection instruction input by the user, selects at least one target expression picture from the candidate expression pictures according to the expression picture selection instruction, and outputs the target expression picture. Specifically, the emoticon picture selection instruction can be obtained in different ways. It can be the user's voice to convert the voice into an emoticon picture selection instruction to select an emoticon, or the user can click and the computer device generates an emoticon picture based on the click trigger. Select the command for expression selection. In addition, there may be one or more candidate expression pictures, and the user may select one or more target expression pictures from the candidate expression pictures according to actual needs, and output the target expression pictures. In this embodiment, the function of outputting at least one target expression picture from the candidate expression pictures by the user through the expression picture selection instruction can be implemented, and the efficiency of the expression picture output can be effectively improved.
步骤S10-S40中,通过将用户语音转换为对应的文本得到用户语音所包含的含义,并基于该文本实现表情图片提示;通过预设的关键词表实现对文本中目标关键词的提取,可以从文本中提取与用户需求相关的目标关键词,为后续根据该目标关键词得到准确、适宜 的候选表情图片提供有利基础;通过目标关键词确定相对应的候选表情图片,可以保证候选表情图片与目标关键词之间的相关性并且体现与目标关键词之间的内在联系,能够使得获取的候选表情图片更为准确、恰当;通过表情图片选择指令即可从候选表情图片中将至少一个目标表情图片输出的功能,有效提高表情图片输出的效率。In steps S10-S40, the meaning contained in the user's voice is obtained by converting the user's voice into the corresponding text, and the expression picture prompt is realized based on the text; the target keyword in the text is extracted through a preset keyword list, which can Extract the target keywords related to user needs from the text, and provide a favorable basis for subsequent accurate and suitable candidate expression pictures based on the target keywords. The corresponding candidate expression pictures can be determined by the target keywords to ensure that the candidate expression pictures and The correlation between the target keywords and the internal relationship with the target keywords can make the obtained candidate expression pictures more accurate and appropriate; at least one target expression can be selected from the candidate expression pictures through the expression picture selection instruction The function of picture output effectively improves the efficiency of expression picture output.
在一实施例中,在步骤S10之前,即获取用户语音,将用户语音转换为相对应的文本的步骤之前,具体包括如下步骤:In an embodiment, before step S10, that is, before the steps of obtaining the user's voice and converting the user's voice into corresponding text, the following steps are specifically included:
S111:根据语音功能设置指令设置语音发出监控功能和语音截取功能。S111: Set the voice emission monitoring function and voice interception function according to the voice function setting instruction.
在一实施例中,可以理解地,获取用户语音需要对目标应用程序进行实时的用户语音监控以及用户语音截取,因此,需要获取用户输入的语音功能设置指令,根据该指令设置相应的语音发出监控功能和语音截取功能。具体地,语音发出监控功能用于检测用户语音的发出和结束,语音截取功能则是对用户语音在发出和结束的时间段内截取相应的用户语音,对用户语音进行监控并截取可以采用相应功能的方法函数(或接口)实现,在目标应用程序中进行设置,使得能够顺利获取用户在使用目标应用程序时发出的用户语音。In an embodiment, it can be understood that obtaining user voice requires real-time user voice monitoring and user voice interception of the target application. Therefore, it is necessary to obtain a voice function setting instruction input by the user and set the corresponding voice to issue monitoring according to the instruction. Function and voice interception function. Specifically, the voice emission monitoring function is used to detect the emission and end of the user's voice, and the voice interception function is to intercept the corresponding user's voice within the time period when the user's voice is emitted and ended, and to monitor and intercept the user's voice can use the corresponding function The method function (or interface) is implemented and set in the target application, so that the user's voice issued by the user when using the target application can be obtained smoothly.
S112:采用语音发出监控功能监控用户是否发出用户语音。S112: Use the voice-out monitoring function to monitor whether the user emits user voice.
在一实施例中,语音发出监控功能应当在获取用户语音之前就预先启动,以实时监控用户语音的发出情况,具体地,采用(启动)设置好的语音发出监控功能,利用该功能对用户语音进行监控。In one embodiment, the voice emission monitoring function should be activated before obtaining the user's voice in order to monitor the user's voice in real time. Specifically, the (voice) set voice activation monitoring function is used to use the function to monitor the user's voice. To monitor.
S113:若监控到用户语音,则启动语音截取功能,语音截取功能用于获取用户语音。S113: If the user's voice is monitored, the voice interception function is activated. The voice interception function is used to obtain the user's voice.
在一实施例中,当语音发出监控功能监控到用户语音,则相应地启动语音截取功能,以获取用户语音。可以理解地,语音截取功能的启动条件是用户语音的发出,能够在监控到用户语音发出后立马启动语音截取功能,以第一时间地获取用户语音。In one embodiment, when the user's voice is monitored by the voice emission monitoring function, the voice interception function is activated accordingly to obtain the user voice. Understandably, the activation condition of the voice interception function is the emission of the user's voice. After the user's voice is monitored, the voice interception function can be activated immediately to obtain the user's voice in the first time.
步骤S111-S113为实现获取用户语音提供了较优的实施方式,可以实时监控用户语音是否发出和是否结束,以及在监控到用户语音时启动语音截取功能,为实现获取用户语音的步骤提供有效的保证。Steps S111-S113 provide a better implementation for obtaining user's voice. It can monitor whether the user's voice is issued and ended in real time, and activate the voice interception function when the user's voice is monitored. Guarantee.
在一实施例中,步骤S10中,获取用户语音,获取用户语音,将用户语音转换为相对应的文本,具体包括如下步骤:In an embodiment, in step S10, acquiring the user voice, acquiring the user voice, and converting the user voice into corresponding text, specifically includes the following steps:
S121:获取用户语音,将用户语音转换为相对应的文件流。S121: Acquire a user voice and convert the user voice into a corresponding file stream.
其中,文件流也称为字符流或字节流。Among them, the file stream is also called a character stream or a byte stream.
在一实施例中,获取的用户语音包括但不限于wav等格式的音频文件,但是获取的用户语音无法直接识别,需要将wav等格式的音频文件转化为文件流,以根据文件流将用户 语音转换为文本。该文件流本质上就是以二进制的形式保存用户语音的一种载体方式,读懂该“文件流”,即可以将用户语音转换为相对应的文本。In an embodiment, the acquired user voice includes, but is not limited to, audio files in a format such as wav, but the acquired user voice cannot be directly recognized, and an audio file in a format such as wav needs to be converted into a file stream to convert the user voice according to the file stream Converted to text. The file stream is essentially a carrier way to save the user's voice in a binary form. After reading the "file stream", the user's voice can be converted into corresponding text.
S122:通过语音识别接口将文件流转换为文本。S122: Convert the file stream into text through the speech recognition interface.
在一实施例中,可以通过语音识别接口将文件流转换为文本,其中,语音识别接口是指封装好的用于将用户语音转换为相对应的文本的接口。具体地,令语音识别接口通过声学特征、用户语音中各个词在上下文中的关系、文字与发音之间的映射关系对文件流进行解码,并获取文件流解码后生成的文本。其中,声学特征包括各个发音之间的转移关系、发音与声波特征之间的关系,也即,文件流解码后,生成与音频文件(用户语音)对应的文本。声学特征、各个词在上下文中的关系、文字与发音之间的映射关系等,可以通过建立相应的数学模型并通过不断的训练完善该模型。比如,可以根据各个发音之间的转移关系、发音与声波特征之间的关系建立声学模型;根据各个词在上下文中的关系建立语言模型;根据文字与发音之间的映射关系建立词典模型;此后,对建立的声学模型、语言模型和词典模型各自进行训练,再通过训练之后的声学模型、语言模型和词典模型对文件流进行解码,使文件流转换为文本。In one embodiment, the file stream can be converted into text through a speech recognition interface, where the speech recognition interface refers to an interface that is encapsulated for converting a user's speech into corresponding text. Specifically, the speech recognition interface is made to decode a file stream by using acoustic characteristics, the relationship between each word in the user's voice in the context, and the mapping relationship between text and pronunciation, and obtain the text generated after the file stream is decoded. Among them, the acoustic characteristics include the transfer relationship between each pronunciation, and the relationship between the pronunciation and the acoustic characteristics, that is, after the file stream is decoded, a text corresponding to an audio file (user voice) is generated. Acoustic characteristics, the relationship of each word in the context, and the mapping relationship between words and pronunciation can be established through the establishment of corresponding mathematical models and continuous training to improve the model. For example, you can build an acoustic model based on the transfer relationship between pronunciations, and the relationship between pronunciation and sonic characteristics; build a language model based on the relationship of each word in the context; build a dictionary model based on the mapping relationship between text and pronunciation; thereafter , Training the established acoustic model, language model and dictionary model respectively, and then decoding the file stream through the trained acoustic model, language model and dictionary model to convert the file stream into text.
步骤S121-S122中,将用户语音转换为计算机能够识别的文件流后,再通过语音识别接口将文件流转换为文本,其中,语音识别接口通过声学特征、用户语音中各个词在上下文中的关系、文字与发音之间的映射关系对文件流进行解码,能够有效保证用户语音准确地转换为文本,为后续从文本中提取目标关键词提供了重要的实现基础。In steps S121-S122, the user's voice is converted into a file stream recognized by the computer, and then the file stream is converted into text through a voice recognition interface. The voice recognition interface uses acoustic features and the relationship between the words in the user's voice in the context The decoding relationship between the text and pronunciation decodes the file stream, which can effectively ensure that the user's speech is accurately converted to text, and provides an important implementation basis for subsequent extraction of target keywords from the text.
在一实施例中,在步骤S20之前,即获取预设的关键词表,根据预设的关键词表从文本中提取目标关键词的步骤之前,具体包括如下步骤:In one embodiment, before step S20, that is, the step of obtaining a preset keyword list and extracting the target keywords from the text according to the preset keyword list, specifically includes the following steps:
S21:获取待关联表情图片,待关联表情图片包括表情标签词。S21: Obtain an expression picture to be associated, and the expression picture to be associated includes an expression tag word.
可以理解地,用户在目标应用程序中或多或少都存有表情图片,并且部分表情图片是设置有表情标签词的,如某些表情包中的每个表情图片都有一个相应的标签词,如一套表情包中包含“开心”、“生气”、“难过”、“睡觉”和“拜拜”等多个表情图片对应的表情标签词。对于有些表情图片(如自制表情、收藏的表情等)没有表情标签词的,用户可以进行自定义设置,为每一个表情图片都设置一个对应的表情标签词。用户在目标应用程序存有的表情图片都可以是待关联表情图片,待关联表情图片即待进行关联的表情图片,具体将待关联表情图片进行关联可以是根据表情标签词实现。在一实施例中,获取待关联表情图片,即预先获取目标应用程序中用户想要进行关联的表情图片。Understandably, the user has more or less emoticon pictures in the target application, and some of the emoticon pictures are set with emoticon tag words. For example, each emoticon picture in some emoticons has a corresponding tag word For example, a set of emoticons contains expression tags corresponding to multiple emoticon pictures such as "happy", "angry", "sad", "sleeping" and "bye". For some expression pictures (such as self-made expressions, favorite expressions, etc.) without the expression tag words, the user can customize the settings and set a corresponding expression tag word for each expression picture. The emoticon pictures stored by the user in the target application can all be emoji pictures to be associated, and the emoji pictures to be associated are emoji pictures to be associated, and the specific association of the emoji pictures to be associated can be realized according to the expression tag words. In one embodiment, the expression pictures to be associated are obtained, that is, the expression pictures that the user wants to associate in the target application are obtained in advance.
S22:将表情标签词作为关键词,并根据关键词创建关键词表。S22: Use the expression tag words as keywords, and create a keyword list based on the keywords.
可以理解地,表情标签词实际上就代表了各种待关联表情图片的含义,因此将表情标签词作为关键词,并根据关键词创建关键词表(该关键词表即对应步骤S20中预设的关键词表),也就是根据表情标签词确定了关键词。特别地,这里的关键词表是根据目标应用程序中存储的待关联表情图片所针对性设置的,如果直接使用开源的关键词表,数据量会过大(关键词偏多),会明显造成数据冗余,无法较好地与用户实际的使用情况进行贴合,会浪费内存资源并且降低运行效率。Understandably, the expression tag words actually represent the meaning of various expression pictures to be associated, so the expression tag words are used as keywords, and a keyword list is created based on the keywords (the keyword list corresponds to the preset in step S20) Keyword list), that is, keywords are determined based on the expression tag words. In particular, the keyword list here is specifically set according to the expression pictures to be associated stored in the target application. If you use the open source keyword list directly, the amount of data will be too large (more keywords), which will obviously cause The data is redundant and cannot be closely matched with the actual usage of the user, which will waste memory resources and reduce operating efficiency.
步骤S21-S22根据用户的实际情况,获取目标应用程序中的待关联表情图片,根据表情标签词创建符合用户实际情况的关键词表。这里的关键词表是相对于每个不同的用户所创建的,可以有效提高内存资源利用以及运行的效率。Steps S21-S22 obtain the emoticon pictures to be associated in the target application according to the actual situation of the user, and create a keyword list according to the actual situation of the user according to the expression tag words. The keyword list here is created relative to each different user, which can effectively improve the utilization of memory resources and the efficiency of operation.
在一实施例中,步骤S30中,根据目标关键词获取候选表情图片,具体包括如下步骤:In an embodiment, in step S30, obtaining candidate expression pictures according to the target keywords, specifically includes the following steps:
S311:获取关键词标准化对照表,根据关键词标准化对照表将目标关键词转换为目标标准关键词。S311: Obtain a keyword standardized comparison table, and convert the target keywords into the target standard keywords according to the keyword standardized comparison table.
在一实施例中,获取关键词标准化对照表,其中,该关键词标准化对照表是指存储关键词和标准关键词之间映射关系的数据表,该表可以是预先创建的。例如,“88”、“拜拜”和“再见”都是表达同一个意思,可以将“88”和“拜拜”统一成“再见”这个关键词,并将“再见”作为标准关键词,可以理解地,在实际场景中,每个用户的用语习惯是不同的,这在创建关键词和表情图片之间有映射关系的数据表时容易出现错误的情形,并且加大了数据的冗余度,因此,可以将含义相同的不同关键词进行标准化,将含义相同的词取其中一个词作为标准词,此时,无论用户的用语习惯如何,都会先将在用户语音提取的关键词进行标准化,转换为标准关键词。本实施例中,根据关键词标准化对照表将目标关键词转换为目标标准关键词,其中,目标关键词是从文本中提取的,目标关键词是关键词的子集,关键词的范围比较大,对应的是所有表情标签词待关联表情图片,而目标关键词对应的是用户语音中的关键词。将目标关键词根据关键词标准化对照表中存储的关键词和标准关键词之间映射关系进行转换后,得到的即目标标准关键词。In one embodiment, a keyword standardized comparison table is obtained, wherein the keyword standardized comparison table refers to a data table storing a mapping relationship between keywords and standard keywords, and the table may be created in advance. For example, "88", "bye" and "bye" all express the same meaning. You can unify "88" and "bye" into the keyword "bye", and use "bye" as the standard keyword. It can be understood In actual scenarios, each user's terminology is different, which is prone to errors when creating a data table with a mapping relationship between keywords and expression pictures, and increases the redundancy of the data. Therefore, you can standardize different keywords with the same meaning and take one of the words with the same meaning as the standard word. At this time, regardless of the user's idiom, the keywords extracted in the user's voice will be standardized and converted first. Are standard keywords. In this embodiment, a target keyword is converted into a target standard keyword according to a keyword normalization comparison table. The target keyword is extracted from the text, and the target keyword is a subset of the keyword. The keyword range is relatively large. , Corresponds to all the expression label words to be associated with the expression picture, and the target keywords correspond to the keywords in the user's voice. After the target keywords are converted according to the mapping relationship between the keywords stored in the keyword standardized comparison table and the standard keywords, the target standard keywords are obtained.
S312:获取标准关键词映射表,根据标准关键词映射表获取与目标标准关键词相对应的候选表情图片。S312: Obtain a standard keyword mapping table, and obtain a candidate expression picture corresponding to the target standard keyword according to the standard keyword mapping table.
在一实施例中,获取标准关键词映射表,其中,该标准关键词映射表是指存储标准关键词和待关联表情图片之间映射关系的数据表,该表可以是预先创建的。目标标准关键词属于标准关键词,目标标准关键词根据关键词映射表可以获取相对应的候选表情图片。In an embodiment, a standard keyword mapping table is obtained, wherein the standard keyword mapping table refers to a data table storing a mapping relationship between the standard keywords and the expression pictures to be associated, and the table may be created in advance. The target standard keywords are standard keywords, and the target standard keywords can obtain corresponding candidate expression pictures according to the keyword mapping table.
步骤S311-S312,分别获取关键词标准化对照表和标准关键词映射表,先通过关键词 标准化对照表将目标关键词转换为目标标准关键词,能够将目标关键词进行标准化,有效提高后续获取候选表情图片的准确率,再通过标准关键词映射表获取到相对应的候选表情图片,可以根据标准关键词和待关联表情图片之间的映射关系快速地获取到候选表情图片。Steps S311-S312, respectively obtaining a keyword standardized comparison table and a standard keyword mapping table. First, the target keywords are converted into the target standard keywords through the keyword standardized comparison table, which can standardize the target keywords and effectively improve subsequent acquisition candidates. The accuracy of the expression pictures, and then the corresponding candidate expression pictures are obtained through the standard keyword mapping table. The candidate expression pictures can be quickly obtained according to the mapping relationship between the standard keywords and the expression pictures to be associated.
在一实施例中,在步骤S30之前,即获取关键词标准化对照表的步骤之前,具体包括如下步骤:In an embodiment, before step S30, that is, before the step of obtaining the keyword standardized comparison table, the following steps are specifically included:
S321:根据关键词表中关键词的含义创建关键词标准化对照表,并采用关键词标准化对照表将关键词进行标准化,得到标准关键词。S321: Create a keyword standardized comparison table according to the meaning of keywords in the keyword table, and use the keyword standardized comparison table to standardize keywords to obtain standard keywords.
关键词表中包括关键词,关键词包括关键词含义。在一实施例中,可以根据关键词含义创建关键词标准化对照表,例如,含义相同的不同关键词有“睡觉”、“训教”和“就寝”,可以根据关键词的含义将这三个关键词统一为“睡觉”,并将“睡觉”作为标准关键词。在根据关键词含义创建好关键词标准化对照表后,当再遇到“训教”和“就寝”时,将自动根据该表中存储的映射关系将“训教”和“就寝”进行标准化,得到标准关键词“睡觉”。The keyword list includes keywords, and the keywords include keyword meanings. In one embodiment, a standardized keyword comparison table can be created according to the meaning of keywords. For example, different keywords with the same meaning are "sleep", "training" and "sleeping". The key word is "sleep", and "sleep" is the standard keyword. After the keyword normalization comparison table is created according to the meaning of the keywords, when "training" and "sleeping" are encountered again, the "training" and "sleeping" will be automatically standardized according to the mapping relationship stored in the table. Get the standard keyword "sleep".
S322:创建标准关键词和待关联表情图片之间的映射关系,得到标准关键词映射表。S322: Create a mapping relationship between the standard keywords and the expression pictures to be associated, and obtain a standard keyword mapping table.
在一实施例中,创建标准关键词与待关联表情图片之间的映射关系,具体地,关键词和待关联表情图片之间的映射关系可以采用哈希映射(HashMap)实现,其中,HashMap是基于哈希表的Map接口的实现。此实现提供所有可选的映射操作,并允许使用null值和null键。(除了非同步和允许使用null之外,HashMap类与Hashtable大致相同。)另外,除了常见的一对一的映射关系,还可以使用HashMap<Integer,List>格式来达到一对多的映射关系,<Integer,List>分别代表键值对中的“键(key)”和“值(value)”,这里key值可以为一个整型数,作为一个类似ID主键来使用,value值可以用List集合来保存多条数据,从而实现一对多的映射功能。标准关键词和待关联表情图片之间的映射关系创建好后,即得到标准关键词映射表。In an embodiment, a mapping relationship between a standard keyword and an expression picture to be associated is created. Specifically, a mapping relationship between the keyword and the expression picture to be associated can be implemented by using a HashMap, where the HashMap is Implementation of Map interface based on hash table. This implementation provides all optional mapping operations and allows the use of null values and null keys. (Except for asynchronous and null, HashMap is roughly the same as Hashtable.) In addition, in addition to the common one-to-one mapping relationship, you can also use the HashMap <Integer, List> format to achieve one-to-many mapping relationship. <Integer, List> represents the "key" and "value" of the key-value pair, where the key value can be an integer and used as an ID-like primary key. The value value can be used in the List collection. To save multiple pieces of data to achieve one-to-many mapping. After the mapping relationship between the standard keywords and the expression pictures to be associated is created, a standard keyword mapping table is obtained.
进一步地,可以设置定时刷新目标应用程序中的待关联表情图片,并更新标准关键词映射表,当然,也同样支持手动刷新,更新标准关键词映射表。Further, it is possible to set regular refresh of the to-be-associated expression pictures in the target application and update the standard keyword mapping table. Of course, manual refresh is also supported to update the standard keyword mapping table.
步骤S321-S322中,通过创建关键词标准化对照表,并采用关键词标准化对照表得到的标准关键词创建标准关键词映射表,为步骤S311-S312中将目标关键词进行标准化,并通过标准关键词映射表获取到相对应的候选表情图片提供了重要的技术基础,并且,关键词标准化对照表和标准关键词映射表都是根据目标应用程序中存储的表情图片(其中用于 表情图片提示的表情为待关联表情图片)进行“量身定制”的数据表,能够提高获取候选表情图片的效率以及提高关键词之间逻辑的准确性。In steps S321-S322, a standard keyword mapping table is created by creating a keyword standardized comparison table and using the standard keywords obtained from the keyword standardized comparison table to standardize the target keywords in steps S311-S312 and pass the standard key The acquisition of corresponding candidate expression pictures by the word mapping table provides an important technical basis, and both the keyword standardized comparison table and the standard keyword mapping table are based on the expression pictures stored in the target application (where (Emotions are to-be-associated expression pictures) data tables that are "tailored", which can improve the efficiency of obtaining candidate expression pictures and improve the accuracy of logic between keywords.
在一实施例中,在步骤S30之后,即根据关键词映射表获取与目标标准关键词相对应的候选表情图片的步骤之后,具体包括如下步骤:In an embodiment, after step S30, that is, after the step of obtaining a candidate expression picture corresponding to the target standard keyword according to the keyword mapping table, the method specifically includes the following steps:
S331:若候选表情图片的数量超过预设的数量阈值,则将候选表情图片的预设名称以列表的形式进行展示。S331: If the number of candidate expression pictures exceeds a preset number threshold, the preset names of the candidate expression pictures are displayed in the form of a list.
S332:若候选表情图片的数量不超过预设的数量阈值,则将候选表情图片进行展示。S332: If the number of candidate expression pictures does not exceed a preset number threshold, the candidate expression pictures are displayed.
步骤S331-S332中,若预设的数量阈值为3,当候选表情图片的数量超过3时,则将候选表情图片的预设名称以列表的形式进行展示,其中,预设名称是指预设的与表情相关、采用文字条表示的名称,例如,预设名称可以是采用文字条:“姜小虎,害羞”表示的名称,姜小虎代表的是这个系列表情包的名称,害羞是标准关键词。这只是其中的一种预设名称的设计方式,在此不作限定。当候选表情图片的数量不超过3时,则直接将候选表情图片进行展示。可以理解地,当候选表情图片的数量较少时(不超过预设的数量阈值),采用图片的形式展示候选表情图片更为直观,而当候选表情图片较多时(超过预设的数量阈值),采用预设名称的方式可以在突出候选表情图片重点同时,还能尽量多地将较多数的候选表情图片展现出来。In steps S331-S332, if the preset number threshold is 3, when the number of candidate expression pictures exceeds 3, the preset names of the candidate expression pictures are displayed in the form of a list, where the preset name refers to the preset The name that is related to the expression and is represented by a text bar. For example, the preset name can be a text bar: "Gang Xiaohu, shy", Jiang Xiaohu represents the name of this series of emoticons, and shyness is a standard keyword . This is just one of the design methods of the preset name, which is not limited here. When the number of candidate expression pictures does not exceed 3, the candidate expression pictures are directly displayed. Understandably, when the number of candidate expression pictures is small (not exceeding the preset number threshold), it is more intuitive to display the candidate expression pictures in the form of pictures, and when there are more candidate expression pictures (exceeding the preset number threshold) Using the preset name method can highlight more candidate expression pictures while highlighting the key points of the candidate expression pictures.
特别地,以微信举例,还可以对非专辑的表情包(即收藏的表情包)进行自定义设置,以使该类表情图片同样可以通过用户语音实现表情图片提示的功能。In particular, taking WeChat as an example, non-album expression packs (that is, favorite expression packs) can also be customized to make such expression pictures can also implement the function of expression picture prompts through user voice.
本实施例所提供的表情图片提示方法中,通过根据语音功能设置指令设置语音发出监控功能和语音截取功能实时监控用户语音是否发出和是否结束,以及在监控到用户语音时启动语音截取功能,为实现获取用户语音的步骤提供有效的保证;获取用户语音,将用户语音转换为相对应的文本,以通过该文本得到用户语音所包含的含义,并基于该文本实现表情图片提示;获取目标应用程序中的待关联表情图片,根据表情标签词创建符合用户实际情况的关键词表。该关键词表是相对于每个不同的用户所创建的,可以有效提高内存资源利用以及运行的效率。获取关键词表,根据关键词表从文本中提取目标关键词,通过关键词表实现对文本中目标关键词的提取,可以从文本中提取与用户需求相关的目标关键词,该目标关键词通过存储在关键词表中的关键词体现;获取关键词标准化对照表和标准关键词映射表,先通过关键词标准化对照表将目标关键词转换为目标标准关键词,能够将目标关键词进行标准化,有效提高后续获取候选表情图片的准确率,再通过标准关键词映射表获取到相对应的候选表情图片,可以根据标准关键词和待关联表情图片之间的映射关 系快速地获取到候选表情图片;获取表情图片选择指令,根据表情图片选择指令从候选表情图片中选择至少一个目标表情图片,并将目标表情图片输出,能够实现用户通过表情图片选择指令即可从候选表情图片中将至少一个目标表情图片输出的功能,有效提高表情图片输出的效率。In the method for prompting an expression of an emoticon provided in this embodiment, real-time monitoring of whether a user's voice is issued and ended is set by setting a voice-out monitoring function and a voice-interception function according to a voice function setting instruction, and activating the voice-interception function when the user's voice is monitored, is Implementing the steps of obtaining user's voice provides effective guarantee; obtaining user's voice, converting the user's voice into the corresponding text, to get the meaning contained in the user's voice through the text, and implementing the emoticon picture prompt based on the text; obtaining the target application The to-be-associated emoticon pictures in the image, and a keyword list according to the actual situation of the user is created according to the emoji label words. The keyword list is created for each different user, which can effectively improve the utilization of memory resources and the efficiency of operation. Obtain a keyword list, extract target keywords from the text according to the keyword list, and use the keyword list to extract target keywords in the text. You can extract target keywords related to user needs from the text. The keyword expressions stored in the keyword table; obtain the keyword standardized comparison table and the standard keyword mapping table, and first convert the target keywords into the target standard keywords through the keyword standardized comparison table, which can standardize the target keywords. Effectively improve the accuracy of subsequent candidate expression pictures, and then obtain corresponding candidate expression pictures through the standard keyword mapping table. You can quickly obtain candidate expression pictures according to the mapping relationship between the standard keywords and the expression pictures to be associated; Obtain an emoticon picture selection instruction, select at least one target emoticon picture from the candidate emoticon pictures according to the emoticon picture selection instruction, and output the target emoticon picture, so that the user can achieve at least one target emoticon from the candidate emoticon picture through the emoticon picture selection instruction. Picture output function Effectively improve the efficiency of expression picture output.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the size of the sequence numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
图2示出与实施例中表情图片提示方法一一对应的表情图片提示装置的原理框图。如图2所示,该表情图片提示装置包括转文本模块10、目标关键词获取模块20、候选表情图片获取模块30和目标表情图片选择模块40。其中,转文本模块10、目标关键词获取模块20、候选表情图片获取模块30和目标表情图片选择模块40的实现功能与实施例中表情图片提示方法对应的步骤一一对应,为避免赘述,本实施例不一一详述。FIG. 2 shows a principle block diagram of an expression picture prompting device corresponding to the expression picture prompting method in the embodiment. As shown in FIG. 2, the expression picture prompting device includes a text conversion module 10, a target keyword acquisition module 20, a candidate expression picture acquisition module 30, and a target expression picture selection module 40. The implementation functions of the text conversion module 10, the target keyword acquisition module 20, the candidate expression picture acquisition module 30, and the target expression picture selection module 40 correspond to the steps corresponding to the expression picture prompting method in the embodiment. To avoid redundant description, this The examples are not detailed in detail.
转文本模块10,用于获取用户语音,将用户语音转换为相对应的文本。The text-to-text module 10 is configured to obtain a user's voice and convert the user's voice into corresponding text.
目标关键词获取模块20,用于获取预设的关键词表,根据预设的关键词表从文本中提取目标关键词。The target keyword obtaining module 20 is configured to obtain a preset keyword list, and extract a target keyword from the text according to the preset keyword list.
候选表情图片获取模块30,用于根据目标关键词获取候选表情图片。The candidate expression picture acquiring module 30 is configured to acquire a candidate expression picture according to a target keyword.
目标表情图片选择模块40,用于获取表情图片选择指令,根据表情图片选择指令从候选表情图片中选择至少一个目标表情图片,并将目标表情图片输出。The target expression picture selection module 40 is configured to obtain an expression picture selection instruction, select at least one target expression picture from the candidate expression pictures according to the expression picture selection instruction, and output the target expression picture.
优选地,表情图片提示装置还包括表情标签词获取单元和关键词表创建单元。Preferably, the expression picture prompting device further includes an expression tag word acquisition unit and a keyword list creation unit.
表情标签词获取单元,用于获取待关联表情图片,待关联表情图片包括表情标签词。An expression tag word acquisition unit is configured to acquire an expression picture to be associated, and the expression picture to be associated includes an expression tag word.
关键词表创建单元,用于将表情标签词作为关键词,并根据关键词创建关键词表。A keyword list creation unit is configured to use the expression tag words as keywords and create a keyword list based on the keywords.
优选地,候选表情图片获取模块30包括目标标准关键词转换单元和候选表情图片获取单元。Preferably, the candidate expression picture acquisition module 30 includes a target standard keyword conversion unit and a candidate expression picture acquisition unit.
目标标准关键词转换单元,用于获取关键词标准化对照表,根据关键词标准化对照表将目标关键词转换为目标标准关键词。The target standard keyword conversion unit is configured to obtain a keyword standardized comparison table, and convert the target keyword into a target standard keyword according to the keyword standardized comparison table.
候选表情图片获取单元,用于获取标准关键词映射表,根据标准关键词映射表获取与目标标准关键词相对应的候选表情图片。The candidate expression picture obtaining unit is configured to obtain a standard keyword mapping table, and obtain a candidate expression picture corresponding to the target standard keyword according to the standard keyword mapping table.
优选地,关键词表包括关键词。Preferably, the keyword list includes keywords.
优选地,表情图片提示装置还包括标准关键词获取单元和标准关键词映射表获取单元。Preferably, the expression picture prompting device further includes a standard keyword acquisition unit and a standard keyword mapping table acquisition unit.
标准关键词获取单元,用于根据关键词表中关键词的含义创建关键词标准化对照表, 并采用关键词标准化对照表将关键词进行标准化,得到标准关键词。A standard keyword obtaining unit is configured to create a keyword standardized comparison table according to the meaning of keywords in the keyword table, and use the keyword standardized comparison table to standardize keywords to obtain standard keywords.
标准关键词映射表获取单元,用于创建标准关键词和待关联表情图片之间的映射关系,得到标准关键词映射表。The standard keyword mapping table acquisition unit is used to create a mapping relationship between the standard keywords and the expression pictures to be associated, and obtain a standard keyword mapping table.
优选地,表情图片提示装置还包括名称展示单元和图片展示单元。Preferably, the expression picture prompting device further includes a name display unit and a picture display unit.
名称展示单元,用于若候选表情图片的数量超过预设的数量阈值,则将候选表情图片的预设名称以列表的形式进行展示。A name display unit is configured to display the preset names of the candidate expression pictures in a list form if the number of the candidate expression pictures exceeds a preset number threshold.
图片展示单元,用于若候选表情图片的数量不超过预设的数量阈值,则将候选表情图片进行展示。The picture display unit is configured to display the candidate expression pictures if the number of the candidate expression pictures does not exceed a preset number threshold.
优选地,表情图片提示装置还包括功能设置单元、监控单元和截取功能启动单元。Preferably, the expression picture prompting device further includes a function setting unit, a monitoring unit, and an interception function starting unit.
功能设置单元,用于根据语音功能设置指令设置语音发出监控功能和语音截取功能。The function setting unit is configured to set a voice emission monitoring function and a voice interception function according to the voice function setting instruction.
监控单元,用于采用语音发出监控功能监控用户是否发出用户语音。The monitoring unit is used to monitor whether a user makes a user voice by using a voice output monitoring function.
截取功能启动单元,用于若监控到用户语音,则启动语音截取功能,语音截取功能用于获取用户语音。The interception function activation unit is used to activate the voice interception function if the user's voice is monitored, and the voice interception function is used to obtain the user's voice.
优选地,转文本模块10包括文件流转换单元和转文本单元。Preferably, the text conversion module 10 includes a file stream conversion unit and a text conversion unit.
文件流转换单元,获取用户语音,将用户语音转换为相对应的文件流。The file stream conversion unit obtains a user voice and converts the user voice into a corresponding file stream.
转文本单元,通过语音识别接口将文件流转换为文本。Text-to-text unit, which converts a file stream into text via a speech recognition interface.
本实施例提供一计算机非易失性可读存储介质,该计算机非易失性可读存储介质上存储有计算机可读指令,该计算机可读指令被处理器执行时实现实施例中表情图片提示方法,为避免重复,此处不一一赘述。或者,该计算机可读指令被处理器执行时实现实施例中表情图片提示装置中各模块/单元的功能,为避免重复,此处不一一赘述。This embodiment provides a computer nonvolatile readable storage medium. The computer nonvolatile readable storage medium stores computer readable instructions. When the computer readable instructions are executed by a processor, the emoticon pictures in the embodiment are prompted. Methods, to avoid repetition, we will not repeat them here. Alternatively, when the computer-readable instructions are executed by the processor, the functions of the modules / units in the expression picture prompting device in the embodiment are implemented. To avoid repetition, details are not described here one by one.
图3是本申请一实施例提供的计算机设备的示意图。如图3所示,该实施例的计算机设备50包括:处理器51、存储器52以及存储在存储器52中并可在处理器51上运行的计算机可读指令53,该计算机可读指令53被处理器51执行时实现实施例中的表情图片提示方法,为避免重复,此处不一一赘述。或者,该计算机可读指令被处理器51执行时实现实施例中表情图片提示装置中各模型/单元的功能,为避免重复,此处不一一赘述。FIG. 3 is a schematic diagram of a computer device according to an embodiment of the present application. As shown in FIG. 3, the computer device 50 of this embodiment includes a processor 51, a memory 52, and computer-readable instructions 53 stored in the memory 52 and executable on the processor 51. The computer-readable instructions 53 are processed When the device 51 is executed, the method for prompting expressions in the embodiment is implemented. To avoid repetition, details are not described herein. Alternatively, when the computer-readable instructions are executed by the processor 51, the functions of each model / unit in the expression picture prompting device in the embodiment are implemented. To avoid repetition, details are not described here one by one.
计算机设备50可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。计算机设备可包括,但不仅限于,处理器51、存储器52。本领域技术人员可以理解,图3仅仅是计算机设备50的示例,并不构成对计算机设备50的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如计算机设备还可以包括输入输出设备、网络接入设备、总线等。The computer device 50 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server. The computer device may include, but is not limited to, a processor 51 and a memory 52. Those skilled in the art can understand that FIG. 3 is only an example of the computer device 50, and does not constitute a limitation on the computer device 50. It may include more or less components than shown in the figure, or combine some components or different components For example, computer equipment can also include input and output equipment, network access equipment, and buses.
所称处理器51可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called processor 51 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
存储器52可以是计算机设备50的内部存储单元,例如计算机设备50的硬盘或内存。存储器52也可以是计算机设备50的外部存储设备,例如计算机设备50上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器52还可以既包括计算机设备50的内部存储单元也包括外部存储设备。存储器52用于存储计算机可读指令以及计算机设备所需的其他程序和数据。存储器52还可以用于暂时地存储已经输出或者将要输出的数据。The memory 52 may be an internal storage unit of the computer device 50, such as a hard disk or a memory of the computer device 50. The memory 52 may also be an external storage device of the computer device 50, for example, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, or a flash memory card (Flash) provided on the computer device 50. Card) and so on. Further, the memory 52 may include both an internal storage unit of the computer device 50 and an external storage device. The memory 52 is used to store computer-readable instructions and other programs and data required by the computer device. The memory 52 may also be used to temporarily store data that has been output or is to be output.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。Those skilled in the art can clearly understand that, for the convenience and brevity of the description, only the above-mentioned division of functional units and modules is used as an example. In practical applications, the above functions can be allocated by different functional units according to needs. Module completion, that is, dividing the internal structure of the device into different functional units or modules to complete all or part of the functions described above.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to describe the technical solution of the present application, but are not limited thereto. Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still implement the foregoing implementations. The technical solutions described in the examples are modified, or some technical features are equivalently replaced; and these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included Within the scope of this application.

Claims (20)

  1. 一种表情图片提示方法,其特征在于,包括:An expression picture prompting method, comprising:
    获取用户语音,将所述用户语音转换为相对应的文本;Obtaining a user voice, and converting the user voice into corresponding text;
    获取预设的关键词表,根据所述预设的关键词表从所述文本中提取目标关键词;Obtaining a preset keyword list, and extracting target keywords from the text according to the preset keyword list;
    根据所述目标关键词获取候选表情图片;Obtaining candidate expression pictures according to the target keywords;
    获取表情图片选择指令,根据所述表情图片选择指令从所述候选表情图片中选择至少一个目标表情图片,并将所述目标表情图片输出。Acquire an expression picture selection instruction, select at least one target expression picture from the candidate expression pictures according to the expression picture selection instruction, and output the target expression picture.
  2. 根据权利要求1所述的表情图片提示方法,其特征在于,在所述获取预设的关键词表的步骤之前,所述表情图片提示方法还包括:The method for prompting an expression picture according to claim 1, wherein before the step of obtaining a preset keyword list, the method for prompting an expression picture further comprises:
    获取待关联表情图片,所述待关联表情图片包括表情标签词;Obtaining an expression picture to be associated, where the expression picture to be associated includes an expression tag word;
    将所述表情标签词作为关键词,并根据所述关键词创建所述关键词表。Use the expression tag word as a keyword, and create the keyword list according to the keyword.
  3. 根据权利要求2所述的表情图片提示方法,其特征在于,所述根据所述目标关键词获取候选表情图片,包括:The method for prompting an expression picture according to claim 2, wherein the obtaining an expression picture candidate according to the target keyword comprises:
    获取关键词标准化对照表,根据所述关键词标准化对照表将所述目标关键词转换为目标标准关键词;Obtaining a keyword standardized comparison table, and converting the target keyword into a target standard keyword according to the keyword standardized comparison table;
    获取标准关键词映射表,根据所述标准关键词映射表获取与所述目标标准关键词相对应的所述候选表情图片。A standard keyword mapping table is acquired, and the candidate expression pictures corresponding to the target standard keyword are acquired according to the standard keyword mapping table.
  4. 根据权利要求3所述的表情图片提示方法,其特征在于,所述关键词表包括所述关键词,在所述获取关键词标准化对照表的步骤之前,所述表情图片提示方法还包括:The method according to claim 3, wherein the keyword list includes the keywords, and before the step of obtaining a keyword standardized comparison table, the method further includes:
    根据所述关键词表中所述关键词的含义创建所述关键词标准化对照表,并采用所述关键词标准化对照表将所述关键词进行标准化,得到标准关键词;Creating the keyword standardized comparison table according to the meaning of the keywords in the keyword table, and using the keyword standardized comparison table to standardize the keywords to obtain standard keywords;
    创建所述标准关键词和所述待关联表情图片之间的映射关系,得到所述标准关键词映射表。Create a mapping relationship between the standard keywords and the expression pictures to be associated, and obtain the standard keyword mapping table.
  5. 根据权利要求3所述的表情图片提示方法,其特征在于,在所述根据所述标准关键词映射表获取与所述目标标准关键词相对应的所述候选表情图片的步骤之后,所述表情图片提示方法还包括:The method according to claim 3, wherein after the step of obtaining the candidate expression picture corresponding to the target standard keyword according to the standard keyword mapping table, the expression Picture prompting methods also include:
    若所述候选表情图片的数量超过预设的数量阈值,则将所述候选表情图片的预设名称以列表的形式进行展示;If the number of candidate expression pictures exceeds a preset number threshold, displaying the preset names of the candidate expression pictures in a list form;
    若所述候选表情图片的数量不超过预设的数量阈值,则将所述候选表情图片进行展 示。If the number of the candidate expression pictures does not exceed a preset number threshold, the candidate expression pictures are displayed.
  6. 根据权利要求1所述的表情图片提示方法,其特征在于,在所述获取用户语音的步骤之前,所述表情图片提示方法还包括:The method according to claim 1, wherein before the step of acquiring a user's voice, the method for prompting an expression picture further comprises:
    根据语音功能设置指令设置语音发出监控功能和语音截取功能;Set the voice sending monitoring function and voice interception function according to the voice function setting instruction;
    采用所述语音发出监控功能监控用户是否发出所述用户语音;Adopting the voice emission monitoring function to monitor whether a user issues the user voice;
    若监控到所述用户语音,则启动所述语音截取功能,所述语音截取功能用于获取所述用户语音。If the user voice is monitored, the voice interception function is activated, and the voice interception function is used to obtain the user voice.
  7. 根据权利要求1至6中任意一项所述的表情图片提示方法,其特征在于,所述获取用户语音,将所述用户语音转换为相对应的文本,包括:The method according to any one of claims 1 to 6, wherein the acquiring a user's voice and converting the user's voice into corresponding text comprises:
    获取所述用户语音,将所述用户语音转换为相对应的文件流;Acquiring the user voice, and converting the user voice into a corresponding file stream;
    通过语音识别接口将所述文件流转换为所述文本。The file stream is converted into the text through a speech recognition interface.
  8. 一种表情图片提示装置,其特征在于,包括:An expression picture prompting device, comprising:
    转文本模块,用于获取用户语音,将所述用户语音转换为相对应的文本;A text-to-text module, configured to obtain a user's voice and convert the user's voice into corresponding text;
    目标关键词获取模块,用于获取预设的关键词表,根据所述预设的关键词表从所述文本中提取目标关键词;A target keyword obtaining module, configured to obtain a preset keyword list, and extract a target keyword from the text according to the preset keyword list;
    候选表情图片获取模块,用于根据所述目标关键词获取候选表情图片;A candidate expression picture acquisition module, configured to acquire a candidate expression picture according to the target keyword;
    目标表情图片选择模块,用于获取表情图片选择指令,根据所述表情图片选择指令从所述候选表情图片中选择至少一个目标表情图片,并将所述目标表情图片输出。A target expression picture selection module is configured to obtain an expression picture selection instruction, select at least one target expression picture from the candidate expression pictures according to the expression picture selection instruction, and output the target expression picture.
  9. 根据权利要求8所述的装置,其特征在于,所述装置还包括:The apparatus according to claim 8, further comprising:
    表情标签词获取单元,用于获取待关联表情图片,所述待关联表情图片包括表情标签词;An expression tag word acquisition unit, configured to acquire an expression picture to be associated, where the expression picture to be associated includes an expression tag word;
    关键词表创建单元,用于将所述表情标签词作为关键词,并根据所述关键词创建所述关键词表。A keyword list creation unit is configured to use the expression tag word as a keyword, and create the keyword list according to the keyword.
  10. 根据权利要求9所述的装置,其特征在于,所述候选表情图片获取模块,包括:The apparatus according to claim 9, wherein the candidate expression picture obtaining module comprises:
    目标标准关键词转换单元,用于获取关键词标准化对照表,根据所述关键词标准化对照表将所述目标关键词转换为目标标准关键词;A target standard keyword conversion unit, configured to obtain a keyword standardized comparison table, and convert the target keyword into a target standard keyword according to the keyword standardized comparison table;
    候选表情图片获取单元,用于获取标准关键词映射表,根据所述标准关键词映射表获取与所述目标标准关键词相对应的所述候选表情图片。A candidate expression picture obtaining unit is configured to obtain a standard keyword mapping table, and obtain the candidate expression picture corresponding to the target standard keyword according to the standard keyword mapping table.
  11. 一种计算机设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,其特征在于,所述处理器执行所述计算机可读指令时实现如 下步骤:A computer device includes a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, wherein the processor implements the computer-readable instructions as follows: step:
    获取用户语音,将所述用户语音转换为相对应的文本;Obtaining a user voice, and converting the user voice into corresponding text;
    获取预设的关键词表,根据所述预设的关键词表从所述文本中提取目标关键词;Obtaining a preset keyword list, and extracting target keywords from the text according to the preset keyword list;
    根据所述目标关键词获取候选表情图片;Obtaining candidate expression pictures according to the target keywords;
    获取表情图片选择指令,根据所述表情图片选择指令从所述候选表情图片中选择至少一个目标表情图片,并将所述目标表情图片输出。Acquire an expression picture selection instruction, select at least one target expression picture from the candidate expression pictures according to the expression picture selection instruction, and output the target expression picture.
  12. 根据权利要求11所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时还实现如下步骤:The computer device according to claim 11, wherein the processor further implements the following steps when executing the computer-readable instructions:
    获取待关联表情图片,所述待关联表情图片包括表情标签词;Obtaining an expression picture to be associated, where the expression picture to be associated includes an expression tag word;
    将所述表情标签词作为关键词,并根据所述关键词创建所述关键词表。Use the expression tag word as a keyword, and create the keyword list according to the keyword.
  13. 根据权利要求12所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时还实现如下步骤:The computer device according to claim 12, wherein the processor further implements the following steps when executing the computer-readable instructions:
    获取关键词标准化对照表,根据所述关键词标准化对照表将所述目标关键词转换为目标标准关键词;Obtaining a keyword standardized comparison table, and converting the target keyword into a target standard keyword according to the keyword standardized comparison table;
    获取标准关键词映射表,根据所述标准关键词映射表获取与所述目标标准关键词相对应的所述候选表情图片。A standard keyword mapping table is acquired, and the candidate expression pictures corresponding to the target standard keyword are acquired according to the standard keyword mapping table.
  14. 根据权利要求13所述的计算机设备,其特征在于,所述关键词表包括所述关键词,所述处理器执行所述计算机可读指令时还实现如下步骤:The computer device according to claim 13, wherein the keyword list includes the keywords, and the processor further implements the following steps when executing the computer-readable instructions:
    根据所述关键词表中所述关键词的含义创建所述关键词标准化对照表,并采用所述关键词标准化对照表将所述关键词进行标准化,得到标准关键词;Creating the keyword standardized comparison table according to the meaning of the keywords in the keyword table, and using the keyword standardized comparison table to standardize the keywords to obtain standard keywords;
    创建所述标准关键词和所述待关联表情图片之间的映射关系,得到所述标准关键词映射表。Create a mapping relationship between the standard keywords and the expression pictures to be associated, and obtain the standard keyword mapping table.
  15. 根据权利要求13所述的计算机设备,其特征在于,所述关键词表包括所述关键词,所述处理器执行所述计算机可读指令时还实现如下步骤:The computer device according to claim 13, wherein the keyword list includes the keywords, and the processor further implements the following steps when executing the computer-readable instructions:
    若所述候选表情图片的数量超过预设的数量阈值,则将所述候选表情图片的预设名称以列表的形式进行展示;If the number of candidate expression pictures exceeds a preset number threshold, displaying the preset names of the candidate expression pictures in a list form;
    若所述候选表情图片的数量不超过预设的数量阈值,则将所述候选表情图片进行展示。If the number of candidate expression pictures does not exceed a preset number threshold, the candidate expression pictures are displayed.
  16. 一种计算机非易失性可读存储介质,所述计算机非易失性可读存储介质存储有计算机可读指令,其特征在于,所述计算机可读指令被处理器执行时实现如下步骤:A computer non-volatile readable storage medium stores computer-readable instructions, and is characterized in that, when the computer-readable instructions are executed by a processor, the following steps are implemented:
    获取待关联表情图片,所述待关联表情图片包括表情标签词;Obtaining an expression picture to be associated, where the expression picture to be associated includes an expression tag word;
    将所述表情标签词作为关键词,并根据所述关键词创建所述关键词表。Use the expression tag word as a keyword, and create the keyword list according to the keyword.
  17. 根据权利要求16所述的计算机非易失性可读存储介质,其特征在于,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器还实现如下步骤:The computer non-volatile readable storage medium according to claim 16, wherein when the computer-readable instructions are executed by one or more processors, the one or more processors further implement the following steps: :
    获取待关联表情图片,所述待关联表情图片包括表情标签词;Obtaining an expression picture to be associated, where the expression picture to be associated includes an expression tag word;
    将所述表情标签词作为关键词,并根据所述关键词创建所述关键词表。Use the expression tag word as a keyword, and create the keyword list according to the keyword.
  18. 根据权利要求17所述的计算机非易失性可读存储介质,其特征在于,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器还实现如下步骤:The computer non-volatile readable storage medium according to claim 17, wherein when the computer-readable instructions are executed by one or more processors, the one or more processors further implement the following steps: :
    获取关键词标准化对照表,根据所述关键词标准化对照表将所述目标关键词转换为目标标准关键词;Obtaining a keyword standardized comparison table, and converting the target keyword into a target standard keyword according to the keyword standardized comparison table;
    获取标准关键词映射表,根据所述标准关键词映射表获取与所述目标标准关键词相对应的所述候选表情图片。A standard keyword mapping table is acquired, and the candidate expression pictures corresponding to the target standard keyword are acquired according to the standard keyword mapping table.
  19. 根据权利要求18所述的计算机非易失性可读存储介质,其特征在于,所述关键词表包括所述关键词,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器还实现如下步骤:The computer non-volatile readable storage medium according to claim 18, wherein the keyword list includes the keywords, and when the computer-readable instructions are executed by one or more processors, the Said one or more processors also implement the following steps:
    根据所述关键词表中所述关键词的含义创建所述关键词标准化对照表,并采用所述关键词标准化对照表将所述关键词进行标准化,得到标准关键词;Creating the keyword standardized comparison table according to the meaning of the keywords in the keyword table, and using the keyword standardized comparison table to standardize the keywords to obtain standard keywords;
    创建所述标准关键词和所述待关联表情图片之间的映射关系,得到所述标准关键词映射表。Create a mapping relationship between the standard keywords and the expression pictures to be associated, and obtain the standard keyword mapping table.
  20. 根据权利要求18所述的计算机非易失性可读存储介质,其特征在于,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器还实现如下步骤:The computer non-volatile readable storage medium according to claim 18, wherein when the computer-readable instructions are executed by one or more processors, the one or more processors further implement the following steps: :
    若所述候选表情图片的数量超过预设的数量阈值,则将所述候选表情图片的预设名称以列表的形式进行展示;If the number of candidate expression pictures exceeds a preset number threshold, displaying the preset names of the candidate expression pictures in a list form;
    若所述候选表情图片的数量不超过预设的数量阈值,则将所述候选表情图片进行展示。If the number of candidate expression pictures does not exceed a preset number threshold, the candidate expression pictures are displayed.
PCT/CN2018/123558 2018-08-23 2018-12-25 Expression picture prompting method and apparatus, computer device, and storage medium WO2020037921A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810964494.3A CN109408658A (en) 2018-08-23 2018-08-23 Expression picture reminding method, device, computer equipment and storage medium
CN201810964494.3 2018-08-23

Publications (1)

Publication Number Publication Date
WO2020037921A1 true WO2020037921A1 (en) 2020-02-27

Family

ID=65463684

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/123558 WO2020037921A1 (en) 2018-08-23 2018-12-25 Expression picture prompting method and apparatus, computer device, and storage medium

Country Status (2)

Country Link
CN (1) CN109408658A (en)
WO (1) WO2020037921A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110321918A (en) * 2019-04-28 2019-10-11 厦门大学 The method of public opinion robot system sentiment analysis and image labeling based on microblogging
CN110336733B (en) * 2019-04-30 2022-05-17 上海连尚网络科技有限公司 Method and equipment for presenting emoticon
CN112365893A (en) * 2020-10-30 2021-02-12 上海中通吉网络技术有限公司 Voice conversion method, device and equipment
CN115348225B (en) * 2022-06-06 2023-11-07 钉钉(中国)信息技术有限公司 Expression information processing method, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002288101A (en) * 2001-03-23 2002-10-04 Sony Corp Method and program for displaying chat character, chat character display program storage medium, and shared virtual space display device
CN106570106A (en) * 2016-11-01 2017-04-19 北京百度网讯科技有限公司 Method and device for converting voice information into expression in input process
CN106886606A (en) * 2017-03-21 2017-06-23 联想(北京)有限公司 Method and system for recommending expression according to user speech
CN107423277A (en) * 2016-02-16 2017-12-01 中兴通讯股份有限公司 A kind of expression input method, device and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002288101A (en) * 2001-03-23 2002-10-04 Sony Corp Method and program for displaying chat character, chat character display program storage medium, and shared virtual space display device
CN107423277A (en) * 2016-02-16 2017-12-01 中兴通讯股份有限公司 A kind of expression input method, device and terminal
CN106570106A (en) * 2016-11-01 2017-04-19 北京百度网讯科技有限公司 Method and device for converting voice information into expression in input process
CN106886606A (en) * 2017-03-21 2017-06-23 联想(北京)有限公司 Method and system for recommending expression according to user speech

Also Published As

Publication number Publication date
CN109408658A (en) 2019-03-01

Similar Documents

Publication Publication Date Title
US11948058B2 (en) Utilizing recurrent neural networks to recognize and extract open intent from text inputs
WO2020037921A1 (en) Expression picture prompting method and apparatus, computer device, and storage medium
US10635392B2 (en) Method and system for providing interface controls based on voice commands
JP6909832B2 (en) Methods, devices, equipment and media for recognizing important words in audio
CN107210035B (en) Generation of language understanding systems and methods
CN109670163B (en) Information identification method, information recommendation method, template construction method and computing device
CN110223695B (en) Task creation method and mobile terminal
US20180314882A1 (en) Sorting and displaying digital notes on a digital whiteboard
US10108698B2 (en) Common data repository for improving transactional efficiencies of user interactions with a computing device
WO2016206210A1 (en) Information pushing method and device
US10699712B2 (en) Processing method and electronic device for determining logic boundaries between speech information using information input in a different collection manner
CN110164435A (en) Audio recognition method, device, equipment and computer readable storage medium
JP2017534941A (en) Orphan utterance detection system and method
TW202020691A (en) Feature word determination method and device and server
US11031009B2 (en) Method for creating a knowledge base of components and their problems from short text utterances
JP2020521210A (en) Information processing method and terminal, computer storage medium
WO2016023317A1 (en) Voice information processing method and terminal
JP2016536652A (en) Real-time speech evaluation system and method for mobile devices
TW201426362A (en) Input processing method and apparatus
TW201606750A (en) Speech recognition using a foreign word grammar
WO2020119064A1 (en) Method and device for storing internet information in linked manner, computer apparatus and storage medium
WO2020103447A1 (en) Link-type storage method and apparatus for video information, computer device and storage medium
WO2023142451A1 (en) Workflow generation methods and apparatuses, and electronic device
WO2020233381A1 (en) Speech recognition-based service request method and apparatus, and computer device
WO2021051564A1 (en) Speech recognition method, apparatus, computing device and storage medium

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: 18930754

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: 18930754

Country of ref document: EP

Kind code of ref document: A1