WO2018045646A1 - Artificial intelligence-based method and device for human-machine interaction - Google Patents
Artificial intelligence-based method and device for human-machine interaction Download PDFInfo
- Publication number
- WO2018045646A1 WO2018045646A1 PCT/CN2016/108418 CN2016108418W WO2018045646A1 WO 2018045646 A1 WO2018045646 A1 WO 2018045646A1 CN 2016108418 W CN2016108418 W CN 2016108418W WO 2018045646 A1 WO2018045646 A1 WO 2018045646A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- type
- preset
- keyword
- score
- information
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/9032—Query formulation
- G06F16/90332—Natural language query formulation or dialogue systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/90335—Query processing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
Definitions
- the present application relates to the field of computers, and in particular to the field of human-computer interaction, and more particularly to a human-computer interaction method and apparatus based on artificial intelligence.
- Artificial Intelligence is a new technical science that studies and develops theories, methods, techniques, and application systems for simulating, extending, and extending human intelligence.
- Artificial intelligence is a branch of computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that responds in a manner similar to human intelligence. Research in this area includes robotics, speech recognition, image recognition, Natural language processing and expert systems. Artificial intelligence is increasingly integrated into human-computer interaction. Human-computer interaction combined with artificial intelligence can analyze user needs and feed back the answers that users expect.
- the commonly used method is: adopting the rule matching method, continuously fetching the latest content from the massive information, and configuring the rule matching template corresponding to the requirement type, when the user inputs the problem and When the rule matches the template match, the requirement type is determined, and the answer corresponding to the requirement type is generated.
- the rule matching template fails to timely cover the keywords in the latest content, the user cannot be recognized.
- the input question is such as the movie name of the movie to be released, and thus the answer to the demand for a group purchase ticket such as the user's upcoming movie is not recognized.
- users often enter questions that are often Now, for example, in the case of a colloquial expression or a typo, since the keyword in the rule matching is a word conforming to the expression specification, it is impossible to recognize the name of the movie input by the user, such as a colloquial expression or a typo, and thus cannot be recognized. Such as the need for a group purchase coupon for a movie that the user needs to be released.
- the present application provides a human-computer interaction method and apparatus based on artificial intelligence, which is used to solve the technical problems existing in the above background art.
- the present application provides a human-computer interaction method based on artificial intelligence, the method comprising: receiving an interaction statement input by a user; acquiring a search result corresponding to the interaction statement in the search engine, and searching from a preset type in the search result.
- the type keyword is extracted, and the type keyword includes: a subject name of the preset type of search result; whether the type keyword is associated with the acquisition requirement of the preset type information, and the judgment result is obtained; Generate an answer corresponding to the interactive statement.
- the present application provides a human-computer interaction device based on artificial intelligence, the device includes: a receiving unit configured to receive an interaction statement input by a user; and a processing unit configured to acquire a search result corresponding to the interaction statement in the search engine And extracting a type keyword from the preset type of search results in the search result, the type keyword includes: a subject name of the preset type of search result; and a determining unit configured to determine whether the type keyword is related to the preset type
- the acquisition request of the information is associated with the judgment result; and the generation unit is configured to generate an answer corresponding to the interaction statement in a manner corresponding to the judgment result.
- the artificial intelligence-based human-computer interaction method and apparatus receives an interaction statement input by a user, acquires a search result corresponding to an interaction statement in a search engine, and extracts a type from a preset type of search result in the search result.
- the keyword is determined whether the type keyword is associated with the acquisition requirement of the preset type of information, and the judgment result is obtained; and the answer corresponding to the interaction statement is generated in a manner corresponding to the judgment result.
- the search engine is used to update the query result corresponding to the query and the error correction and optimization of the query, and the type keyword of the movie name is extracted from the search result corresponding to the interactive sentence input by the user in the human-computer interaction. .
- the question input by the user includes a type keyword of a movie name such as the latest release movie, a colloquial expression in the interactive sentence such as a movie name or a typo in the movie name, the correct type keyword can be extracted, Rear Continued protection of the need for identification of interactive statements.
- the rule matching determines whether the interactive sentence input by the user has an acquisition requirement of information of a preset type such as a movie type, and it is determined to adopt a strong probability threshold or a standard probability threshold. Comparing the extracted common word probability of a type keyword such as a movie name with a strong probability threshold or a standard probability threshold according to a pre-calculated common word probability of a type keyword such as a mass movie name, and finally determining the extracted movie. Whether there is a demand for movies. The manner in which the answer is generated is determined based on whether the extracted type keyword such as the movie name is related to the acquisition demand of the information of the preset type such as the movie type. Improve the accuracy of the need identification of interactive statements entered by the user.
- FIG. 1 illustrates an exemplary system architecture of an artificial intelligence based human-computer interaction method or apparatus that can be applied to the present application
- FIG. 2 shows a flow chart of one embodiment of an artificial intelligence based human-computer interaction method according to the present application
- FIG. 3 shows an exemplary flowchart of a score extraction type keyword according to a preset type of search result
- 4A shows an exemplary effect diagram of extracting a type keyword from search results in a search engine corresponding to a PC side
- 4B shows an exemplary effect diagram of extracting a type keyword from search results in a search engine corresponding to a mobile terminal
- FIG. 5 is a flow chart showing another embodiment of an artificial intelligence based human-computer interaction method according to the present application.
- FIG. 6 illustrates an exemplary flowchart for identifying whether an interaction statement is associated with an acquisition requirement of a preset type of information by rule matching
- FIG. 7 shows an exemplary flowchart of determining whether to filter a movie name
- FIG. 8 illustrates an exemplary flowchart of an artificial intelligence based human-computer interaction method according to the present application
- FIG. 9 is a schematic structural diagram of an embodiment of an artificial intelligence based human-machine interaction apparatus according to the present application.
- FIG. 10 is a schematic structural diagram of a computer system suitable for implementing an artificial intelligence based human-machine interaction apparatus according to an embodiment of the present application.
- FIG. 1 illustrates an exemplary system architecture 100 of an embodiment of an artificial intelligence based human-computer interaction method or apparatus that can be applied to the present application.
- system architecture 100 can include terminal devices 101, 102, 103, network 104, and server 105.
- the network 104 is used to provide a medium for the transmission link between the terminal devices 101, 102, 103 and the server 105.
- Network 104 may include various types of connections, such as wired, wireless transmission links, or fiber optic cables, to name a few.
- the user can interact with the server 105 over the network 104 using the terminal devices 101, 102, 103 to receive or transmit messages and the like.
- Various communication applications such as an input method application, a browser application, a search application, a word processing application, and the like, may be installed on the terminal devices 101, 102, and 103.
- the terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting network communication, including but not limited to smart phones, tablets, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, dynamic The video specialist compresses the standard audio layer 3), MP4 (Moving Picture Experts Group Audio Layer IV) player, laptop portable computer and desktop computer, and the like.
- MP3 players Motion Picture Experts Group Audio Layer III, dynamic The video specialist compresses the standard audio layer 3
- MP4 Moving Picture Experts Group Audio Layer IV
- the terminal device 101, 102, 103 can be configured with artificial intelligence based human-computer interaction
- the artificial intelligence-based human-computer interaction application can perform semantic recognition on the content input by the user, such as voice, recognize the user's intention, and generate an answer corresponding to the content input by the user according to the recognized intention.
- the server 105 can receive the search request sent by the terminal devices 101, 102, and 103, find out the search result, and send the search result to the terminal devices 101, 102, and 103.
- FIG. 2 illustrates a flow 200 of one embodiment of an artificial intelligence based human-computer interaction method in accordance with the present application.
- the method for human-computer interaction based on artificial intelligence provided by the embodiments of the present application may be performed by the terminal devices 101, 102, and 103 in FIG. 1, for example, artificial intelligence configured by the terminal devices 101, 102, and 103.
- the human-computer interaction application is executed, and accordingly, the artificial intelligence-based human-computer interaction device may be disposed in the terminal devices 101, 102, and 103.
- the method includes the following steps:
- Step 201 Receive an interactive statement input by a user.
- the human-computer interaction application based on the artificial intelligence on the terminal device receives the human-computer interaction
- the user inputs the interactive statement by using a keyboard, a voice, or the like.
- a keyboard a voice
- the voice may be first recognized to obtain a statement corresponding to the voice.
- Step 202 Extract a type keyword from a preset type of search result in a search result corresponding to the interaction statement in the search engine.
- the type keyword includes: a subject name of a preset type of search result.
- the preset type includes: a movie type, a music type.
- the search result corresponding to the interactive sentence input by the user in the search engine may be first obtained.
- the interaction statement input by the user may be sent to the server, and the search engine of the server may use the interactive statement as a search type, ie, query, and use the inverted index to find the search result corresponding to the interactive statement.
- the type keyword may be extracted from the search result belonging to the movie type of the search result corresponding to the interactive sentence in the search engine, and the type keyword includes the topic name of the search result.
- the subject name of the movie type search result can be the movie name.
- the search result when the search result is presented in the html page, the information is defined in the html tag.
- the search result When the content in the tag of the html page is detected as a link, and the link contains a keyword of the type of the video, the search result may be determined as movie types.
- the title of the search result can be defined in the title tag, and the content in the title tag can be extracted.
- extracting the type keyword from the preset type of search results in the search result includes: performing a preset type search in a preset number of search results corresponding to the interaction statement a position of the result, a score of a preset type of search result is calculated, the score indicates a popularity level of the preset type of search result; a judgment score is greater than a score threshold; and when the score is greater than the score threshold, from a preset type of search result Extract the type keywords.
- FIG. 3 shows an exemplary flowchart of a score extraction type keyword according to a preset type of search result.
- the preset type keyword as the movie name example, firstly obtain the first 10 search results in the search engine when the query is searched on the pc end and the mobile terminal, and the first 10 search results and the movie "Forrest Gump" The name of the movie in the relevant search results.
- the position of the movie result in the first 10 search results on the PC side and the position of the movie result in the first 10 search results on the mobile terminal are respectively taken as input parameters of the nonlinear function, and the score on the PC end and the score of the mobile terminal are obtained. Then, with different weights, the PC-side score and the mobile terminal's score are fitted to a final score final_score.
- a threshold threshold can be divided according to the scores of the search results corresponding to the queries of the plurality of strong demands.
- a score threshold threshold can be divided according to the scores of the search results corresponding to the query of the plurality of pre-identified strong movie requirements.
- final_score is greater than the fractional threshold threshold, the power parsed from the search results can be adopted.
- the first 10 search results in the search engine when searching for the "Gump" and the search engine in the mobile terminal are searched separately.
- Top 10 search results The positions of the top 10 search results in the search engine and the search results of the movie type in the top 10 search results in the search engine when the mobile terminal performs the search may be separately determined.
- the "A-Gump" can be searched on the pc side, and the position of the first search result belonging to the movie type in the first 10 search results in the search engine is used as the input parameter of the preset nonlinear function, and the PC end is obtained. Score.
- the position of the first one of the first 10 search results in the search engine belonging to the movie type may be used as the input parameter of the preset nonlinear function when the "Forrest Gump" searches in the mobile terminal, and the mobile terminal score is obtained.
- the sum of the product of the pc end score and the preset pc end weight value and the product of the mobile terminal score and the preset mobile terminal weight value is used as an input parameter of the preset linear function, thereby obtaining a score of the movie type search result.
- FIG. 4A shows an exemplary effect diagram of extracting type keywords from search results in a search engine corresponding to the PC side.
- the default type of search results are movie type search results, such as the website of the movie "Forrest Gump” and the "Gump of Forrest Gump".
- the type keyword can be extracted from the search result of the movie type, for example, the movie name "A” is extracted from the theme name of the search result corresponding to the website of the movie playing "Forrest Gump”. Gan Zhengchuan.”
- FIG. 4B an exemplary effect diagram of extracting a type keyword from search results in a search engine corresponding to a mobile terminal is shown.
- the search engine has the error correction function, the search result associated with the correct movie name "Forrest Gump” can be obtained.
- the type keyword can be extracted from the search result of the movie type as the movie name "Forrest Gump".
- the search engine is used to update the search result corresponding to the query and the error correction and optimization of the query are performed, and a type keyword such as a movie name is extracted from the search result.
- a type keyword such as the movie name of the latest release movie, or a colloquial expression in the interactive sentence, such as a movie name or a movie name
- a typo can be searched for from the search engine.
- the correct movie name is extracted from the result, which provides guarantee for the subsequent identification of the requirement of the interactive statement, such as the requirement of the movie type.
- the word does not exist in the rule matching template, resulting in the interaction statement.
- the word is not recognized in the requirement identification, and the requirement cannot be identified.
- the rule matching template only contains the correct word "Forrest Gump” As a result, the word cannot be recognized in the requirement identification of the interactive statement, and the requirement cannot be identified.
- the search result corresponding to the obtained interactive statement includes the upcoming release.
- the movie's movie name will be indefinite", so that the movie name of the upcoming movie can be extracted from the search result corresponding to the interactive sentence.
- the search result corresponding to the obtained interactive sentence is the correct word corrected by the search engine.
- Gan Zhengchuan search results obtained by searching, so that the correct movie name "Forrest Gump” can be extracted from the search results.
- Step 203 Determine whether the type keyword is associated with the acquisition requirement of the preset type information, and obtain the judgment result.
- the type keyword is extracted from the search result of the preset type in the search result
- the type keyword is a movie name
- Step 204 Generate an answer corresponding to the interaction statement in a manner corresponding to the determination result.
- the answer corresponding to the interaction statement may be generated in a manner corresponding to the determination result.
- the artificial intelligence based human-computer interaction application can generate the movie name as a common word. answer.
- the artificial intelligence based human-computer interaction application can generate an answer based on the acquisition requirement of the movie type information. For example, to get a link to the movie coupon for the movie, then generate the answer "I recommend you a few cinemas + links that are close to you and have discounts.”
- FIG. 5 illustrates a flow 500 of another embodiment of an artificial intelligence based human-computer interaction method in accordance with the present application.
- the method for human-computer interaction based on artificial intelligence provided by the embodiments of the present application may be performed by the terminal devices 101, 102, and 103 in FIG. 1, for example, artificial intelligence configured by the terminal devices 101, 102, and 103.
- Step 501 Receive an interactive statement input by a user.
- the human-computer interaction application based on the artificial intelligence on the terminal device can be used to receive an interactive statement input by the user through a keyboard, a voice, or the like when the human-computer interaction is received. For example, when a user wants to know what a good movie to watch, he can input "What good movie have you recently?" by voice. After receiving the interactive statement for input, the voice may be first recognized to obtain a statement corresponding to the voice.
- Step 502 a preset type in the search result corresponding to the interaction statement in the search engine Type keywords are extracted from the search results.
- the search result corresponding to the interaction statement input by the user in the search engine may be first acquired. Then, the score of the preset type of search result may be calculated based on the preset type of search result at the position of the search result corresponding to the interactive sentence. The score of the preset type of search result indicates the popularity of the preset type of search result. When the score is greater than the score threshold, the type keyword can be extracted from the preset type of search result.
- the first 10 search results in the search engine when searching for the "Gump” and the search engine in the mobile terminal are searched separately.
- Top 10 search results The positions of the top 10 search results in the search engine and the top 10 search results in the search engine when searching on the mobile terminal can be separately determined by "Forrest Gump". Then, the "A-Gump" can be searched on the pc side, and the position of the first search result belonging to the movie type in the first 10 search results in the search engine is used as the input parameter of the preset nonlinear function, and the PC end is obtained. Score.
- the position of the first one of the first 10 search results in the search engine belonging to the movie type may be used as the input parameter of the preset nonlinear function when the "Forrest Gump" searches in the mobile terminal, and the mobile terminal score is obtained.
- the sum of the product of the pc end score and the preset pc end weight value and the product of the mobile terminal score and the preset mobile terminal weight value is used as an input parameter of the preset linear function, thereby obtaining a score of the movie type search result.
- Step 503 Determine, according to the probability of the common word, whether the type keyword is associated with the acquisition requirement of the preset type of information, and obtain the judgment result.
- the web crawler type keyword may be pre-selected, and the common word probability of the captured type keyword being a common word may be calculated. Taking the type keyword as the movie name, you can use the web crawler to capture a large number of movie names from the website in advance. Then, the ordinary word probability of the movie named ordinary word is calculated separately.
- the common word probability of the type keyword extracted by step 502 can be compared with the determined probability threshold strong probability threshold or standard probability threshold according to the common word probability of the pre-calculated massive type keyword.
- the type keyword is Whether it is associated with the acquisition requirement of the preset type of information, the judgment result is obtained.
- the common word probability of the movie name extracted by step 502 and the determined probability threshold value may be based on the common word probability of the pre-calculated movie name. Compare. When the common word probability corresponding to the movie name is greater than the determined probability threshold, it may be determined that the movie name is not associated with the acquisition requirement of the movie type information. When the common word probability corresponding to the movie name is less than the determined probability threshold, it may be determined that the movie name is associated with the acquisition requirement of the information of the movie type. Thereby, it is finally determined whether or not the movie name extracted by step 502 has a request for acquisition of information of a movie type.
- whether the strong threshold or the standard threshold is adopted is determined by the rule matching whether the interaction statement input by the user received in step 501 has a preset type of information.
- the rule matching template containing the preset requirement keyword matches the interactive sentence input by the user, and determines whether the interactive keyword input by the user includes the demand keyword.
- the preset demand keywords are “have a sequel?” and “when a release”.
- the rule matching template matches the interaction statement input by the user, and it is determined that the interaction statement input by the user includes the requirement keyword, it may be determined that the interaction statement input by the user is associated with the acquisition requirement of the information of the movie type.
- the rule matching template matches the interactive sentence input by the user, and it is determined that the interactive keyword input by the user does not include the demand keyword, it may be determined that the interactive sentence input by the user is not associated with the acquisition requirement of the movie type information.
- the strong probability threshold may be determined as a probability threshold for comparison with the common word probability corresponding to the type keyword.
- the standard probability threshold may be determined as a probability threshold for comparison with the common word probability corresponding to the type keyword.
- FIG. 6 illustrates an exemplary flowchart for identifying whether an interaction statement is associated with an acquisition requirement of a preset type of information by rule matching.
- the intent of the query and the contents of the slot under the intent of the parsing can be identified by rule matching.
- Demand for film For example, when the query has a movie intent, that is, the query is associated with the acquisition requirement of the information of the movie type, the slot content of each dimension obtained by the parsing, such as a movie name, an actor, and a type, may be recorded.
- the query does not have a movie intent, that is, the query is not associated with the acquisition requirement of the movie type information, the slot content can be emptied.
- FIG. 7 shows an exemplary flowchart for determining whether to filter a movie name.
- the common word probability is calculated by the massive movie name obtained by the web crawler, and a common word probability dictionary is obtained.
- the training is divided according to the probability value, and a strong common word set, a general common word set, and a movie demand word set are obtained. Strong probability threshold, standard probability threshold.
- the current movie name is subjected to different degrees of probability threshold detection, that is, a strong probability threshold corresponding to the result obtained by matching the movie name and the rule matched in the search result corresponding to the interactive sentence input by the user or Standard probability thresholds are compared. Only when the common word probability of the current movie name is lower than the threshold, the movie name is finally retained, that is, the answer is generated based on the movie name, otherwise the movie name is filtered, that is, the movie name is generated as an ordinary word.
- degrees of probability threshold detection that is, a strong probability threshold corresponding to the result obtained by matching the movie name and the rule matched in the search result corresponding to the interactive sentence input by the user or Standard probability thresholds are compared. Only when the common word probability of the current movie name is lower than the threshold, the movie name is finally retained, that is, the answer is generated based on the movie name, otherwise the movie name is filtered, that is, the movie name is generated as an ordinary word.
- the strong probability threshold is compared with the common word probability of the current movie name. It is judged whether the type keyword is associated with the acquisition requirement of the preset type of information. Thus, the movie name is more carefully filtered to improve the accuracy of the demand identification.
- Step 504 Determine, according to the determination result, a manner of generating an answer corresponding to the question.
- the step 503 is based on the probability that the type keyword is a common word, it is determined whether the type keyword is associated with the acquisition requirement of the preset type information, and after the judgment result is obtained, the generation problem may be determined according to the judgment result. The way the answer is.
- the answer is generated based on the type keyword as a common word; when the type keyword is associated with the acquisition requirement of the preset type of information, based on the preset type The information is obtained by the need to generate an answer.
- the artificial intelligence based human-computer interaction should be Use the movie name as a common word to generate an answer.
- the artificial intelligence based human-computer interaction application can generate an answer based on the acquisition requirement of the movie type information. For example, to get a link to the movie coupon for the movie, then generate the answer "I recommend you a few cinemas + links that are close to you and have discounts.”
- FIG. 8 illustrates an exemplary flowchart of an artificial intelligence based human-computer interaction method according to the present application.
- the user can input the interactive statement through the keyboard, voice, etc. when the human-computer interaction application based on the artificial intelligence on the terminal device receives the human-computer interaction. For example, when a user wants to know what a good movie to watch, he can input "What good movie have you recently?" by voice.
- the voice After receiving the interactive statement for input, the voice may be first recognized to obtain a statement corresponding to the voice.
- the search engine-based parsing system can obtain the search result of the query, that is, the content input by the user in the search engine, and extract the movie related content.
- the score of the search result of the movie type may be calculated based on the search result belonging to the movie type at the position of the preset number of search results corresponding to the interactive sentence, and whether the score is greater than the score threshold. When the score is greater than the score threshold, a type keyword such as a movie name is extracted from the search result of the movie type.
- the rule matching based parsing system can perform rule matching on the query, that is, the content input by the user, and extract the movie related content. Then, the rule matching method can be used to identify whether the interactive sentence input by the user is associated with the acquisition request of the movie type information.
- the strong probability threshold may be used as a probability threshold for comparison with the common word probability corresponding to the type keyword such as the movie name.
- the standard probability threshold may be used as a probability threshold for comparison with a common word probability corresponding to a type keyword such as a movie name.
- the filtering system based on the common word probability can adopt the web crawler crawling type keyword in advance, and calculate the common word probability that the captured type keyword is a common word. Then, it can be judged whether the type of the keyword, for example, the common word probability corresponding to the movie name is greater than the comparison probability threshold for the comparison. When the movie name corresponds to the common word probability is less than the sum used to compare it When the threshold is used, it can be determined that the movie name is not associated with the acquisition requirement of the movie type information, that is, the current demand of the user is non-movie, then the current movie name is filtered, and the human-computer interaction application based on artificial intelligence can use the movie name as a common word. To generate an answer.
- the probability of the common word corresponding to the movie name is greater than the probability threshold for comparison with the movie name, it may be determined that the movie name is associated with the acquisition requirement of the information of the movie type, that is, the current demand of the user is a movie, and the current movie name is retained, which may be based on artificial intelligence.
- the human-computer interaction application can generate an answer based on the acquisition requirements of the information of the movie type. For example, to get a link to the movie coupon for the movie, then generate the answer "I recommend you a few cinemas + links that are close to you and have discounts.”
- FIG. 9 is a schematic structural diagram of an embodiment of an artificial intelligence based human-machine interaction apparatus according to the present application.
- the artificial intelligence based human-machine interaction apparatus 900 includes a receiving unit 901, a processing unit 902, a determining unit 903, and a generating unit 904.
- the receiving unit 901 is configured to receive an interaction statement input by the user;
- the processing unit 902 is configured to acquire a search result corresponding to the interaction statement in the search engine, and extract the type keyword from the preset type of search result in the search result.
- the type keyword includes: a subject name of the search result of the preset type;
- the determining unit 903 is configured to determine whether the type keyword is associated with the acquisition requirement of the preset type of information, and obtain a determination result;
- the generating unit 904 is configured to The method corresponding to the judgment result generates an answer corresponding to the interaction statement.
- the preset type includes: a movie type, a music type.
- the processing unit 902 includes: a calculation subunit (not shown) configured to preset a search result of a preset type based on a preset number of search results corresponding to the interaction statement. a location, a score of a preset type of search result is calculated, the score indicates a popularity level of the preset type of search result; a score judgment subunit (not shown) configured to determine whether the score is greater than a score threshold; the extraction subunit (not shown) And configured to extract the type keyword from the preset type of search result when the score is greater than the score threshold.
- the calculating subunit is further configured to: search result of the first preset type in the preset number of search results corresponding to the interaction statement when searching on the pc end
- the position of the first preset type of search result among the preset number of search results corresponding to the interactive sentence when searching on the mobile terminal is used as an input parameter of the preset nonlinear function, and the mobile terminal score is obtained.
- the sum of the product of the pc end score and the preset pc end weight value and the product of the mobile terminal score and the preset mobile terminal weight value is used as an input parameter of the preset linear function to obtain a score of the preset type search result.
- the apparatus 900 further includes: a crawling unit (not shown) configured to use a web crawler to capture a type keyword before receiving the interactive statement input by the user;
- a probability calculation unit (not shown) is configured to calculate a common word probability that the captured type keyword is a common word.
- the determining unit 903 includes: an identifying subunit (not shown) configured to identify, by using a rule matching manner, whether the interactive statement is associated with an acquisition requirement of a preset type of information, Obtaining a recognition result; a probability threshold determining subunit (not shown) configured to determine, according to the recognition result, a probability threshold for comparing a common word probability corresponding to the type keyword, wherein the probability threshold comprises: a standard probability threshold, which is greater than a standard a strong probability threshold of the probability threshold; a requirement determining subunit (not shown) configured to determine that the type keyword is not related to the preset type of information when the common word probability corresponding to the type keyword is greater than the determined probability threshold The requirement is associated; when the common word probability corresponding to the type keyword is less than the determined probability threshold, determining the type keyword is associated with the acquisition requirement of the preset type of information.
- the probability threshold determining subunit is further configured to: when the recognition result is that the interaction statement is associated with an acquisition requirement of the preset type of information, use the strong probability threshold as a The probability threshold for comparing the common word probabilities corresponding to the type keywords; when the recognition result is that the interaction statement is not associated with the acquisition requirement of the preset type of information, the standard probability threshold is used as the common word probability corresponding to the type keyword The probability threshold for comparison.
- the generating unit 904 includes: a first answer generating subunit (not shown) configured to be used when the type keyword is not associated with the acquiring requirement of the preset type of information. Generating an answer based on the type keyword as a common word; a second answer generating subunit (not shown) configured to be based on the preset type information when the type keyword is associated with the acquisition requirement of the preset type of information Generate an answer by getting the demand.
- FIG. 10 is a block diagram showing the structure of a computer system suitable for implementing the artificial intelligence based human-machine interaction device of the embodiment of the present application. .
- computer system 1000 includes a central processing unit (CPU) 1001 that can be loaded into a program in random access memory (RAM) 1003 according to a program stored in read only memory (ROM) 1002 or from storage portion 908. And perform various appropriate actions and processes.
- RAM random access memory
- ROM read only memory
- RAM random access memory
- various programs and data required for the operation of the system 1000 are also stored.
- the CPU 1001, the ROM 1002, and the RAM 1003 are connected to each other through a bus 1004.
- An input/output (I/O) interface 1005 is also coupled to bus 1004.
- the following components are connected to the I/O interface 1005: an input portion 1006 including a keyboard, a mouse, etc.; an output portion 1007 including a cathode ray tube (CRT), a liquid crystal display (LCD), and the like, and a speaker; a storage portion 1008 including a hard disk or the like And a communication portion 1009 including a network interface card such as a LAN card, a modem, or the like.
- the communication section 1009 performs communication processing via a network such as the Internet.
- Driver 1010 is also coupled to I/O interface 1005 as needed.
- a removable medium 1011 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory or the like is mounted on the drive 1010 as needed so that a computer program read therefrom is installed into the storage portion 1008 as needed.
- an embodiment of the present disclosure includes a computer program product comprising a computer program tangibly embodied on a machine readable medium, the computer program comprising program code for executing the method illustrated in the flowchart.
- the computer program can be downloaded and installed from the network via the communication portion 1009, and/or installed from the removable medium 1011.
- each block of the flowchart or block diagrams can represent a module, a program segment, or a portion of code that includes one or more logic for implementing the specified.
- Functional executable instructions can also occur in a different order than that illustrated in the drawings. For example, two successively represented blocks may in fact be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved.
- each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be used A combination of dedicated hardware and computer instructions is implemented.
- the present application further provides a non-volatile computer storage medium, which may be a non-volatile computer storage medium included in the device described in the above embodiments; It may be a non-volatile computer storage medium that exists alone and is not assembled into the terminal.
- the non-volatile computer storage medium stores one or more programs, when the one or more programs are executed by a device, causing the device to: receive an interaction statement input by a user; and acquire the interaction statement in the search engine Corresponding search results, and extracting a type keyword from the preset type of search results in the search result, the type keyword includes: a theme name of the preset type of search result; determining the type key Whether the word is associated with the acquisition requirement of the preset type of information, and the judgment result is obtained; and the answer corresponding to the interaction statement is generated in a manner corresponding to the judgment result.
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Mathematical Physics (AREA)
- Artificial Intelligence (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
An artificial intelligence-based method and device for human-machine interaction. An embodiment of the method comprises: receiving an interactive statement inputted by a user (201); extracting a type keyword from a preset type of search results of search results corresponding to the interactive statement in a search engine (202); determining whether the type keyword is associated with an acquisition demand for information of the preset type, thus producing the determination result (203); and, in a manner corresponding to the determination result, generating an answer corresponding to the interactive statement (204). On the one hand, the fast updating speed and an error correction function of the search engine are utilized to extract the type keyword, thus providing assurance for demand recognition of a subsequent interactive statement. On the other hand, the common term probability of the type keyword is compared with a strong threshold or a standard threshold on the basis of the common term probability of the type keyword, and whether the type keyword is associated with an acquisition request for the information of the preset type is finally determined. Increased is the accuracy of demand recognition with respect to the interactive statement inputted by the user.
Description
相关申请的交叉引用Cross-reference to related applications
本申请要求于2016年9月9日提交的中国专利申请号为“201610812567.8”的优先权,其全部内容作为整体并入本申请中。The present application claims the priority of the Chinese Patent Application No. 2016/0112567.8, filed on Sep. 9, 2016, the entire content of
本申请涉及计算机领域,具体涉及人机交互领域,尤其涉及基于人工智能的人机交互方法和装置。The present application relates to the field of computers, and in particular to the field of human-computer interaction, and more particularly to a human-computer interaction method and apparatus based on artificial intelligence.
人工智能技术(Artificial Intelligence,简称AI)的快速发展为人们的日常工作和生活提供了便利。人工智能是研究、开发用于模拟、延伸和扩展人的智能的理论、方法、技术及应用系统的一门新的技术科学。人工智能是计算机科学的一个分支,它企图了解智能的实质,并生产出一种新的能以人类智能相似的方式做出反应的智能机器,该领域的研究包括机器人、语言识别、图像识别、自然语言处理和专家系统等。人工智能越来越多地融入到人机交互中,结合人工智能的人机交互可以分析用户的需求,将用户期望得到的答案反馈给用户。目前,在人机交互中生成答案时,通常采用的方式为:采用规则匹配方式,预先从海量信息中不断地抓取最新的内容,配置需求类型对应的规则匹配模板,当用户输入的问题与规则匹配模板匹配时,确定需求类型,生成需求类型对应的答案。The rapid development of Artificial Intelligence (AI) has facilitated people's daily work and life. Artificial intelligence is a new technical science that studies and develops theories, methods, techniques, and application systems for simulating, extending, and extending human intelligence. Artificial intelligence is a branch of computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that responds in a manner similar to human intelligence. Research in this area includes robotics, speech recognition, image recognition, Natural language processing and expert systems. Artificial intelligence is increasingly integrated into human-computer interaction. Human-computer interaction combined with artificial intelligence can analyze user needs and feed back the answers that users expect. At present, when generating an answer in human-computer interaction, the commonly used method is: adopting the rule matching method, continuously fetching the latest content from the massive information, and configuring the rule matching template corresponding to the requirement type, when the user inputs the problem and When the rule matches the template match, the requirement type is determined, and the answer corresponding to the requirement type is generated.
然而,当采用上述方式生成答案时,一方面,由于诸如电影、音乐等类型的信息的更新速度很快,当规则匹配模板未能及时覆盖最新的内容中的关键词时,导致无法识别出用户输入的问题中诸如即将上映的电影的电影名称,进而无法识别出诸如用户需要即将上映的电影的团购券的需求而生成答案。另一方面,用户输入的问题中经常会出
现诸如口语化的表述或错别字的情况,由于规则匹配中的关键词为符合表达规范的词语,导致无法识别出用户输入的问题中诸如采用口语化表述或出现错别字的电影名,进而无法识别出诸如用户需要即将上映的电影的团购券的需求。However, when the answer is generated in the above manner, on the one hand, since the update speed of information such as movies, music, and the like is fast, when the rule matching template fails to timely cover the keywords in the latest content, the user cannot be recognized. The input question is such as the movie name of the movie to be released, and thus the answer to the demand for a group purchase ticket such as the user's upcoming movie is not recognized. On the other hand, users often enter questions that are often
Now, for example, in the case of a colloquial expression or a typo, since the keyword in the rule matching is a word conforming to the expression specification, it is impossible to recognize the name of the movie input by the user, such as a colloquial expression or a typo, and thus cannot be recognized. Such as the need for a group purchase coupon for a movie that the user needs to be released.
发明内容Summary of the invention
本申请提供了一种基于人工智能的人机交互方法和装置,用于解决上述背景技术部分存在的技术问题。The present application provides a human-computer interaction method and apparatus based on artificial intelligence, which is used to solve the technical problems existing in the above background art.
第一方面,本申请提供了基于人工智能的人机交互方法,该方法包括:接收用户输入的交互语句;获取搜索引擎中交互语句对应的搜索结果,以及从搜索结果中的预设类型的搜索结果中提取出类型关键词,类型关键词包括:预设类型的搜索结果的主题名称;判断类型关键词是否与预设类型的信息的获取需求相关联,得到判断结果;以判断结果对应的方式生成交互语句对应的答案。In a first aspect, the present application provides a human-computer interaction method based on artificial intelligence, the method comprising: receiving an interaction statement input by a user; acquiring a search result corresponding to the interaction statement in the search engine, and searching from a preset type in the search result. In the result, the type keyword is extracted, and the type keyword includes: a subject name of the preset type of search result; whether the type keyword is associated with the acquisition requirement of the preset type information, and the judgment result is obtained; Generate an answer corresponding to the interactive statement.
第二方面,本申请提供了基于人工智能的人机交互装置,该装置包括:接收单元,配置用于接收用户输入的交互语句;处理单元,配置用于获取搜索引擎中交互语句对应的搜索结果,以及从搜索结果中的预设类型的搜索结果中提取出类型关键词,类型关键词包括:预设类型的搜索结果的主题名称;判断单元,配置用于判断类型关键词是否与预设类型的信息的获取需求相关联,得到判断结果;生成单元,配置用于以判断结果对应的方式生成交互语句对应的答案。In a second aspect, the present application provides a human-computer interaction device based on artificial intelligence, the device includes: a receiving unit configured to receive an interaction statement input by a user; and a processing unit configured to acquire a search result corresponding to the interaction statement in the search engine And extracting a type keyword from the preset type of search results in the search result, the type keyword includes: a subject name of the preset type of search result; and a determining unit configured to determine whether the type keyword is related to the preset type The acquisition request of the information is associated with the judgment result; and the generation unit is configured to generate an answer corresponding to the interaction statement in a manner corresponding to the judgment result.
本申请提供的基于人工智能的人机交互方法和装置,通过接收用户输入的交互语句;获取搜索引擎中交互语句对应的搜索结果,以及从搜索结果中的预设类型的搜索结果中提取出类型关键词,判断类型关键词是否与预设类型的信息的获取需求相关联,得到判断结果;以判断结果对应的方式生成所述交互语句对应的答案。一方面,利用搜索引擎对query对应的搜索结果更新速度快和对query的纠错、优化等功能,从人机交互中用户输入的交互语句对应的搜索结果出提取出诸如电影名的类型关键词。从而,在用户输入的问题中包含诸如最新上映电影的电影名的类型关键词、交互语句中口语化表述诸如电影名或电影名出现错别字等情况下,均可以提取出正确的类型关键词,为后
续的对交互语句的需求识别提供保障。The artificial intelligence-based human-computer interaction method and apparatus provided by the present application receives an interaction statement input by a user, acquires a search result corresponding to an interaction statement in a search engine, and extracts a type from a preset type of search result in the search result. The keyword is determined whether the type keyword is associated with the acquisition requirement of the preset type of information, and the judgment result is obtained; and the answer corresponding to the interaction statement is generated in a manner corresponding to the judgment result. On the one hand, the search engine is used to update the query result corresponding to the query and the error correction and optimization of the query, and the type keyword of the movie name is extracted from the search result corresponding to the interactive sentence input by the user in the human-computer interaction. . Therefore, in the case where the question input by the user includes a type keyword of a movie name such as the latest release movie, a colloquial expression in the interactive sentence such as a movie name or a typo in the movie name, the correct type keyword can be extracted, Rear
Continued protection of the need for identification of interactive statements.
另一方面,通过规则匹配判断用户输入的交互语句是否有诸如电影类型的预设类型的信息的获取需求,确定采用强概率阈值或标准概率阈值。根据预先计算得到的诸如海量电影名的类型关键词的普通词概率,将提取出的诸如电影名的类型关键词的普通词概率与强概率阈值或标准概率阈值进行比较,最终确定提取出的电影名是否有电影需求。根据提取出的诸如电影名的类型关键词是否与诸如电影类型的预设类型的信息的获取需求,确定生成答案的方式。提升对用户输入的交互语句的需求识别的准确度。On the other hand, it is determined by the rule matching whether the interactive sentence input by the user has an acquisition requirement of information of a preset type such as a movie type, and it is determined to adopt a strong probability threshold or a standard probability threshold. Comparing the extracted common word probability of a type keyword such as a movie name with a strong probability threshold or a standard probability threshold according to a pre-calculated common word probability of a type keyword such as a mass movie name, and finally determining the extracted movie. Whether there is a demand for movies. The manner in which the answer is generated is determined based on whether the extracted type keyword such as the movie name is related to the acquisition demand of the information of the preset type such as the movie type. Improve the accuracy of the need identification of interactive statements entered by the user.
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other features, objects, and advantages of the present application will become more apparent from the detailed description of the accompanying drawings.
图1示出了可以应用于本申请的基于人工智能的人机交互方法或装置的示例性系统架构;FIG. 1 illustrates an exemplary system architecture of an artificial intelligence based human-computer interaction method or apparatus that can be applied to the present application;
图2示出了根据本申请的基于人工智能的人机交互方法的一个实施例的流程图;2 shows a flow chart of one embodiment of an artificial intelligence based human-computer interaction method according to the present application;
图3示出了根据预设类型的搜索结果的得分提取类型关键词的一个示例性流程图;FIG. 3 shows an exemplary flowchart of a score extraction type keyword according to a preset type of search result;
图4A示出了从PC端对应的搜索引擎中的搜索结果中提取类型关键词的示例性效果图;4A shows an exemplary effect diagram of extracting a type keyword from search results in a search engine corresponding to a PC side;
图4B示出了从移动终端对应的搜索引擎中的搜索结果中提取类型关键词的一个示例性效果图;4B shows an exemplary effect diagram of extracting a type keyword from search results in a search engine corresponding to a mobile terminal;
图5示出了根据本申请的基于人工智能的人机交互方法的另一个实施例的流程图;FIG. 5 is a flow chart showing another embodiment of an artificial intelligence based human-computer interaction method according to the present application;
图6示出了通过规则匹配识别交互语句是否与预设类型的信息的获取需求相关联的一个示例性流程图;6 illustrates an exemplary flowchart for identifying whether an interaction statement is associated with an acquisition requirement of a preset type of information by rule matching;
图7示出了判断是否过滤电影名的一个示例性流程图;FIG. 7 shows an exemplary flowchart of determining whether to filter a movie name;
图8示出了根据本申请的基于人工智能的人机交互方法的一个示例性流程图;
FIG. 8 illustrates an exemplary flowchart of an artificial intelligence based human-computer interaction method according to the present application;
图9示出了根据本申请的基于人工智能的人机交互装置的一个实施例的结构示意图;FIG. 9 is a schematic structural diagram of an embodiment of an artificial intelligence based human-machine interaction apparatus according to the present application; FIG.
图10是适于用来实现本申请实施例的基于人工智能的人机交互装置的计算机系统的结构示意图。FIG. 10 is a schematic structural diagram of a computer system suitable for implementing an artificial intelligence based human-machine interaction apparatus according to an embodiment of the present application.
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关发明相关的部分。The present application will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention, rather than the invention. It is also to be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The present application will be described in detail below with reference to the accompanying drawings.
图1示出了可以应用于本申请的基于人工智能的人机交互方法或装置的实施例的示例性系统架构100。FIG. 1 illustrates an exemplary system architecture 100 of an embodiment of an artificial intelligence based human-computer interaction method or apparatus that can be applied to the present application.
如图1所示,系统架构100可以包括终端设备101、102、103,网络104和服务器105。网络104用以在终端设备101、102、103和服务器105之间提供传输链路的介质。网络104可以包括各种连接类型,例如有线、无线传输链路或者光纤电缆等等。As shown in FIG. 1, system architecture 100 can include terminal devices 101, 102, 103, network 104, and server 105. The network 104 is used to provide a medium for the transmission link between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various types of connections, such as wired, wireless transmission links, or fiber optic cables, to name a few.
用户可以使用终端设备101、102、103通过网络104与服务器105交互,以接收或发送消息等。终端设备101、102、103上可以安装有各种通讯应用,例如、输入法类应用、浏览器类应用、搜索类应用、文字处理类应用等。The user can interact with the server 105 over the network 104 using the terminal devices 101, 102, 103 to receive or transmit messages and the like. Various communication applications, such as an input method application, a browser application, a search application, a word processing application, and the like, may be installed on the terminal devices 101, 102, and 103.
终端设备101、102、103可以是具有显示屏并且支持网络通信的各种电子设备,包括但不限于智能手机、平板电脑、电子书阅读器、MP3播放器(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、膝上型便携计算机和台式计算机等等。The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting network communication, including but not limited to smart phones, tablets, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, dynamic The video specialist compresses the standard audio layer 3), MP4 (Moving Picture Experts Group Audio Layer IV) player, laptop portable computer and desktop computer, and the like.
终端设备101、102、103可以配置有基于人工智能的人机交互应
用,基于人工智能的人机交互应用可以为用户输入的内容例如语音进行语义识别,识别用户的意图,根据识别出的意图,生成用户输入的内容对应的答案。The terminal device 101, 102, 103 can be configured with artificial intelligence based human-computer interaction
The artificial intelligence-based human-computer interaction application can perform semantic recognition on the content input by the user, such as voice, recognize the user's intention, and generate an answer corresponding to the content input by the user according to the recognized intention.
服务器105可以接收终端设备101、102、103发送的搜索请求,查找出搜索结果,将搜索结果发送给终端设备101、102、103。The server 105 can receive the search request sent by the terminal devices 101, 102, and 103, find out the search result, and send the search result to the terminal devices 101, 102, and 103.
请参考图2,其示出了根据本申请的基于人工智能的人机交互方法的一个实施例的流程200。需要说明的是,本申请实施例所提供的基于人工智能的人机交互的方法可以由图1中的终端设备101、102、103执行,例如由终端设备101、102、103配置的基于人工智能的人机交互应用执行,相应地,基于人工智能的人机交互的装置可以设置于终端设备101、102、103中。该方法包括以下步骤:Please refer to FIG. 2, which illustrates a flow 200 of one embodiment of an artificial intelligence based human-computer interaction method in accordance with the present application. It should be noted that the method for human-computer interaction based on artificial intelligence provided by the embodiments of the present application may be performed by the terminal devices 101, 102, and 103 in FIG. 1, for example, artificial intelligence configured by the terminal devices 101, 102, and 103. The human-computer interaction application is executed, and accordingly, the artificial intelligence-based human-computer interaction device may be disposed in the terminal devices 101, 102, and 103. The method includes the following steps:
步骤201,接收用户输入的交互语句。Step 201: Receive an interactive statement input by a user.
在本实施例中,可以利用终端设备上的基于人工智能的人机交互应用接收人机交互时用户通过键盘、语音等方式输入交互语句。例如,当用户希望了解有什么好看的电影时,可以通过语音输入“最近有什么好看的电影吗”。在接收到用于输入的交互语句之后,可以首先对语音进行识别,得到语音对应的语句。In this embodiment, when the human-computer interaction application based on the artificial intelligence on the terminal device receives the human-computer interaction, the user inputs the interactive statement by using a keyboard, a voice, or the like. For example, when a user wants to know what a good movie to watch, he can input "What good movie have you recently?" by voice. After receiving the interactive statement for input, the voice may be first recognized to obtain a statement corresponding to the voice.
步骤202,从搜索引擎中交互语句对应的搜索结果中的预设类型的搜索结果中提取出类型关键词。Step 202: Extract a type keyword from a preset type of search result in a search result corresponding to the interaction statement in the search engine.
在本实施例中,类型关键词包括:预设类型的搜索结果的主题名称。在通过步骤201接收用户输入的交互语句之后,为了识别交互语句是否存在对于预设类型的信息的获取需求,可以首先获取搜索引擎中用户输入的交互语句对应的搜索结果。例如,可以将用户输入的交互语句发送至服务器,服务器的搜索引擎可以将交互语句作为搜索式即query,利用倒排索引查找出交互语句对应的搜索结果。然后,可以从搜索引擎中交互语句对应的搜索结果的预设类型的搜索结果中提取出类型关键词。In this embodiment, the type keyword includes: a subject name of a preset type of search result. After the interaction statement input by the user is received through step 201, in order to identify whether the interaction statement has an acquisition requirement for the preset type of information, the search result corresponding to the interaction statement input by the user in the search engine may be first acquired. For example, the interaction statement input by the user may be sent to the server, and the search engine of the server may use the interactive statement as a search type, ie, query, and use the inverted index to find the search result corresponding to the interactive statement. Then, the type keyword can be extracted from the search result of the preset type of the search result corresponding to the interactive sentence in the search engine.
在本实施例的一些可选的实现方式中,预设类型包括:电影类型、音乐类型。In some optional implementation manners of the embodiment, the preset type includes: a movie type, a music type.
以预设类型为电影类型为例,在通过步骤201接收用户输入的交
互语句之后,为了识别交互语句是否存在对于电影类型的信息的获取需求,可以首先从获取搜索引擎中用户输入的交互语句对应的搜索结果。例如,可以将用户输入的交互语句发送至服务器,服务器的搜索引擎可以将交互语句作为搜索式即query,利用倒排索引查找出交互语句对应的搜索结果。然后,可以从搜索引擎中交互语句对应的搜索结果的属于电影类型的搜索结果中提取出类型关键词,类型关键词包含搜索结果的主题名称。电影类型的搜索结果的主题名称可以为电影名。例如,当搜索结果呈现在html页面中时,信息会定义在html标签中,当检测到html页面的标签中的内容为链接,并且链接中包含视频的类型的关键字,可以确定该搜索结果为电影类型。搜索结果的主题名称可以定义在title标签中,可以提取title标签中的内容。Taking the preset type as the movie type as an example, the user input is received in step 201.
After the inter-statement, in order to identify whether the interactive statement has a need for the information of the movie type, the search result corresponding to the interactive sentence input by the user in the search engine may be first obtained. For example, the interaction statement input by the user may be sent to the server, and the search engine of the server may use the interactive statement as a search type, ie, query, and use the inverted index to find the search result corresponding to the interactive statement. Then, the type keyword may be extracted from the search result belonging to the movie type of the search result corresponding to the interactive sentence in the search engine, and the type keyword includes the topic name of the search result. The subject name of the movie type search result can be the movie name. For example, when the search result is presented in the html page, the information is defined in the html tag. When the content in the tag of the html page is detected as a link, and the link contains a keyword of the type of the video, the search result may be determined as movie types. The title of the search result can be defined in the title tag, and the content in the title tag can be extracted.
在本实施例的一些可选的实现方式中,从搜索结果中的预设类型的搜索结果中提取出类型关键词包括:基于交互语句对应的预设个数的搜索结果中预设类型的搜索结果的位置,计算预设类型的搜索结果的得分,得分指示预设类型的搜索结果的热门程度;判断得分是否大于分数阈值;当得分大于所述分数阈值时,从预设类型的搜索结果中提取出类型关键词。In some optional implementation manners of the embodiment, extracting the type keyword from the preset type of search results in the search result includes: performing a preset type search in a preset number of search results corresponding to the interaction statement a position of the result, a score of a preset type of search result is calculated, the score indicates a popularity level of the preset type of search result; a judgment score is greater than a score threshold; and when the score is greater than the score threshold, from a preset type of search result Extract the type keywords.
请参考图3,其示出了根据预设类型的搜索结果的得分提取类型关键词的一个示例性流程图。Please refer to FIG. 3, which shows an exemplary flowchart of a score extraction type keyword according to a preset type of search result.
以预设类型关键词为电影名为例,首先获取query在pc端上和移动终端上的进行搜索时搜索引擎中前10条搜索结果,并从前10条搜索结果与电影“阿甘正传”相关的搜索结果中的电影名。分别将PC端上前10条搜索结果中电影结果的位置以及移动终端上前10条搜索结果中电影结果的位置作为非线性函数的输入参数,得到在PC端得分和移动终端得分。然后,通过不同权重,将PC端的得分和移动终端的得分拟合为一个最终的得分final_score。可以预先根据多个强需求的query对应的搜索结果的得分,划分出一个阈值threshold。以识别电影类型需求为例,可以根据多个预先识别出的强电影需求的query对应的搜索结果的得分,划分出一个分数阈值threshold。当final_score大于分数阈值threshold的时候,可以采纳从搜索结果中解析出来的电
影名。Taking the preset type keyword as the movie name example, firstly obtain the first 10 search results in the search engine when the query is searched on the pc end and the mobile terminal, and the first 10 search results and the movie "Forrest Gump" The name of the movie in the relevant search results. The position of the movie result in the first 10 search results on the PC side and the position of the movie result in the first 10 search results on the mobile terminal are respectively taken as input parameters of the nonlinear function, and the score on the PC end and the score of the mobile terminal are obtained. Then, with different weights, the PC-side score and the mobile terminal's score are fitted to a final score final_score. A threshold threshold can be divided according to the scores of the search results corresponding to the queries of the plurality of strong demands. Taking the recognition of the movie type requirement as an example, a score threshold threshold can be divided according to the scores of the search results corresponding to the query of the plurality of pre-identified strong movie requirements. When final_score is greater than the fractional threshold threshold, the power parsed from the search results can be adopted.
Film name.
在本实施例的一些可选的实现方式中,计算预设类型的搜索结果的得分包括:采用以下公式计算预设类型的搜索结果的得分:pc_score=f(pc_index);wise_score=f(wise_index);final_score=g(w_pc*pc_score+w_wise*wise_score);其中,f为非线性函数,g为线性函数;pc_index为在pc端上进行搜索时在搜索引擎中交互语句对应的预设个数的搜索结果中第一个预设类型的搜索结果的位置;wise_index为在移动终端上进行搜索时在搜索引擎中交互语句对应的预设个数的搜索结果中第一个预设类型的搜索结果的位置;w_pc和w_wise为pc端和移动终端对应的权重。In some optional implementation manners of the embodiment, calculating a score of the preset type of search result includes: calculating a score of the preset type of search result by using the following formula: pc_score=f(pc_index); wise_score=f(wise_index) ;final_score=g(w_pc*pc_score+w_wise*wise_score); where f is a nonlinear function and g is a linear function; pc_index is a preset number of searches corresponding to the interactive statement in the search engine when searching on the pc side The position of the first preset type of search result in the result; wise_index is the position of the first preset type of search result among the preset number of search results corresponding to the interactive sentence in the search engine when searching on the mobile terminal ;w_pc and w_wise are the weights corresponding to the pc end and the mobile terminal.
以用户输入的交互语句包含“阿甘正传”为例,可以分别获取“阿甘正传”在pc端进行搜索时搜索引擎中的前10个搜索结果和在移动终端进行搜索时搜索引擎中的前10个搜索结果。可以分别确定在pc端进行搜索时搜索引擎中的前10个搜索结果和在移动终端进行搜索时搜索引擎中的前10个搜索结果中电影类型的搜索结果的位置。然后,可以将“阿甘正传”在pc端进行搜索时搜索引擎中的前10个搜索结果中第一个属于电影类型的搜索结果的位置作为预设非线性函数的输入参数,得到pc端得分。可以将“阿甘正传”在移动终端进行搜索时搜索引擎中的前10个搜索结果中第一个属于电影类型的搜索结果的位置作为预设非线性函数的输入参数,得到移动终端得分。将pc端得分与预设pc端权重值的乘积和移动终端得分与预设移动终端权重值的乘积之和作为预设线性函数的输入参数,从而得到电影类型的搜索结果的得分。Taking the interaction statement input by the user, including "Forrest Gump" as an example, the first 10 search results in the search engine when searching for the "Gump" and the search engine in the mobile terminal are searched separately. Top 10 search results. The positions of the top 10 search results in the search engine and the search results of the movie type in the top 10 search results in the search engine when the mobile terminal performs the search may be separately determined. Then, the "A-Gump" can be searched on the pc side, and the position of the first search result belonging to the movie type in the first 10 search results in the search engine is used as the input parameter of the preset nonlinear function, and the PC end is obtained. Score. The position of the first one of the first 10 search results in the search engine belonging to the movie type may be used as the input parameter of the preset nonlinear function when the "Forrest Gump" searches in the mobile terminal, and the mobile terminal score is obtained. The sum of the product of the pc end score and the preset pc end weight value and the product of the mobile terminal score and the preset mobile terminal weight value is used as an input parameter of the preset linear function, thereby obtaining a score of the movie type search result.
请参考图4A,其示出了从PC端对应的搜索引擎中的搜索结果中提取类型关键词的示例性效果图。Please refer to FIG. 4A, which shows an exemplary effect diagram of extracting type keywords from search results in a search engine corresponding to the PC side.
当在pc端的搜索框中输入query“阿甘正传”时,可以获取到与“阿甘正传”相关联的搜索结果。预设类型的搜索结果为电影类型的搜索结果,例如播放“阿甘正传”的电影的网站、“阿甘正传”的影评。可以从电影类型的搜索结果中提取出类型关键词例如,从播放“阿甘正传”的电影的网站对应的搜索结果的主题名称中提取出电影名“阿
甘正传”。When you enter the query "Forrest Gump" in the search box on the pc side, you can get the search results associated with "Forrest Gump". The default type of search results are movie type search results, such as the website of the movie "Forrest Gump" and the "Gump of Forrest Gump". The type keyword can be extracted from the search result of the movie type, for example, the movie name "A" is extracted from the theme name of the search result corresponding to the website of the movie playing "Forrest Gump".
Gan Zhengchuan."
请参考图4B,其示出了从移动终端对应的搜索引擎中的搜索结果中提取类型关键词的一个示例性效果图。Referring to FIG. 4B, an exemplary effect diagram of extracting a type keyword from search results in a search engine corresponding to a mobile terminal is shown.
当在移动终端的搜索框中输入query“阿干正传”时,由于搜索引擎具有纠错功能,因此,可以获取到与正确的电影名“阿甘正传”相关联的搜索结果。例如播放“阿甘正传”的电影的网站、“阿甘正传”的影评。可以从电影类型的搜索结果中提取出类型关键词为电影名“阿甘正传”。When the query "Agan Zhengchuan" is input in the search box of the mobile terminal, since the search engine has the error correction function, the search result associated with the correct movie name "Forrest Gump" can be obtained. For example, the website of the movie "Forrest Gump" and the film review of "Forrest Gump". The type keyword can be extracted from the search result of the movie type as the movie name "Forrest Gump".
在本实施例中,利用搜索引擎对query对应的搜索结果更新速度快和对query的纠错、优化等功能,从搜索结果中提取出类型关键词例如电影名。从而,在用户输入的问题中包含诸如最新上映电影的电影名的类型关键词、交互语句中口语化表述诸如电影名或电影名出现错别字等情况下,均可以从搜索引擎中交互语句对应的搜索结果中提取出正确的电影名,为后续的对交互语句的需求识别例如电影类型的需求的识别提供保障。In this embodiment, the search engine is used to update the search result corresponding to the query and the error correction and optimization of the query are performed, and a type keyword such as a movie name is extracted from the search result. Thus, in the case where the question input by the user includes a type keyword such as the movie name of the latest release movie, or a colloquial expression in the interactive sentence, such as a movie name or a movie name, a typo can be searched for from the search engine. The correct movie name is extracted from the result, which provides guarantee for the subsequent identification of the requirement of the interactive statement, such as the requirement of the movie type.
例如,当“后会无期”这部电影即将上映时,如果仅进行规则匹配,则由于“后会无期”不属于成语,在规则匹配模板中并不存在这一词语,导致在对交互语句的需求识别中无法识别出该词语,进而无法对需求进行识别。又例如,当用户输入“阿甘正传”这部电影的名称时输入了错误的名称“阿干正传”仅进行规则匹配,则规则匹配模板中仅包含正确的词语“阿甘正传”,导致无法在对交互语句的需求识别中无法识别出该词语,进而无法对需求进行识别。For example, when the movie "will be indefinitely" is about to be released, if only the rule is matched, since "after the indefinite period" does not belong to the idiom, the word does not exist in the rule matching template, resulting in the interaction statement. The word is not recognized in the requirement identification, and the requirement cannot be identified. For another example, when the user enters the name of the movie "Forrest Gump" and enters the wrong name "Agan Zhengchuan" to perform rule matching only, the rule matching template only contains the correct word "Forrest Gump" As a result, the word cannot be recognized in the requirement identification of the interactive statement, and the requirement cannot be identified.
在本实施例中,当用户在人机交互中输入的交互语句中包含“后会无期”时,由于搜索引擎具有很快的更新功能,获取到的交互语句对应的搜索结果中包含即将上映的电影的电影名“后会无期”,从而,可以从交互语句对应的搜索结果中提取出即将上映的电影的电影名“后会无期”。当用户在人机交互中输入的交互语句中包含“阿干正传”时,由于搜索引擎具有纠错功能,获取到的交互语句对应的搜索结果为搜索引擎利用纠正了的正确的词语“阿甘正传”进行搜索得到的搜索结果,从而,可以从搜索结果中提取出正确的电影名“阿甘正传”。
In this embodiment, when the interactive statement input by the user in the human-computer interaction includes "there is no future", since the search engine has a fast update function, the search result corresponding to the obtained interactive statement includes the upcoming release. The movie's movie name "will be indefinite", so that the movie name of the upcoming movie can be extracted from the search result corresponding to the interactive sentence. When the interactive statement input by the user in the human-computer interaction includes "A Gan Zheng Chuan", since the search engine has the error correction function, the search result corresponding to the obtained interactive sentence is the correct word corrected by the search engine. Gan Zhengchuan" search results obtained by searching, so that the correct movie name "Forrest Gump" can be extracted from the search results.
步骤203,判断类型关键词是否与预设类型的信息的获取需求相关联,得到判断结果。Step 203: Determine whether the type keyword is associated with the acquisition requirement of the preset type information, and obtain the judgment result.
在本实施例中,在通过步骤202获取搜索引擎中交互语句对应的搜索结果,以及从搜索结果中的预设类型的搜索结果中提取出类型关键词之后,可以判断提取出的类型关键词是否与预设类型的信息的获取需求相关联,得到判断结果。例如,当类型关键词为电影名时,可以判断该电影名是否与电影类型的信息的获取请求相关联。In this embodiment, after the search result corresponding to the interactive sentence in the search engine is acquired through step 202, and the type keyword is extracted from the search result of the preset type in the search result, it may be determined whether the extracted type keyword is It is associated with the acquisition requirement of the preset type of information, and the judgment result is obtained. For example, when the type keyword is a movie name, it can be judged whether the movie name is associated with the acquisition request of the movie type information.
步骤204,以判断结果对应的方式生成交互语句对应的答案。Step 204: Generate an answer corresponding to the interaction statement in a manner corresponding to the determination result.
在本实施例中,在通过步骤203判断类型关键词是否与预设类型的信息的获取需求相关联,得到判断结果之后,可以以判断结果对应的方式生成交互语句对应的答案。In this embodiment, after determining whether the type keyword is associated with the acquisition requirement of the preset type of information by step 203, and obtaining the determination result, the answer corresponding to the interaction statement may be generated in a manner corresponding to the determination result.
以类型关键词为电影名为例,当通过步骤203识别出电影名不与电影类型的信息的获取需求相关联时,则基于人工智能的人机交互应用可以将该电影名作为普通词来生成答案。当通过步骤203识别出电影名与电影类型的信息的获取需求时,则基于人工智能的人机交互应用可以基于电影类型的信息的获取需求而生成答案。例如,获取该电影的该电影的团购券的链接,然后,生成答案“给你推荐几家离你近又有优惠的电影院吧+链接”。Taking the type keyword as the movie name as an example, when it is recognized in step 203 that the movie name is not associated with the acquisition requirement of the movie type information, the artificial intelligence based human-computer interaction application can generate the movie name as a common word. answer. When the acquisition requirement of the movie name and the movie type information is recognized by step 203, the artificial intelligence based human-computer interaction application can generate an answer based on the acquisition requirement of the movie type information. For example, to get a link to the movie coupon for the movie, then generate the answer "I recommend you a few cinemas + links that are close to you and have discounts."
请参考图5,其示出了根据本申请的基于人工智能的人机交互方法的另一个实施例的流程500。需要说明的是,本申请实施例所提供的基于人工智能的人机交互的方法可以由图1中的终端设备101、102、103执行,例如由终端设备101、102、103配置的基于人工智能的人机交互应用执行。该方法包括以下步骤:Please refer to FIG. 5, which illustrates a flow 500 of another embodiment of an artificial intelligence based human-computer interaction method in accordance with the present application. It should be noted that the method for human-computer interaction based on artificial intelligence provided by the embodiments of the present application may be performed by the terminal devices 101, 102, and 103 in FIG. 1, for example, artificial intelligence configured by the terminal devices 101, 102, and 103. Human-computer interaction application execution. The method includes the following steps:
步骤501,接收用户输入的交互语句。Step 501: Receive an interactive statement input by a user.
在本实施例中,可以利用终端设备上的基于人工智能的人机交互应用接收人机交互时用户通过键盘、语音等方式输入的交互语句。例如,当用户希望了解有什么好看的电影时,可以通过语音输入“最近有什么好看的电影吗”。在接收到用于输入的交互语句之后,可以首先对语音进行识别,得到语音对应的语句。In this embodiment, the human-computer interaction application based on the artificial intelligence on the terminal device can be used to receive an interactive statement input by the user through a keyboard, a voice, or the like when the human-computer interaction is received. For example, when a user wants to know what a good movie to watch, he can input "What good movie have you recently?" by voice. After receiving the interactive statement for input, the voice may be first recognized to obtain a statement corresponding to the voice.
步骤502,从搜索引擎中交互语句对应的搜索结果中的预设类型
的搜索结果中提取出类型关键词。 Step 502, a preset type in the search result corresponding to the interaction statement in the search engine
Type keywords are extracted from the search results.
在本实施例中,在通过步骤501接收用户输入的交互语句之后,可以首先获取搜索引擎中用户输入的交互语句对应的搜索结果。然后,可以基于预设类型的搜索结果在交互语句对应的搜索结果的位置,计算预设类型的搜索结果的得分。预设类型的搜索结果的得分指示预设类型的搜索结果的热门程度。当得分大于分数阈值时,可以从预设类型的搜索结果中提取出类型关键词。In this embodiment, after receiving the interaction statement input by the user through step 501, the search result corresponding to the interaction statement input by the user in the search engine may be first acquired. Then, the score of the preset type of search result may be calculated based on the preset type of search result at the position of the search result corresponding to the interactive sentence. The score of the preset type of search result indicates the popularity of the preset type of search result. When the score is greater than the score threshold, the type keyword can be extracted from the preset type of search result.
以用户输入的交互语句包含“阿甘正传”为例,可以分别获取“阿甘正传”在pc端进行搜索时搜索引擎中的前10个搜索结果和在移动终端进行搜索时搜索引擎中的前10个搜索结果。可以分别确定“阿甘正传”在pc端进行搜索时搜索引擎中的前10个搜索结果和在移动终端进行搜索时搜索引擎中的前10个搜索结果中的位置。然后,可以将“阿甘正传”在pc端进行搜索时搜索引擎中的前10个搜索结果中第一个属于电影类型的搜索结果的位置作为预设非线性函数的输入参数,得到pc端得分。可以将“阿甘正传”在移动终端进行搜索时搜索引擎中的前10个搜索结果中第一个属于电影类型的搜索结果的位置作为预设非线性函数的输入参数,得到移动终端得分。将pc端得分与预设pc端权重值的乘积和移动终端得分与预设移动终端权重值的乘积之和作为预设线性函数的输入参数,从而得到电影类型的搜索结果的得分。Taking the interaction statement input by the user, including "Forrest Gump" as an example, the first 10 search results in the search engine when searching for the "Gump" and the search engine in the mobile terminal are searched separately. Top 10 search results. The positions of the top 10 search results in the search engine and the top 10 search results in the search engine when searching on the mobile terminal can be separately determined by "Forrest Gump". Then, the "A-Gump" can be searched on the pc side, and the position of the first search result belonging to the movie type in the first 10 search results in the search engine is used as the input parameter of the preset nonlinear function, and the PC end is obtained. Score. The position of the first one of the first 10 search results in the search engine belonging to the movie type may be used as the input parameter of the preset nonlinear function when the "Forrest Gump" searches in the mobile terminal, and the mobile terminal score is obtained. The sum of the product of the pc end score and the preset pc end weight value and the product of the mobile terminal score and the preset mobile terminal weight value is used as an input parameter of the preset linear function, thereby obtaining a score of the movie type search result.
步骤503,基于普通词的概率,判断类型关键词是否与预设类型的信息的获取需求相关联,得到判断结果。Step 503: Determine, according to the probability of the common word, whether the type keyword is associated with the acquisition requirement of the preset type of information, and obtain the judgment result.
在本实施例中,在通过步骤501接收用户输入的交互语句之前,可以预先采用网络爬虫抓取类型关键词,计算抓取到的类型关键词为普通词的普通词概率。以类型关键词为电影名为例,可以预先采用网络爬虫抓取从网站抓取海量的电影名。然后,分别计算电影名为普通词的普通词概率。In this embodiment, before the interaction statement input by the user is received through step 501, the web crawler type keyword may be pre-selected, and the common word probability of the captured type keyword being a common word may be calculated. Taking the type keyword as the movie name, you can use the web crawler to capture a large number of movie names from the website in advance. Then, the ordinary word probability of the movie named ordinary word is calculated separately.
在本实施例中,可以根据预先计算得到的海量类型关键词的普通词概率,将通过步骤502提取出的类型关键词的普通词概率与确定出的概率阈值强概率阈值或标准概率阈值进行比较,判断类型关键词是
否与预设类型的信息的获取需求相关联,得到判断结果。In this embodiment, the common word probability of the type keyword extracted by step 502 can be compared with the determined probability threshold strong probability threshold or standard probability threshold according to the common word probability of the pre-calculated massive type keyword. , the type keyword is
Whether it is associated with the acquisition requirement of the preset type of information, the judgment result is obtained.
以类型关键词为电影名为例,可以根据预先计算得到的海量电影名的普通词概率,将通过步骤502提取出的电影名的普通词概率与确定出的概率阈值强概率阈值或标准概率阈值进行比较。当电影名对应的普通词概率大于确定出的概率阈值时,可以确定电影名不与电影类型的信息的获取需求相关联。当电影名对应的普通词概率小于确定出的概率阈值时,可以确定电影名与电影类型的信息的获取需求相关联。从而,最终确定通过步骤502提取出的电影名是否有电影类型的信息的获取需求。Taking the type keyword as a movie name example, the common word probability of the movie name extracted by step 502 and the determined probability threshold value may be based on the common word probability of the pre-calculated movie name. Compare. When the common word probability corresponding to the movie name is greater than the determined probability threshold, it may be determined that the movie name is not associated with the acquisition requirement of the movie type information. When the common word probability corresponding to the movie name is less than the determined probability threshold, it may be determined that the movie name is associated with the acquisition requirement of the information of the movie type. Thereby, it is finally determined whether or not the movie name extracted by step 502 has a request for acquisition of information of a movie type.
在本实施例中,可以通过规则匹配对通过步骤501接收到的用户输入的交互语句是否有预设类型的信息的获取需求进行识别,来确定采用强阈值还是标准阈值。例如,通过包含有预设需求关键词的规则匹配模板匹配用户输入的交互语句,判断用户输入的交互语句中是否包含需求关键词。In this embodiment, whether the strong threshold or the standard threshold is adopted is determined by the rule matching whether the interaction statement input by the user received in step 501 has a preset type of information. For example, the rule matching template containing the preset requirement keyword matches the interactive sentence input by the user, and determines whether the interactive keyword input by the user includes the demand keyword.
以预设类型电影类型的信息为例,预设需求关键词为“有续集吗”、“什么时候上映”等。当通过规则匹配模板匹配用户输入的交互语句,判断出用户输入的交互语句中包含需求关键词时,可以确定用户输入的交互语句与电影类型的信息的获取需求相关联。当通过规则匹配模板匹配用户输入的交互语句,判断出用户输入的交互语句中不包含需求关键词时,可以确定用户输入的交互语句不与电影类型的信息的获取需求相关联。Taking the information of the preset type of movie as an example, the preset demand keywords are “have a sequel?” and “when a release”. When the rule matching template matches the interaction statement input by the user, and it is determined that the interaction statement input by the user includes the requirement keyword, it may be determined that the interaction statement input by the user is associated with the acquisition requirement of the information of the movie type. When the rule matching template matches the interactive sentence input by the user, and it is determined that the interactive keyword input by the user does not include the demand keyword, it may be determined that the interactive sentence input by the user is not associated with the acquisition requirement of the movie type information.
当通过规则匹配识别出交互语句与预设类型的信息的获取需求相关联时,可以将强概率阈值确定为用于与类型关键词对应的普通词概率进行比较的概率阈值。当通过规则匹配识别出交互语句不与预设类型的信息的获取需求相关联时,可以将标准概率阈值确定为用于与类型关键词对应的普通词概率进行比较的概率阈值。When it is recognized by rule matching that the interaction statement is associated with the acquisition requirement of the preset type of information, the strong probability threshold may be determined as a probability threshold for comparison with the common word probability corresponding to the type keyword. When it is recognized by the rule matching that the interactive sentence is not associated with the acquisition requirement of the preset type of information, the standard probability threshold may be determined as a probability threshold for comparison with the common word probability corresponding to the type keyword.
请参考图6,其示出了通过规则匹配识别交互语句是否与预设类型的信息的获取需求相关联的一个示例性流程图。Please refer to FIG. 6, which illustrates an exemplary flowchart for identifying whether an interaction statement is associated with an acquisition requirement of a preset type of information by rule matching.
首先接收需要处理的query即用户输入的交互语句。然后,可以通过规则匹配识别query的意图和解析意图下的槽位内容。以电影需求
为例,当query具有电影意图时即query与电影类型的信息的获取需求相关联时,可以记录解析得到的各个维度的槽位内容例如电影名、演员、类型。当query不具有电影意图时即query不与电影类型的信息的获取需求相关联时,可以清空槽位内容。First, receive the query that needs to be processed, that is, the interactive statement input by the user. Then, the intent of the query and the contents of the slot under the intent of the parsing can be identified by rule matching. Demand for film
For example, when the query has a movie intent, that is, the query is associated with the acquisition requirement of the information of the movie type, the slot content of each dimension obtained by the parsing, such as a movie name, an actor, and a type, may be recorded. When the query does not have a movie intent, that is, the query is not associated with the acquisition requirement of the movie type information, the slot content can be emptied.
请参考图7,其示出了判断是否过滤电影名的一个示例性流程图。Please refer to FIG. 7, which shows an exemplary flowchart for determining whether to filter a movie name.
首先对通过网络爬虫获取的海量电影名进行普通词概率计算,得到一个普通词概率词典,普通词概率越高,电影名为普通词的可能性就越大。Firstly, the common word probability is calculated by the massive movie name obtained by the web crawler, and a common word probability dictionary is obtained. The higher the probability of the common word, the more likely the movie is called the ordinary word.
依据普通词概率词典,根据概率值进行划分训练,得到强普通词集合、一般普通词集合、电影需求词集合。强概率阈值、标准概率阈值。According to the common word probability dictionary, the training is divided according to the probability value, and a strong common word set, a general common word set, and a movie demand word set are obtained. Strong probability threshold, standard probability threshold.
根据规则匹配和搜索引擎的解析结果,对当前电影名进行不同程度的概率阈值检测,即将用户输入的交互语句对应的搜索结果中提取出的电影名与规则匹配得到的结果对应的强概率阈值或标准概率阈值进行比较。仅当当前电影名的普通词概率低于阈值时候,才最终保留该电影名即基于该电影名生成答案,否则过滤该电影名,即将该电影名作为普通词生成答案。According to the rule matching and the analysis result of the search engine, the current movie name is subjected to different degrees of probability threshold detection, that is, a strong probability threshold corresponding to the result obtained by matching the movie name and the rule matched in the search result corresponding to the interactive sentence input by the user or Standard probability thresholds are compared. Only when the common word probability of the current movie name is lower than the threshold, the movie name is finally retained, that is, the answer is generated based on the movie name, otherwise the movie name is filtered, that is, the movie name is generated as an ordinary word.
在本实施例中,通过规则匹配判断出用户输入的问题有预设类型的信息的获取需求时,采用强概率阈值与当前电影名的普通词概率进行比较。判断类型关键词是否与预设类型的信息的获取需求相关联。从而,较为谨慎地对电影名进行过滤,从而提升需求识别的准确度。In this embodiment, when the problem that the user input has a preset type of information acquisition requirement by the rule matching, the strong probability threshold is compared with the common word probability of the current movie name. It is judged whether the type keyword is associated with the acquisition requirement of the preset type of information. Thus, the movie name is more carefully filtered to improve the accuracy of the demand identification.
步骤504,根据判断结果,确定生成问题对应的答案的方式。Step 504: Determine, according to the determination result, a manner of generating an answer corresponding to the question.
在本实施例中,在通过步骤503基于类型关键词为普通词的概率,判断类型关键词是否与预设类型的信息的获取需求相关联,得到判断结果之后,可以根据判断结果,确定生成问题对应的答案的方式。In this embodiment, after the step 503 is based on the probability that the type keyword is a common word, it is determined whether the type keyword is associated with the acquisition requirement of the preset type information, and after the judgment result is obtained, the generation problem may be determined according to the judgment result. The way the answer is.
当类型关键词不与预设类型的信息的获取需求相关联时,基于类型关键词为普通词而生成答案;当类型关键词与预设类型的信息的获取需求相关联时,基于预设类型的信息的获取需求而生成答案。When the type keyword is not associated with the acquisition requirement of the preset type of information, the answer is generated based on the type keyword as a common word; when the type keyword is associated with the acquisition requirement of the preset type of information, based on the preset type The information is obtained by the need to generate an answer.
以类型关键词为电影名为例,当通过步骤503识别出电影名不与电影类型的信息的获取需求相关联时,则基于人工智能的人机交互应
用可以将该电影名作为普通词来生成答案。当通过步骤503识别出电影名与电影类型的信息的获取需求时,则基于人工智能的人机交互应用可以基于电影类型的信息的获取需求而生成答案。例如,获取该电影的该电影的团购券的链接,然后,生成答案“给你推荐几家离你近又有优惠的电影院吧+链接”。Taking the type keyword as the movie name example, when it is recognized in step 503 that the movie name is not associated with the acquisition requirement of the movie type information, the artificial intelligence based human-computer interaction should be
Use the movie name as a common word to generate an answer. When the acquisition requirement of the movie name and the movie type information is recognized by step 503, the artificial intelligence based human-computer interaction application can generate an answer based on the acquisition requirement of the movie type information. For example, to get a link to the movie coupon for the movie, then generate the answer "I recommend you a few cinemas + links that are close to you and have discounts."
请参考图8,其示出了根据本申请的基于人工智能的人机交互方法的一个示例性流程图。Please refer to FIG. 8 , which illustrates an exemplary flowchart of an artificial intelligence based human-computer interaction method according to the present application.
首先接收用户输入的内容。以预设类型为电影类型为例,可以利用终端设备上的基于人工智能的人机交互应用接收人机交互时用户通过键盘、语音等方式输入交互语句。例如,当用户希望了解有什么好看的电影时,可以通过语音输入“最近有什么好看的电影吗”。在接收到用于输入的交互语句之后,可以首先对语音进行识别,得到语音对应的语句。First receive the content entered by the user. Taking the preset type as the movie type as an example, the user can input the interactive statement through the keyboard, voice, etc. when the human-computer interaction application based on the artificial intelligence on the terminal device receives the human-computer interaction. For example, when a user wants to know what a good movie to watch, he can input "What good movie have you recently?" by voice. After receiving the interactive statement for input, the voice may be first recognized to obtain a statement corresponding to the voice.
基于搜索引擎的解析系统可以获取query即用户输入的内容在搜索引擎中的搜索结果,提取出电影相关内容。可以基于属于电影类型的搜索结果在交互语句对应的预设个数的搜索结果的位置,计算电影类型的搜索结果的得分,判断得分是否大于分数阈值。当得分大于分数阈值时,从电影类型的搜索结果中提取出类型关键词例如电影名。The search engine-based parsing system can obtain the search result of the query, that is, the content input by the user in the search engine, and extract the movie related content. The score of the search result of the movie type may be calculated based on the search result belonging to the movie type at the position of the preset number of search results corresponding to the interactive sentence, and whether the score is greater than the score threshold. When the score is greater than the score threshold, a type keyword such as a movie name is extracted from the search result of the movie type.
基于规则匹配的解析系统可以对query即用户输入的内容进行规则匹配,提取电影相关内容。然后,可以采用规则匹配方式识别用户输入的交互语句是否与电影类型的信息的获取请求相关联。当通过规则匹配识别出交互语句与电影类型的信息的获取需求相关联时,可以将强概率阈值作为用于与类型关键词例如电影名对应的普通词概率进行比较的概率阈值。当通过规则匹配识别出交互语句不与预设类型的信息的获取需求相关联时,可以将标准概率阈值作为用于与类型关键词例如电影名对应的普通词概率进行比较的概率阈值。The rule matching based parsing system can perform rule matching on the query, that is, the content input by the user, and extract the movie related content. Then, the rule matching method can be used to identify whether the interactive sentence input by the user is associated with the acquisition request of the movie type information. When it is recognized by the rule matching that the interactive sentence is associated with the acquisition requirement of the information of the movie type, the strong probability threshold may be used as a probability threshold for comparison with the common word probability corresponding to the type keyword such as the movie name. When it is recognized by rule matching that the interactive sentence is not associated with the acquisition requirement of the preset type of information, the standard probability threshold may be used as a probability threshold for comparison with a common word probability corresponding to a type keyword such as a movie name.
基于普通词概率的过滤系统可以预先采用网络爬虫抓取类型关键词,计算抓取到的类型关键词为普通词的普通词概率。然后,可以判断类型关键词例如电影名对应的普通词概率是否大于用于与其进行比较概率阈值。当电影名对应的普通词概率小于用于与其进行比较的概
率阈值时,可以确定电影名不与电影类型的信息的获取需求相关联即用户当前需求为非电影,则过滤当前电影名,可以基于人工智能的人机交互应用可以将该电影名作为普通词来生成答案。当电影名对应的普通词概率大于用于与其进行比较的概率阈值时,可以确定电影名与电影类型的信息的获取需求相关联即用户当前需求为电影,则保留当前电影名,可以基于人工智能的人机交互应用可以基于电影类型的信息的获取需求而生成答案。例如,获取该电影的该电影的团购券的链接,然后,生成答案“给你推荐几家离你近又有优惠的电影院吧+链接”。The filtering system based on the common word probability can adopt the web crawler crawling type keyword in advance, and calculate the common word probability that the captured type keyword is a common word. Then, it can be judged whether the type of the keyword, for example, the common word probability corresponding to the movie name is greater than the comparison probability threshold for the comparison. When the movie name corresponds to the common word probability is less than the sum used to compare it
When the threshold is used, it can be determined that the movie name is not associated with the acquisition requirement of the movie type information, that is, the current demand of the user is non-movie, then the current movie name is filtered, and the human-computer interaction application based on artificial intelligence can use the movie name as a common word. To generate an answer. When the probability of the common word corresponding to the movie name is greater than the probability threshold for comparison with the movie name, it may be determined that the movie name is associated with the acquisition requirement of the information of the movie type, that is, the current demand of the user is a movie, and the current movie name is retained, which may be based on artificial intelligence. The human-computer interaction application can generate an answer based on the acquisition requirements of the information of the movie type. For example, to get a link to the movie coupon for the movie, then generate the answer "I recommend you a few cinemas + links that are close to you and have discounts."
请参考图9,图9示出了根据本申请的基于人工智能的人机交互装置的一个实施例的结构示意图。Please refer to FIG. 9. FIG. 9 is a schematic structural diagram of an embodiment of an artificial intelligence based human-machine interaction apparatus according to the present application.
如图9所示,基于人工智能的人机交互装置900包括:接收单元901,处理单元902,判断单元903,生成单元904。其中,接收单元901配置用于接收用户输入的交互语句;处理单元902配置用于获取搜索引擎中交互语句对应的搜索结果,以及从搜索结果中的预设类型的搜索结果中提取出类型关键词,类型关键词包括:预设类型的搜索结果的主题名称;判断单元903配置用于判断类型关键词是否与预设类型的信息的获取需求相关联,得到判断结果;生成单元904配置用于以判断结果对应的方式生成交互语句对应的答案。As shown in FIG. 9, the artificial intelligence based human-machine interaction apparatus 900 includes a receiving unit 901, a processing unit 902, a determining unit 903, and a generating unit 904. The receiving unit 901 is configured to receive an interaction statement input by the user; the processing unit 902 is configured to acquire a search result corresponding to the interaction statement in the search engine, and extract the type keyword from the preset type of search result in the search result. The type keyword includes: a subject name of the search result of the preset type; the determining unit 903 is configured to determine whether the type keyword is associated with the acquisition requirement of the preset type of information, and obtain a determination result; the generating unit 904 is configured to The method corresponding to the judgment result generates an answer corresponding to the interaction statement.
在本实施例的一些可选的实现方式中,预设类型包括:电影类型、音乐类型。In some optional implementation manners of the embodiment, the preset type includes: a movie type, a music type.
在本实施例的一些可选的实现方式中,处理单元902包括:计算子单元(未示出),配置用于基于交互语句对应的预设个数的搜索结果中预设类型的搜索结果的位置,计算预设类型的搜索结果的得分,得分指示预设类型的搜索结果的热门程度;分数判断子单元(未示出),配置用于判断得分是否大于分数阈值;提取子单元(未示出),配置用于当得分大于分数阈值时,从预设类型的搜索结果中提取出类型关键词。In some optional implementation manners of the embodiment, the processing unit 902 includes: a calculation subunit (not shown) configured to preset a search result of a preset type based on a preset number of search results corresponding to the interaction statement. a location, a score of a preset type of search result is calculated, the score indicates a popularity level of the preset type of search result; a score judgment subunit (not shown) configured to determine whether the score is greater than a score threshold; the extraction subunit (not shown) And configured to extract the type keyword from the preset type of search result when the score is greater than the score threshold.
在本实施例的一些可选的实现方式中,计算子单元进一步配置用于:将在pc端上进行搜索时交互语句对应的预设个数的搜索结果中第一个预设类型的搜索结果的位置作为预设非线性函数的输入参数,得
到pc端得分;将在移动终端上进行搜索时交互语句对应的预设个数的搜索结果中第一个预设类型的搜索结果的位置作为预设非线性函数的输入参数,得到移动终端得分;将pc端得分与预设pc端权重值的乘积和移动终端得分与预设移动终端权重值的乘积之和作为预设线性函数的输入参数,得到预设类型的搜索结果的得分。In some optional implementation manners of the embodiment, the calculating subunit is further configured to: search result of the first preset type in the preset number of search results corresponding to the interaction statement when searching on the pc end The position as the input parameter of the preset nonlinear function,
Score to the pc end; the position of the first preset type of search result among the preset number of search results corresponding to the interactive sentence when searching on the mobile terminal is used as an input parameter of the preset nonlinear function, and the mobile terminal score is obtained. The sum of the product of the pc end score and the preset pc end weight value and the product of the mobile terminal score and the preset mobile terminal weight value is used as an input parameter of the preset linear function to obtain a score of the preset type search result.
在本实施例的一些可选的实现方式中,装置900还包括:抓取单元(未示出),配置用于在接收用户输入的交互语句之前,采用网络爬虫抓取类型关键词;普通词概率计算单元(未示出),配置用于计算抓取到的类型关键词为普通词的普通词概率。In some optional implementation manners of the embodiment, the apparatus 900 further includes: a crawling unit (not shown) configured to use a web crawler to capture a type keyword before receiving the interactive statement input by the user; A probability calculation unit (not shown) is configured to calculate a common word probability that the captured type keyword is a common word.
在本实施例的一些可选的实现方式中,判断单元903包括:识别子单元(未示出),配置用于采用规则匹配方式识别交互语句是否与预设类型的信息的获取需求相关联,得到识别结果;概率阈值确定子单元(未示出),配置用于根据识别结果,确定用于与类型关键词对应的普通词概率进行比较的概率阈值,概率阈值包括:标准概率阈值,大于标准概率阈值的强概率阈值;需求确定子单元(未示出),配置用于当类型关键词对应的普通词概率大于确定出的概率阈值时,确定类型关键词不与预设类型的信息的获取需求相关联;当类型关键词对应的普通词概率小于确定出的概率阈值时,确定类型关键词与预设类型的信息的获取需求相关联。In some optional implementation manners of the embodiment, the determining unit 903 includes: an identifying subunit (not shown) configured to identify, by using a rule matching manner, whether the interactive statement is associated with an acquisition requirement of a preset type of information, Obtaining a recognition result; a probability threshold determining subunit (not shown) configured to determine, according to the recognition result, a probability threshold for comparing a common word probability corresponding to the type keyword, wherein the probability threshold comprises: a standard probability threshold, which is greater than a standard a strong probability threshold of the probability threshold; a requirement determining subunit (not shown) configured to determine that the type keyword is not related to the preset type of information when the common word probability corresponding to the type keyword is greater than the determined probability threshold The requirement is associated; when the common word probability corresponding to the type keyword is less than the determined probability threshold, determining the type keyword is associated with the acquisition requirement of the preset type of information.
在本实施例的一些可选的实现方式中,概率阈值确定子单元进一步配置用于:当识别结果为交互语句与预设类型的信息的获取需求相关联时,将强概率阈值作为用于与类型关键词对应的普通词概率进行比较的概率阈值;当识别结果为交互语句不与预设类型的信息的获取需求相关联时,将标准概率阈值作为用于与类型关键词对应的普通词概率进行比较的概率阈值。In some optional implementation manners of the embodiment, the probability threshold determining subunit is further configured to: when the recognition result is that the interaction statement is associated with an acquisition requirement of the preset type of information, use the strong probability threshold as a The probability threshold for comparing the common word probabilities corresponding to the type keywords; when the recognition result is that the interaction statement is not associated with the acquisition requirement of the preset type of information, the standard probability threshold is used as the common word probability corresponding to the type keyword The probability threshold for comparison.
在本实施例的一些可选的实现方式中,生成单元904包括:第一答案生成子单元(未示出),配置用于当类型关键词不与预设类型的信息的获取需求相关联时,基于类型关键词为普通词而生成答案;第二答案生成子单元(未示出),配置用于当类型关键词与预设类型的信息的获取需求相关联时,基于预设类型的信息的获取需求而生成答案。
In some optional implementation manners of the embodiment, the generating unit 904 includes: a first answer generating subunit (not shown) configured to be used when the type keyword is not associated with the acquiring requirement of the preset type of information. Generating an answer based on the type keyword as a common word; a second answer generating subunit (not shown) configured to be based on the preset type information when the type keyword is associated with the acquisition requirement of the preset type of information Generate an answer by getting the demand.
图10示出了适于用来实现本申请实施例的基于人工智能的人机交互装置的计算机系统的结构示意图。。FIG. 10 is a block diagram showing the structure of a computer system suitable for implementing the artificial intelligence based human-machine interaction device of the embodiment of the present application. .
如图10所示,计算机系统1000包括中央处理单元(CPU)1001,其可以根据存储在只读存储器(ROM)1002中的程序或者从存储部分908加载到随机访问存储器(RAM)1003中的程序而执行各种适当的动作和处理。在RAM1003中,还存储有系统1000操作所需的各种程序和数据。CPU1001、ROM1002以及RAM1003通过总线1004彼此相连。输入/输出(I/O)接口1005也连接至总线1004。As shown in FIG. 10, computer system 1000 includes a central processing unit (CPU) 1001 that can be loaded into a program in random access memory (RAM) 1003 according to a program stored in read only memory (ROM) 1002 or from storage portion 908. And perform various appropriate actions and processes. In the RAM 1003, various programs and data required for the operation of the system 1000 are also stored. The CPU 1001, the ROM 1002, and the RAM 1003 are connected to each other through a bus 1004. An input/output (I/O) interface 1005 is also coupled to bus 1004.
以下部件连接至I/O接口1005:包括键盘、鼠标等的输入部分1006;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分1007;包括硬盘等的存储部分1008;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分1009。通信部分1009经由诸如因特网的网络执行通信处理。驱动器1010也根据需要连接至I/O接口1005。可拆卸介质1011,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器1010上,以便于从其上读出的计算机程序根据需要被安装入存储部分1008。The following components are connected to the I/O interface 1005: an input portion 1006 including a keyboard, a mouse, etc.; an output portion 1007 including a cathode ray tube (CRT), a liquid crystal display (LCD), and the like, and a speaker; a storage portion 1008 including a hard disk or the like And a communication portion 1009 including a network interface card such as a LAN card, a modem, or the like. The communication section 1009 performs communication processing via a network such as the Internet. Driver 1010 is also coupled to I/O interface 1005 as needed. A removable medium 1011 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory or the like is mounted on the drive 1010 as needed so that a computer program read therefrom is installed into the storage portion 1008 as needed.
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括有形地包含在机器可读介质上的计算机程序,所述计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分1009从网络上被下载和安装,和/或从可拆卸介质1011被安装。In particular, the processes described above with reference to the flowcharts may be implemented as a computer software program in accordance with an embodiment of the present disclosure. For example, an embodiment of the present disclosure includes a computer program product comprising a computer program tangibly embodied on a machine readable medium, the computer program comprising program code for executing the method illustrated in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network via the communication portion 1009, and/or installed from the removable medium 1011.
附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,所述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的
是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality and operation of possible implementations of systems, methods and computer program products in accordance with various embodiments of the present application. In this regard, each block of the flowchart or block diagrams can represent a module, a program segment, or a portion of code that includes one or more logic for implementing the specified. Functional executable instructions. It should also be noted that in some alternative implementations, the functions noted in the blocks may also occur in a different order than that illustrated in the drawings. For example, two successively represented blocks may in fact be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved. Also pay attention
Yes, each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be used A combination of dedicated hardware and computer instructions is implemented.
作为另一方面,本申请还提供了一种非易失性计算机存储介质,该非易失性计算机存储介质可以是上述实施例中所述设备中所包含的非易失性计算机存储介质;也可以是单独存在,未装配入终端中的非易失性计算机存储介质。上述非易失性计算机存储介质存储有一个或者多个程序,当所述一个或者多个程序被一个设备执行时,使得所述设备:接收用户输入的交互语句;获取搜索引擎中所述交互语句对应的搜索结果,以及从所述搜索结果中的预设类型的搜索结果中提取出类型关键词,所述类型关键词包括:所述预设类型的搜索结果的主题名称;判断所述类型关键词是否与所述预设类型的信息的获取需求相关联,得到判断结果;以所述判断结果对应的方式生成所述交互语句对应的答案。In another aspect, the present application further provides a non-volatile computer storage medium, which may be a non-volatile computer storage medium included in the device described in the above embodiments; It may be a non-volatile computer storage medium that exists alone and is not assembled into the terminal. The non-volatile computer storage medium stores one or more programs, when the one or more programs are executed by a device, causing the device to: receive an interaction statement input by a user; and acquire the interaction statement in the search engine Corresponding search results, and extracting a type keyword from the preset type of search results in the search result, the type keyword includes: a theme name of the preset type of search result; determining the type key Whether the word is associated with the acquisition requirement of the preset type of information, and the judgment result is obtained; and the answer corresponding to the interaction statement is generated in a manner corresponding to the judgment result.
以上描述仅为本申请的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本申请中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离所述发明构思的情况下,由上述技术特征或其等同特征进行任意组合合而形成的其它技术方案。例如上述特征与本申请中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
The above description is only a preferred embodiment of the present application and a description of the principles of the applied technology. It should be understood by those skilled in the art that the scope of the invention referred to in the present application is not limited to the specific combination of the above technical features, and should also be covered by the above technical features without departing from the inventive concept. Other technical solutions formed by any combination of the same or equivalent features. For example, the above features are combined with the technical features disclosed in the present application, but are not limited to the technical features having similar functions.
Claims (18)
- 一种基于人工智能的人机交互方法,其特征在于,所述方法包括:A human-computer interaction method based on artificial intelligence, characterized in that the method comprises:接收用户输入的交互语句;Receiving an interactive statement input by a user;获取搜索引擎中所述交互语句对应的搜索结果,以及从所述搜索结果中的预设类型的搜索结果中提取出类型关键词,所述类型关键词包括:所述预设类型的搜索结果的主题名称;Obtaining a search result corresponding to the interaction statement in the search engine, and extracting a type keyword from a preset type of search result in the search result, where the type keyword includes: the preset type of search result Subject name判断所述类型关键词是否与所述预设类型的信息的获取需求相关联,得到判断结果;Determining whether the type keyword is associated with an acquisition requirement of the preset type of information, and obtaining a determination result;以所述判断结果对应的方式生成所述交互语句对应的答案。The answer corresponding to the interaction statement is generated in a manner corresponding to the determination result.
- 根据权利要求1所述的方法,其特征在于,所述预设类型包括:电影类型、音乐类型。The method according to claim 1, wherein the preset type comprises: a movie type, a music type.
- 根据权利要求2所述的方法,其特征在于,从所述搜索结果中的预设类型的搜索结果中提取出类型关键词包括:The method according to claim 2, wherein extracting the type keywords from the preset types of search results in the search results comprises:基于所述交互语句对应的预设个数的搜索结果中所述预设类型的搜索结果的位置,计算所述预设类型的搜索结果的得分,所述得分指示所述预设类型的搜索结果的热门程度;Calculating a score of the preset type of search result based on a preset number of search results corresponding to the preset number of search results corresponding to the interaction statement, the score indicating the preset type of search result Popularity;判断所述得分是否大于所述分数阈值;Determining whether the score is greater than the score threshold;当所述得分大于所述分数阈值时,从所述预设类型的搜索结果中提取出所述类型关键词。When the score is greater than the score threshold, the type keyword is extracted from the preset type of search result.
- 根据权利要求3所述的方法,其特征在于,计算所述预设类型的搜索结果的得分包括:The method of claim 3, wherein calculating a score of the preset type of search results comprises:将在pc端上进行搜索时所述交互语句对应的预设个数的搜索结果中第一个所述预设类型的搜索结果的位置作为预设非线性函数的输入参数,得到pc端得分;When the search is performed on the pc end, the position of the first predetermined type of search result in the preset number of search results corresponding to the interaction statement is used as an input parameter of the preset nonlinear function, and the PC end score is obtained;将在移动终端上进行搜索时所述交互语句对应的预设个数的搜索 结果中第一个所述预设类型的搜索结果的位置作为预设非线性函数的输入参数,得到移动终端得分;a preset number of searches corresponding to the interaction statement when searching on the mobile terminal The position of the first predetermined type of search result in the result is used as an input parameter of a preset nonlinear function, and the mobile terminal score is obtained;将所述pc端得分与预设pc端权重值的乘积和移动终端得分与预设移动终端权重值的乘积之和作为预设线性函数的输入参数,得到所述预设类型的搜索结果的得分。And a sum of the product of the PC end score and the preset pc end weight value and the product of the mobile terminal score and the preset mobile terminal weight value as an input parameter of a preset linear function, and the score of the preset type search result is obtained. .
- 根据权利要求4所述的方法,其特征在于,在接收用户输入的交互语句之前,所述方法还包括:The method of claim 4, wherein before receiving the interactive statement input by the user, the method further comprises:采用网络爬虫抓取类型关键词;Use web crawler to crawl type keywords;计算抓取到的类型关键词为普通词的普通词概率。Calculate the probability of the common word of the typed keyword that is captured as a common word.
- 根据权利要求5所述的方法,其特征在于,判断所述类型关键词是否与所述预设类型的信息的获取需求相关联,得到判断结果包括:The method according to claim 5, wherein determining whether the type keyword is associated with an acquisition requirement of the preset type of information, and obtaining a determination result comprises:采用规则匹配方式识别所述交互语句是否与所述预设类型的信息的获取需求相关联,得到识别结果;Identifying, by using a rule matching manner, whether the interaction statement is associated with an acquisition requirement of the preset type of information, and obtaining a recognition result;根据所述识别结果,确定用于与所述类型关键词对应的普通词概率进行比较的概率阈值,概率阈值包括:标准概率阈值,大于所述标准概率阈值的强概率阈值;And determining, according to the recognition result, a probability threshold for comparing a common word probability corresponding to the type keyword, where the probability threshold includes: a standard probability threshold, and a strong probability threshold greater than the standard probability threshold;当所述类型关键词对应的普通词概率大于确定出的概率阈值时,确定所述类型关键词不与预设类型的信息的获取需求相关联;When the common word probability corresponding to the type keyword is greater than the determined probability threshold, determining that the type keyword is not associated with the acquisition requirement of the preset type of information;当所述类型关键词对应的普通词概率小于确定出的概率阈值时,确定所述类型关键词与预设类型的信息的获取需求相关联。When the common word probability corresponding to the type keyword is less than the determined probability threshold, determining that the type keyword is associated with the acquisition requirement of the preset type of information.
- 根据权利要求6所述的方法,其特征在于,根据所述识别结果,确定用于与所述类型关键词对应的普通词概率进行比较的概率阈值包括:The method according to claim 6, wherein determining a probability threshold for comparing a common word probability corresponding to the type keyword according to the recognition result comprises:当识别结果为交互语句与所述预设类型的信息的获取需求相关联时,将强概率阈值作为用于与所述类型关键词对应的普通词概率进行比较的概率阈值;When the recognition result is that the interaction statement is associated with the acquisition requirement of the preset type of information, the strong probability threshold is used as a probability threshold for comparing the common word probability corresponding to the type keyword;当识别结果为交互语句不与所述预设类型的信息的获取需求相 关联时,将标准概率阈值作为用于与所述类型关键词对应的普通词概率进行比较的概率阈值。When the recognition result is that the interactive statement is not related to the acquisition requirement of the preset type of information In association, the standard probability threshold is used as a probability threshold for comparison with common word probabilities corresponding to the type of keyword.
- 根据权利要求7所述的方法,其特征在于,以所述判断结果对应的方式生成所述交互语句对应的答案包括:The method according to claim 7, wherein the generating the answer corresponding to the interaction statement in a manner corresponding to the determination result comprises:当所述类型关键词不与预设类型的信息的获取需求相关联时,基于所述类型关键词为普通词而生成答案;When the type keyword is not associated with the acquisition requirement of the preset type of information, the answer is generated based on the type keyword as a common word;当所述类型关键词与预设类型的信息的获取需求相关联时,基于所述预设类型的信息的获取需求而生成答案。When the type keyword is associated with an acquisition requirement of the preset type of information, an answer is generated based on the acquisition requirement of the preset type of information.
- 一种基于人工智能的人机交互装置,其特征在于,所述装置包括:A human-computer interaction device based on artificial intelligence, characterized in that the device comprises:接收单元,配置用于接收用户输入的交互语句;a receiving unit configured to receive an interactive statement input by a user;处理单元,配置用于获取搜索引擎中所述交互语句对应的搜索结果,以及从所述搜索结果中的预设类型的搜索结果中提取出类型关键词,所述类型关键词包括:所述预设类型的搜索结果的主题名称;a processing unit configured to acquire a search result corresponding to the interaction statement in the search engine, and extract a type keyword from a preset type of search result in the search result, where the type keyword includes: the pre- Set the subject name of the type of search result;判断单元,配置用于判断所述类型关键词是否与所述预设类型的信息的获取需求相关联,得到判断结果;a determining unit, configured to determine whether the type keyword is associated with an acquisition requirement of the preset type of information, and obtain a determination result;生成单元,配置用于以所述判断结果对应的方式生成所述交互语句对应的答案。And a generating unit configured to generate an answer corresponding to the interaction statement in a manner corresponding to the determination result.
- 根据权利要求9所述的装置,其特征在于,所述预设类型包括:电影类型、音乐类型。The apparatus according to claim 9, wherein said preset type comprises: a movie type, a music type.
- 根据权利要求10所述的装置,其特征在于,处理单元包括:The apparatus according to claim 10, wherein the processing unit comprises:计算子单元,配置用于基于所述交互语句对应的预设个数的搜索结果中所述预设类型的搜索结果的位置,计算所述预设类型的搜索结果的得分,所述得分指示所述预设类型的搜索结果的热门程度;a calculating subunit, configured to calculate a score of the preset type of search result based on a position of the preset type of search results in a preset number of search results corresponding to the interaction statement, where the score indicates The popularity of the default type of search results;分数判断子单元,配置用于判断所述得分是否大于所述分数阈值;a score determining subunit configured to determine whether the score is greater than the score threshold;提取子单元,配置用于当所述得分大于所述分数阈值时,从所述 预设类型的搜索结果中提取出所述类型关键词。Extracting a subunit configured to, when the score is greater than the score threshold, from the The type keywords are extracted from the preset type of search results.
- 根据权利要求11所述的装置,其特征在于,计算子单元进一步配置用于:将在pc端上进行搜索时所述交互语句对应的预设个数的搜索结果中第一个所述预设类型的搜索结果的位置作为预设非线性函数的输入参数,得到pc端得分;将在移动终端上进行搜索时所述交互语句对应的预设个数的搜索结果中第一个所述预设类型的搜索结果的位置作为预设非线性函数的输入参数,得到移动终端得分;将所述pc端得分与预设pc端权重值的乘积和移动终端得分与预设移动终端权重值的乘积之和作为预设线性函数的输入参数,得到所述预设类型的搜索结果的得分。The apparatus according to claim 11, wherein the calculation subunit is further configured to: use the first one of the preset number of search results corresponding to the interaction statement when searching on the pc end The position of the type search result is used as an input parameter of the preset nonlinear function to obtain a PC end score; the first one of the preset search results corresponding to the interaction statement when the search is performed on the mobile terminal The location of the type search result is used as an input parameter of the preset nonlinear function to obtain a mobile terminal score; the product of the pc end score and the preset pc end weight value and the product of the mobile terminal score and the preset mobile terminal weight value And the input parameter as the preset linear function, the score of the search result of the preset type is obtained.
- 根据权利要求12所述的装置,其特征在于,所述装置还包括:The device of claim 12, wherein the device further comprises:抓取单元,配置用于在接收用户输入的交互语句之前,采用网络爬虫抓取类型关键词;a crawling unit configured to use a web crawler to capture a type keyword before receiving an interactive statement input by the user;普通词概率计算单元,配置用于计算抓取到的类型关键词为普通词的普通词概率。The common word probability calculation unit is configured to calculate a common word probability that the captured type keyword is a common word.
- 根据权利要求13所述的装置,其特征在于,判断单元包括:The apparatus according to claim 13, wherein the determining unit comprises:识别子单元,配置用于采用规则匹配方式识别所述交互语句是否与所述预设类型的信息的获取需求相关联,得到识别结果;Identifying a subunit, configured to identify, by using a rule matching manner, whether the interaction statement is associated with an acquisition requirement of the preset type of information, to obtain a recognition result;概率阈值确定子单元,配置用于根据所述识别结果,确定用于与所述类型关键词对应的普通词概率进行比较的概率阈值,概率阈值包括:标准概率阈值,大于所述标准概率阈值的强概率阈值;a probability threshold determining subunit, configured to determine, according to the identification result, a probability threshold for comparing a common word probability corresponding to the type keyword, where the probability threshold includes: a standard probability threshold, which is greater than the standard probability threshold Strong probability threshold需求确定子单元,配置用于当所述类型关键词对应的普通词概率大于确定出的概率阈值时,确定所述类型关键词不与预设类型的信息的获取需求相关联;当所述类型关键词对应的普通词概率小于确定出的概率阈值时,确定所述类型关键词与预设类型的信息的获取需求相关联。 a requirement determining subunit, configured to determine, when the common word probability corresponding to the type keyword is greater than the determined probability threshold, determining that the type keyword is not associated with an acquisition requirement of a preset type of information; When the common word probability corresponding to the keyword is less than the determined probability threshold, determining that the type keyword is associated with the acquisition requirement of the preset type of information.
- 根据权利要求14所述的装置,其特征在于,概率阈值确定子单元进一步配置用于:当识别结果为交互语句与所述预设类型的信息的获取需求相关联时,将强概率阈值作为用于与所述类型关键词对应的普通词概率进行比较的概率阈值;当识别结果为交互语句不与所述预设类型的信息的获取需求相关联时,将标准概率阈值作为用于与所述类型关键词对应的普通词概率进行比较的概率阈值。The apparatus according to claim 14, wherein the probability threshold determining subunit is further configured to: when the recognition result is that the interaction statement is associated with the acquisition requirement of the preset type of information, use the strong probability threshold as a a probability threshold for comparing the common word probability corresponding to the type keyword; when the recognition result is that the interaction statement is not associated with the acquisition requirement of the preset type of information, the standard probability threshold is used as The probability threshold for comparing the common word probabilities corresponding to the type keywords.
- 根据权利要求15所述的装置,其特征在于,生成单元包括:The apparatus according to claim 15, wherein the generating unit comprises:第一答案生成子单元,配置用于当所述类型关键词不与预设类型的信息的获取需求相关联时,基于所述类型关键词为普通词而生成答案;a first answer generation subunit configured to generate an answer based on the type keyword as an ordinary word when the type keyword is not associated with an acquisition requirement of a preset type of information;第二答案生成子单元,配置用于当所述类型关键词与预设类型的信息的获取需求相关联时,基于所述预设类型的信息的获取需求而生成答案。The second answer generation subunit is configured to generate an answer based on an acquisition requirement of the preset type of information when the type keyword is associated with an acquisition requirement of the preset type of information.
- 一种设备,包括:A device that includes:处理器;和Processor; and存储器,Memory,所述存储器中存储有能够被所述处理器执行的计算机可读指令,在所述计算机可读指令被执行时,所述处理器执行基于人工智能的人机交互方法,所述方法包括:The memory stores computer readable instructions executable by the processor, the processor executing an artificial intelligence based human-computer interaction method when the computer readable instructions are executed, the method comprising:接收用户输入的交互语句;Receiving an interactive statement input by a user;获取搜索引擎中所述交互语句对应的搜索结果,以及从所述搜索结果中的预设类型的搜索结果中提取出类型关键词,所述类型关键词包括:所述预设类型的搜索结果的主题名称;Obtaining a search result corresponding to the interaction statement in the search engine, and extracting a type keyword from a preset type of search result in the search result, where the type keyword includes: the preset type of search result Subject name判断所述类型关键词是否与所述预设类型的信息的获取需求相关联,得到判断结果;Determining whether the type keyword is associated with an acquisition requirement of the preset type of information, and obtaining a determination result;以所述判断结果对应的方式生成所述交互语句对应的答案。The answer corresponding to the interaction statement is generated in a manner corresponding to the determination result.
- 一种非易失性计算机存储介质,所述计算机存储介质存储有 能够被处理器执行的计算机可读指令,当所述计算机可读指令被处理器执行时,所述处理器执行基于人工智能的人机交互方法,所述方法包括:A non-volatile computer storage medium storing the computer storage medium Computer readable instructions executable by a processor, when the computer readable instructions are executed by a processor, the processor executing an artificial intelligence based human interaction method, the method comprising:接收用户输入的交互语句;Receiving an interactive statement input by a user;获取搜索引擎中所述交互语句对应的搜索结果,以及从所述搜索结果中的预设类型的搜索结果中提取出类型关键词,所述类型关键词包括:所述预设类型的搜索结果的主题名称;Obtaining a search result corresponding to the interaction statement in the search engine, and extracting a type keyword from a preset type of search result in the search result, where the type keyword includes: the preset type of search result Subject name判断所述类型关键词是否与所述预设类型的信息的获取需求相关联,得到判断结果;Determining whether the type keyword is associated with an acquisition requirement of the preset type of information, and obtaining a determination result;以所述判断结果对应的方式生成所述交互语句对应的答案。 The answer corresponding to the interaction statement is generated in a manner corresponding to the determination result.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610812567.8A CN106383875B (en) | 2016-09-09 | 2016-09-09 | Human-computer interaction method and device based on artificial intelligence |
CN201610812567.8 | 2016-09-09 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018045646A1 true WO2018045646A1 (en) | 2018-03-15 |
Family
ID=57935611
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/108418 WO2018045646A1 (en) | 2016-09-09 | 2016-12-02 | Artificial intelligence-based method and device for human-machine interaction |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106383875B (en) |
WO (1) | WO2018045646A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110415828A (en) * | 2019-06-21 | 2019-11-05 | 深圳壹账通智能科技有限公司 | A pre-check information interaction method and related equipment based on data analysis |
CN111984763A (en) * | 2020-08-28 | 2020-11-24 | 海信电子科技(武汉)有限公司 | Question answering processing method and intelligent equipment |
CN112131418A (en) * | 2019-06-25 | 2020-12-25 | 北京京东尚科信息技术有限公司 | Object marking method, object marking device and computer readable storage medium |
CN112364128A (en) * | 2020-11-06 | 2021-02-12 | 北京乐学帮网络技术有限公司 | Information processing method and device, computer equipment and storage medium |
CN114021560A (en) * | 2021-11-10 | 2022-02-08 | 竹间智能科技(上海)有限公司 | Text error correction method and device, electronic equipment and storage medium |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11100144B2 (en) | 2017-06-15 | 2021-08-24 | Oracle International Corporation | Data loss prevention system for cloud security based on document discourse analysis |
CN107688950B (en) * | 2017-08-31 | 2022-03-11 | 广东美的制冷设备有限公司 | After-sale consultation method for household appliances, electronic equipment and computer readable storage medium |
CN109726387A (en) * | 2017-10-31 | 2019-05-07 | 科沃斯商用机器人有限公司 | Man-machine interaction method and system |
WO2019084810A1 (en) * | 2017-10-31 | 2019-05-09 | 腾讯科技(深圳)有限公司 | Information processing method and terminal, and computer storage medium |
CN108536852B (en) * | 2018-04-16 | 2021-07-23 | 上海智臻智能网络科技股份有限公司 | Question-answer interaction method and apparatus, computer device, and computer-readable storage medium |
CN112106056B (en) * | 2018-05-09 | 2025-06-24 | 甲骨文国际公司 | Constructing fictional discourse trees to improve the ability to answer convergent questions |
CN111414760B (en) * | 2018-12-18 | 2023-06-16 | 广东美的白色家电技术创新中心有限公司 | Natural language processing method, related equipment, system and storage device |
CN110581772B (en) * | 2019-09-06 | 2020-10-13 | 腾讯科技(深圳)有限公司 | Instant messaging message interaction method and device and computer readable storage medium |
CN110929014B (en) * | 2019-12-09 | 2023-05-23 | 联想(北京)有限公司 | Information processing method, information processing device, electronic equipment and storage medium |
CN111737972A (en) * | 2020-05-20 | 2020-10-02 | 华为技术有限公司 | Method and device for realizing natural language understanding in human-computer interaction system |
CN112487164A (en) * | 2020-12-01 | 2021-03-12 | 中译语通科技(青岛)有限公司 | Artificial intelligence interaction method |
CN114124860A (en) * | 2021-11-26 | 2022-03-01 | 中国联合网络通信集团有限公司 | Session management method, device, equipment and storage medium |
CN114417116A (en) * | 2021-12-21 | 2022-04-29 | 北京百度网讯科技有限公司 | Search method, apparatus, device, medium, and program product based on search word |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6665658B1 (en) * | 2000-01-13 | 2003-12-16 | International Business Machines Corporation | System and method for automatically gathering dynamic content and resources on the world wide web by stimulating user interaction and managing session information |
CN104199810A (en) * | 2014-08-29 | 2014-12-10 | 科大讯飞股份有限公司 | Intelligent service method and system based on natural language interaction |
CN104899285A (en) * | 2015-06-04 | 2015-09-09 | 百度在线网络技术(北京)有限公司 | Display method and apparatus for search result |
CN105260459A (en) * | 2015-10-13 | 2016-01-20 | 百度在线网络技术(北京)有限公司 | Search method and apparatus |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140149378A1 (en) * | 2006-06-22 | 2014-05-29 | Rohit Chandra | Method and apparatus for determining rank of web pages based upon past content portion selections |
US8700592B2 (en) * | 2010-04-09 | 2014-04-15 | Microsoft Corporation | Shopping search engines |
CN102955798B (en) * | 2011-08-25 | 2018-04-17 | 深圳市世纪光速信息技术有限公司 | A kind of searching method and search server based on search engine |
-
2016
- 2016-09-09 CN CN201610812567.8A patent/CN106383875B/en active Active
- 2016-12-02 WO PCT/CN2016/108418 patent/WO2018045646A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6665658B1 (en) * | 2000-01-13 | 2003-12-16 | International Business Machines Corporation | System and method for automatically gathering dynamic content and resources on the world wide web by stimulating user interaction and managing session information |
CN104199810A (en) * | 2014-08-29 | 2014-12-10 | 科大讯飞股份有限公司 | Intelligent service method and system based on natural language interaction |
CN104899285A (en) * | 2015-06-04 | 2015-09-09 | 百度在线网络技术(北京)有限公司 | Display method and apparatus for search result |
CN105260459A (en) * | 2015-10-13 | 2016-01-20 | 百度在线网络技术(北京)有限公司 | Search method and apparatus |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110415828A (en) * | 2019-06-21 | 2019-11-05 | 深圳壹账通智能科技有限公司 | A pre-check information interaction method and related equipment based on data analysis |
CN112131418A (en) * | 2019-06-25 | 2020-12-25 | 北京京东尚科信息技术有限公司 | Object marking method, object marking device and computer readable storage medium |
CN111984763A (en) * | 2020-08-28 | 2020-11-24 | 海信电子科技(武汉)有限公司 | Question answering processing method and intelligent equipment |
CN111984763B (en) * | 2020-08-28 | 2023-09-19 | 海信电子科技(武汉)有限公司 | Question answering processing method and intelligent device |
CN112364128A (en) * | 2020-11-06 | 2021-02-12 | 北京乐学帮网络技术有限公司 | Information processing method and device, computer equipment and storage medium |
CN112364128B (en) * | 2020-11-06 | 2024-05-24 | 北京乐学帮网络技术有限公司 | Information processing method, device, computer equipment and storage medium |
CN114021560A (en) * | 2021-11-10 | 2022-02-08 | 竹间智能科技(上海)有限公司 | Text error correction method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106383875B (en) | 2019-10-15 |
CN106383875A (en) | 2017-02-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018045646A1 (en) | Artificial intelligence-based method and device for human-machine interaction | |
US20220214775A1 (en) | Method for extracting salient dialog usage from live data | |
US11775254B2 (en) | Analyzing graphical user interfaces to facilitate automatic interaction | |
US12412044B2 (en) | Methods for reinforcement document transformer for multimodal conversations and devices thereof | |
US12242556B2 (en) | Systems and methods to automatically categorize social media posts and recommend social media posts | |
AU2019200437B2 (en) | A method to build an enterprise-specific knowledge graph | |
US11157490B2 (en) | Conversational virtual assistant | |
US9805718B2 (en) | Clarifying natural language input using targeted questions | |
EP3183728B1 (en) | Orphaned utterance detection system and method | |
US10831796B2 (en) | Tone optimization for digital content | |
US12026194B1 (en) | Query modification based on non-textual resource context | |
US9626622B2 (en) | Training a question/answer system using answer keys based on forum content | |
US10929613B2 (en) | Automated document cluster merging for topic-based digital assistant interpretation | |
US10108698B2 (en) | Common data repository for improving transactional efficiencies of user interactions with a computing device | |
CN115879445A (en) | Unknown word predictor and content integrated translator | |
US20160110415A1 (en) | Using question answering (qa) systems to identify answers and evidence of different medium types | |
US20190205325A1 (en) | Automated Discourse Phrase Discovery for Generating an Improved Language Model of a Digital Assistant | |
CN106663123B (en) | Comment-centric news reader | |
CN114528588B (en) | Cross-modal privacy semantic representation method, device, equipment and storage medium | |
WO2020052060A1 (en) | Method and apparatus for generating correction statement | |
CN114461749A (en) | Data processing method, device, electronic device and medium for dialogue content | |
CN110276001B (en) | Inventory page identification method, apparatus, computing device and medium | |
CN113849666A (en) | A data processing, model training method, device, equipment and storage medium | |
CN115618873A (en) | Data processing method, device, computer equipment and storage medium | |
CN116075885A (en) | Bit-vector-based content matching for third-party digital assistant actions |
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: 16915580 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: 16915580 Country of ref document: EP Kind code of ref document: A1 |