CN110516786A - A kind of dialogue management method and apparatus - Google Patents

A kind of dialogue management method and apparatus Download PDF

Info

Publication number
CN110516786A
CN110516786A CN201910799999.3A CN201910799999A CN110516786A CN 110516786 A CN110516786 A CN 110516786A CN 201910799999 A CN201910799999 A CN 201910799999A CN 110516786 A CN110516786 A CN 110516786A
Authority
CN
China
Prior art keywords
slot position
key word
word information
information
slot
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910799999.3A
Other languages
Chinese (zh)
Inventor
王晓雪
林士翔
牛嘉斌
雷欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Volkswagen China Investment Co Ltd
Mobvoi Innovation Technology Co Ltd
Original Assignee
Go Out And Ask (wuhan) Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Go Out And Ask (wuhan) Information Technology Co Ltd filed Critical Go Out And Ask (wuhan) Information Technology Co Ltd
Priority to CN201910799999.3A priority Critical patent/CN110516786A/en
Publication of CN110516786A publication Critical patent/CN110516786A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/004Artificial life, i.e. computing arrangements simulating life
    • G06N3/006Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Biomedical Technology (AREA)
  • Computing Systems (AREA)
  • Biophysics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Artificial Intelligence (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Machine Translation (AREA)

Abstract

The present invention provides a kind of dialogue management method, which comprises receives dialog information;Extract the key word information in the dialog information, in which: the key word information includes at least the first key word information;Corresponding first slot position of first key word information is determined according to first key word information;At least one corresponding second slot position of first slot position is obtained to handle second slot position according to the relationship between first slot position and second slot position.The present invention also provides a kind of dialogue management devices.Using the scheme of the embodiment of the present invention, it can be for more wheel interactive systems, by according to the relationship between slot position, the slot position being related in flexible management context, in the case where reducing interaction round as far as possible, it improves the completion rate of conversational system and understands the accuracy rate of user's true intention, promote the interactive experience of user.

Description

A kind of dialogue management method and apparatus
Technical field
The present invention relates to field of automation technology more particularly to a kind of dialogue management method and apparatus.
Background technique
Conversational system is the interface of the mankind and machine interaction, one of them most important dimension is whether machine is understood that The true intention of user, to provide corresponding feedback on this basis.It is existing understand user be intended to a method be from Keyword is extracted in the dialogue at family, and the keyword extracted is inserted into corresponding slot position, uses the keyword and corresponding slot Position generates new dialogue.Existing slot position management system is still not perfect, and the process of dialogue is complicated, and it is more to need to have carried out round, Cause the efficiency integrally talked with lower.
Summary of the invention
The present invention provides a kind of dialogue management method and apparatus, reduces the complexity of dialog procedure, increases dialogue The efficiency of management.
On the one hand, the present invention provides a kind of dialogue management method, which comprises
Receive dialog information;
Extract the key word information in the dialog information, in which: the key word information includes at least the first keyword Information;
Corresponding first slot position of first key word information is determined according to first key word information;
At least one corresponding second slot position of first slot position is obtained, according to first slot position and second slot position Between relationship, second slot position is handled.
Optionally, according to the relationship between first slot position and second slot position, second slot position is handled, It specifically includes:
When first slot position and second slot position are mutex relation, delete processing is carried out to second slot position.
Optionally, according to the relationship between first slot position and second slot position, second slot position is handled, It specifically includes:
When first slot position and second slot position are to rely on newly-increased relationship, according to first key word information pair Second slot position is filled processing.
Optionally, described that processing is filled to second slot position according to first key word information, it specifically includes:
Obtain environmental parameter:
Processing is filled to second slot position according to the environmental parameter and first key word information.
Optionally, the key word information further includes the second key word information;
The relationship according between first slot position and second slot position, handles second slot position, tool Body includes:
According to the relationship and second key word information between first slot position and second slot position, to described second Slot position is handled.
Optionally, according to the relationship and second key word information between first slot position and the second slot position, to second Slot position is handled, and is specifically included:
When first slot position and second slot position are to rely on the relationship that empties, and second key word information is to delete When keyword, delete processing is carried out to second slot position.
Optionally, the delete processing includes: to delete second slot position and/or the corresponding institute of deletion second slot position State key word information.
Optionally, after handling the second slot position, which comprises
According in first key word information, second key word information, first slot position, second slot position At least one of, corresponding processing result is answered in generation.
Optionally, corresponding processing result is answered in the generation, is specifically included:
Generate dialog information or control instruction.
On the other hand, the present invention also provides a kind of dialogue management device, described device includes receiving module, extracts mould Block, determining module, processing module, wherein
Receiving module, for receiving dialog information;
Extraction module, for extracting the key word information in the dialog information, in which: the key word information is at least wrapped Include the first key word information;
Determining module, for determining corresponding first slot of first key word information according to first key word information Position;
Processing module, for obtaining at least one corresponding second slot position of first slot position, according to first slot position Relationship between second slot position handles second slot position.
Based on above-mentioned, the present invention provides a kind of dialogue management method, which comprises receives dialog information;Extract institute State the key word information in dialog information, in which: the key word information includes at least the first key word information;According to described One key word information determines corresponding first slot position of first key word information;Obtain first slot position corresponding at least one A second slot position is handled second slot position according to the relationship between first slot position and second slot position.Using The scheme of the embodiment of the present invention, can be for more wheel interactive systems, by according to the relationship between slot position, in flexible management context Slot involved improves the completion rate of conversational system and understands that user is true in the case where reducing interaction round as far as possible The accuracy rate of intention promotes the interactive experience of user.
Detailed description of the invention
Fig. 1 is the usage scenario schematic diagram of the dialogue management method of the embodiment of the present invention;
Fig. 2 is the flow diagram of the dialogue management method of the embodiment of the present invention;
Fig. 3 is the flow diagram of the dialogue management another method of the embodiment of the present invention;
Fig. 4 is the flow diagram for the embodiment of the present invention that partial groove interdigit is under mutex relation;
Fig. 5 is that partial groove interdigit is the flow diagram for relying on the embodiment of the present invention under newly-increased relationship;
Fig. 6 is that partial groove interdigit is to rely on the flow diagram for emptying the embodiment of the present invention under relationship;
Fig. 7 is the structural schematic diagram of the dialogue management device of the embodiment of the present invention.
Specific embodiment
Here will the description is performed on the exemplary embodiment in detail, the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
In the description of the present invention, it is to be understood that, term " center ", " longitudinal direction ", " transverse direction ", " length ", " width ", " thickness ", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outside", " up time The orientation or positional relationship of the instructions such as needle ", " counterclockwise " is to be based on the orientation or positional relationship shown in the drawings, and is merely for convenience of The description present invention and simplified description, rather than the device or element of indication or suggestion meaning must have a particular orientation, with spy Fixed orientation construction and operation, therefore be not considered as limiting the invention.In addition, term " first ", " second " are only used for Purpose is described, relative importance is not understood to indicate or imply or implicitly indicates the quantity of indicated technical characteristic. " first " is defined as a result, the feature of " second " can explicitly or implicitly include one or more feature.In In description of the invention, the meaning of " plurality " is two or more, unless otherwise specifically defined.
In the description of the present invention, it should be noted that unless otherwise clearly defined and limited, term " installation ", " phase Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can To be mechanical connection, it is also possible to be electrically connected or can mutually communicate;It can be directly connected, it can also be by between intermediary It connects connected, can be the connection inside two elements or the interaction relationship of two elements.For the ordinary skill of this field For personnel, the specific meanings of the above terms in the present invention can be understood according to specific conditions.In the absence of conflict, originally Technical characteristic in invention can be combined with each other.
In the present invention unless specifically defined or limited otherwise, fisrt feature second feature "upper" or "lower" It may include that the first and second features directly contact, also may include that the first and second features are not direct contacts but pass through it Between other characterisation contact.Moreover, fisrt feature includes fisrt feature above the second feature " above ", " above " and " above " Right above second feature and oblique upper, or first feature horizontal height is merely representative of higher than second feature.Fisrt feature is Two features " under ", " lower section " and " following " include that fisrt feature is directly below and diagonally below the second feature, or is merely representative of One characteristic level height is less than second feature.
Following disclosure provides many different embodiments or example is used to realize different structure of the invention.In order to Simplify disclosure of the invention, hereinafter the component of specific examples and setting are described.Certainly, they are merely examples, and And it is not intended to limit the present invention.In addition, the present invention can in different examples repeat reference numerals and/or reference letter, This repetition is for purposes of simplicity and clarity, itself not indicate the pass between discussed various embodiments and/or setting System.In addition, the present invention provides various specific techniques and material example, but those of ordinary skill in the art can anticipate Know the application of other techniques and/or the use of other materials.
Fig. 1 is a kind of usage scenario schematic diagram of the embodiment of the present invention, as shown in Figure 1, operator 1 in session operational scenarios Input dialogue information 2 is transmitted to processing equipment 3 by voice, which will It handles obtained output dialog information 4 and feeds back to operator 1.Wherein, operator 1 here can be people, animal, machine etc. can To generate the main body of input information 2, and processing equipment 3 can be mobile device, such as: mobile phone, automobile speech terminal, family move Dynamic voice terminal etc.;It is also possible to fixed equipment.Transmission between input dialogue information 2, output dialog information 4 can be wirelessly Transmission, wire transmission, the content of the dialog information of transmission can be voice, text or the data that can be resolved.Some It, can be there is no dialog information 4 be exported, in processing of the input dialogue information 2 Jing Guo processing equipment 3, processing equipment root under scene According to the processing result to input dialogue information, corresponding operating procedure is executed, for example, if processing equipment is automobile speech terminal, At user query place, processing equipment can show the ground searched out on the display terminal connecting with automobile speech terminal Point can also be the opening and closing etc. of control circuit or system.
Fig. 2 is a kind of flow diagram of dialogue management method of the embodiment of the present invention, as shown in Fig. 2, the present invention is implemented Example specifically includes, step 201: receiving inquiry;The voice messaging of operator's transmission is received, and by speech recognition at sentence.Step Rapid 202: context semantic understanding;Sentence after identification is converted into semantic expressiveness, can be language using slot position recognition methods Sentence is converted into semantic expressiveness, based on context, can provide multiple contexts and be mutually related semantic understanding.Step 203: up and down Literary slot position management, can be according to the management of the semantic slot position for carrying out context after understanding, including determines corresponding relationship, deleted The processing such as remove, fill.Step 204: dialogue management;Slot position is judged by dialog management system, determines how and is grasped Make, for example, when slot position information is sufficient, then feedback step 205: dialogue sort result;For specific dialogue management, can pass through Dialogue result is ranked up, optimal dialogue option is selected.Step 206: words art generates;It is suitable according to composite factor selection Dialog information.
Fig. 3 is the flow diagram of the another method of dialogue management of the embodiment of the present invention, as shown in figure 3, the present invention one is real Apply example specifically includes the following steps:
Step 301: receiving dialog information;
Wherein, the main body for receiving dialog information here can be mobile device, be also possible to non-mobile device, which can With the equipment of remote input when thinking, it is connected for example, being connected via wire or wirelessly mode with microphone, passes through Mike Wind receives dialog information;It is also possible to be inputted by other data modes, for example, receiving pair presented by textual form Talk about information.Specifically, received dialog information can be " I will go to Zhong Guan-cun ".
Step 302: extracting the key word information in the dialog information, in which: the key word information includes at least the One key word information;
It include a variety of key word informations in dialog information, dialog information can be divided into a plurality of types of key word informations, It can be and classified according to the type of word, such as: verb, noun, adjective etc.;It is also possible to according to word in sentence In ingredient classify, such as: subject, predicate, object etc. are classified;It can also be the frequency occurred according to the word Classify, be of course not solely limited to the example above, further includes the extraction for carrying out key word information using the methods of neural network, It is also possible to carry out comprehensive descision using above-mentioned a variety of extracting methods.
In some embodiments, the first key word information can be noun, the first key word information be also possible to verb or Person's object etc..It is subsequent for convenience of explanation, here by the first key word information be noun for be introduced, it should be understood that First key word information is not limited only to noun.Specifically, be " I will go to Zhong Guan-cun " for received dialog information, it can be with It is decomposed into " I " " going " " Zhong Guan-cun ".Here " Zhong Guan-cun " is extracted as the first key word information.
Step 303: corresponding first slot position of first key word information is determined according to first key word information;
Corresponding first slot position can be determined according to the first key word information obtained in step 302, can be made here Corresponding first slot position is found with the corresponding keyword that the table of comparisons is searched, the mode or nerve of prediction model also can be used The modes such as network find corresponding first slot position, can also be according to multiple key word information comprehensive descisions, here without limitation.
Specifically, for example, the first key word information for extracting of step 302 is " Zhong Guan-cun ", it here can be according to control Table, finding corresponding first slot position of keyword " Zhong Guan-cun " is position (location) slot position.It is also possible to through neural network, " Zhong Guan-cun " is used as input quantity, is deduced using neural network, finally obtaining " Zhong Guan-cun " corresponding first slot position is position Set slot position etc..
Step 304: at least one corresponding second slot position of first slot position is obtained, according to first slot position and described Relationship between second slot position handles second slot position.
According to the first slot position that step 303 determines, corresponding with the first slot position the can be obtained according to pre-stored content Two slot positions, the content of storage can be the table of comparisons, and the table of comparisons points out the corresponding relationship between the first slot position and the second slot position, can also be with It is calculation method, second slot position etc. can be calculated by the first slot position;The first slot position can be defined according to vertical field Corresponding second slot position.Specifically, can determine corresponding second slot position according to the first slot position, can also find with Its corresponding more than two second slot position, it is also possible to can not find the second corresponding slot position, for example, when the first slot position is position When setting slot position, the second slot position can be city (city) slot position, name (name) slot position, movement (action) slot position etc..If can To find the second slot position, then the corresponding relationship between available first slot position and the second slot position, according to the corresponding relationship, to second Slot position is handled, which includes the corresponding content of the second slot position of filling, delete the second slot position, delete the second slot position pair Content, the corresponding content of the second slot position of change for answering etc. are handled.
By defining the relationship between slot position, the slot position being related in flexible management context, by the above method, for more Interactive system is taken turns, interactive round can be reduced as far as possible, improve the completion rate of conversational system and understands the standard of user's true intention True rate promotes the interactive experience of user.
In some embodiments, after handling the second slot position, for Installed System Memory slot position and the slot position Corresponding key word information engages in the dialogue management, and the key word information corresponding with the slot position of slot position if it exists is enough, then generates Corresponding control instruction, for example, corresponding navigation place or guidance path are then generated for navigation system, for consulting system System, then generating corresponding recommendation information, perhaps voice messaging can also be the opening and closing etc. of control circuit or system; Slot position if it exists corresponds to key word information deficiency with the slot position, then generates dialog information, continues and user engages in the dialogue, to obtain Take enough information.
In some embodiments, the key word information further includes the second key word information, extracts the first key word information When can also extract the second keyword simultaneously, the selection type of the second key word information can be identical as the first key word information, Such as first key word information when being chosen for noun, the second key word information also can choose as noun, but the first keyword Information may belong to the noun of subject, and the second key word information can be the noun for belonging to object;Second key word information Choosing type can be different from the selection type of the first key word information, such as when the first key word information is noun, second is closed Keyword information is verb.For ease of description, here by taking the second key is verb as an example, it should be appreciated that the illustration It is intended only as explaining, and not as restriction.
Specifically, being closed when being extracted the second key word information according to the relationship and second of the first slot position and the second slot position Keyword information handles the second slot position.Second key word information can be the pass of expression " filling ", " deletion ", " replacement " Keyword, the second keyword are also possible to the intention of dialog information, and show as including in dialog information specifically needs how to do, root Learn that the processing to the first slot position is intended to according to the second key word information, so that further accurately the second slot position is handled, Interactive round can be reduced as far as possible, improve the completion rate of conversational system and understands the accuracy rate of user's true intention, further Promotion user interactive experience.
In some embodiments, the first key word information may be verb, for example, " not going " believes as the first keyword Breath etc..
In some embodiments, when first slot position and second slot position are mutex relation, to the second slot position into Row delete processing.Such as first slot position be position slot position, be title (name) slot position with the second slot position be mutex relation, simultaneously It searches for the corresponding key word information of position slot position and the corresponding key word information of the second slot position is probably searched for less than specific As a result, if the second slot position has corresponding key word information, when filling corresponding first key word information of the first slot position, together When to the second slot position carry out delete processing, increase the success rate of search.
Specifically, in some embodiments, carrying out delete processing to the second slot position, it is corresponding to can be the second slot position of deletion Key word information is also possible to only delete second slot position, allows the second slot position not engage in the dialogue the calculating of management, can also be same When delete the second slot position and the corresponding key word information of the second slot position.
In some embodiments, it can be exchanged with each other for the first slot position of mutex relation and the second slot position, for example, if the One slot position has had key word information, and at this moment fills the corresponding key word information of the second slot position, therefore for the first slot position Carry out delete processing;It is also understood that for the slot position of mutex relation, then first storing is the second slot position, and in rear progress Modification is the first slot position, whether can have corresponding key word information according to the second slot position to the processing of the first slot position, if the Two slot positions have corresponding key word information, then carry out delete processing to the first slot position.
In some embodiments, because using the first slot position and the corresponding key word information of the first slot position in some cases, Key word information corresponding with the second slot position and the second slot position, which can also determine, specifically generates corresponding control instruction, then the reality It applies under example, after determining the first slot position key word information corresponding with the first slot position of filling, the second slot is determined according to the first slot position Position key word information corresponding with the second slot position, uses the first slot position and the corresponding key word information of the first slot position and the second slot Position key word information corresponding with the second slot position specifically generates corresponding control instruction to determine;If corresponding control cannot be generated When making instruction, such as can not determine specific place, then according to the mutex relation between the first slot position and the second slot position, to the second slot Position carries out delete processing.
In some embodiments, the second slot position corresponding with the first slot position can be one or more, when with multiple When the second slot position, need to carry out delete processing to the second whole slot positions.
In some embodiments, if only proposing name word information from dialog information, can default the noun is " filling " Processing, i.e., fill the noun to its corresponding first slot position.If not only having noun, but also there are also verbs, especially this is dynamic Word and noun form V-O construction, in one case, it can be understood as the processing to the noun implementation verb behavior, for example, Second key word information is " going ", and the first keyword is " beefsteak ", then is interpreted as " beefsteak ", to just need to the second slot Position carries out delete processing, such as to delete the second slot position (title slot position) corresponding " one product of iron pan ".Can also be such as: second is crucial Word information is " not going ", and the first keyword is " beefsteak ", then is interpreted as " not going to eat beefsteak ", since " not going to eat beefsteak ", Without carrying out delete processing to the second slot position, such as not handle the second slot position corresponding " residence of iron pan one ".
In some embodiments, the second key word information of extraction can by a variety of, such as: " not going ", " stopping navigation ", Keyword after " abandoning " can be extracted is deformed, and is then unified input " not going " and is inserted third slot position, can also be with It directly is filled into third slot position to the keyword extracted, which is used for and the first slot position combines, and judges for first The processing of slot position and the processing for having the second slot position of corresponding relationship with the first slot position;Second keyword it also will be understood that For " intention " of whole word, at this point, in conjunction with " intention " and the first slot position, processing for the first slot position is judged and for first Slot position has the processing of the second slot position of corresponding relationship.
In some embodiments, Fig. 4 is when the process signal that partial groove interdigit is the embodiment of the present invention under mutex relation Figure is starting as shown in figure 4, initial slot position state S41 is sky and slot position information is not present, here can there is no slot position information To be absolutely not slot position information, it is also possible to the slot position information with non-the present embodiment concern.Subsequently into step 401: connecing Dialog information " iron pan one that I will eat Zhong Guan-cun occupies " is received, keyword " Zhong Guan-cun " and " iron pan one are extracted from the dialog information Occupy ", " Zhong Guan-cun " to position slot position is filled, filling " residence of iron pan one " is corresponding to slot position.Slot position state S42 is during position slot position is Guan Cun, title slot position are the residence of iron pan one.Subsequently into step 402: receiving dialog information " having beefsteak ", at this moment should fill " beefsteak " carries out the second slot position to dish slot position, but since there are mutex relations between dish slot position and title slot position Title slot position is that the residence of iron pan one is deleted by delete processing.It is Zhong Guan-cun that slot position state S43, which is position slot position,.It is most laggard Enter step 403, filling " beefsteak " to dish slot position.At this moment slot position state S44 is that position slot position is Zhong Guan-cun and dish slot position is Beefsteak.Wherein, deleting the title slot position occupied for iron pan one can carry out mutually with sequence the step of filling " beefsteak " to dish slot position It changes.
In some embodiments, when between first slot position and second slot position to rely on newly-increased relationship, according to institute It states the first key word information and processing is filled to second slot position.Wherein, filling processing, which can be, only confirms the second slot Position, so that the second slot position is put into context slot position management system, is also possible to not only confirm the second slot position, two slot positions is put Enter in context slot position management system, and determines that the keyword for needing to fill is believed according to the second slot position and the first key word information Breath, then fills the key word information to the second slot position, and the key word information and corresponding second slot position are put into up and down In literary slot position management system.Such as first slot position be position slot position, the second slot position is city (city) slot position, and the first slot position is corresponding Key word information rely on the second slot position, the second slot position be the first slot position dependence increase newly relationship slot position.Extract the first key Word information is so that it is determined that after the first slot position, if not increasing by the second slot position, it is more likely that search multiple as a result, it is desirable to carrying out The selection of one wheel is most suitable as a result, therefore after determining the first slot position to choose, and relies on newly-increased close to having with the first slot position Second slot position of system carries out the filling of corresponding key word information, can effectively reduce the round of dialogue, improve the experience of user.
In some embodiments, the first slot position and multiple slot positions, which have, relies on newly-increased relationship, when with multiple second slot positions When, processing is filled to the second slot position of one or more of which.
In some embodiments, even if being present in the second slot position that the first slot position has the newly-increased relationship of dependence, but basis First slot position and corresponding first key word information of the first slot position can determine the corresponding control instruction specifically generated, then need not be right Second slot position is handled;If not can determine that specific generation according to the first slot position and corresponding first key word information of the first slot position Corresponding control instruction then needs to be filled processing to the second slot position.
In some embodiments, environmental parameter is obtained, according to environmental parameter and first key word information to described the Two slot positions are filled processing.The environmental parameter can be parameter relevant to the first key message, for example, with the first keyword The frequency of occurrences of relevant word is also possible to address information, the posture information obtained according to sensor, navigates before can also be Destination, departure place information etc..According to the environmental parameter and the first key word information, the second slot position can be closed The generation of keyword information, and the key word information and the second slot position are bound, together with the first key word information and the first slot position, It determines and generates corresponding control instruction.
In some embodiments, when between first slot position and second slot position to rely on newly-increased relationship, according to institute It states the first key word information and the second key word information and processing is filled to second slot position.
In some embodiments, the first slot position has has the second slot position for relying on newly-increased relationship therewith, and the second slot position Have has the third slot position for relying on newly-increased relationship therewith, and when the second slot position executes filling processing, while the second slot position can regard For the first new slot position, system will continue to it there is the third slot position for relying on newly-increased relationship to execute filling processing.
In some embodiments, the first slot position may be existing therewith with the second slot position of mutex relation, and there are also have therewith There is the third slot position for relying on newly-increased relationship, above two processing processing method, i.e. the first slot position and the second slot position can be had When mutex relation, delete processing and the first slot position carried out to the second slot position and third slot position has and relies on newly-increased relational expression, to the Three slot positions are filled processing, i.e., combine two kinds of processing modes.
In some embodiments, it is to rely on the process of the embodiment of the present invention under newly-increased relationship to show that Fig. 5, which is partial groove interdigit, It is intended to, as shown in figure 5, initial slot position state S51 is sky, is starting and slot position information is not present, slot position information is not present here It can be absolutely not slot position information, be also possible to the slot position information with non-the present embodiment concern.Subsequently into step 501: It receives dialog information " I goes to Zhong Guan-cun ", the first keyword " Zhong Guan-cun " and the second keyword " going " is extracted from dialog information, Determine that corresponding first slot position of the first keyword is purpose slot position, filling " Zhong Guan-cun " to purpose slot position.Slot position state S52 is mesh Slot position be Zhong Guan-cun.Subsequently into step 502, filling processing is executed, judges that the purpose slot position and city slot position have and relies on Newly-increased relationship, it is therefore desirable to city slot position is filled, through inquiring, keyword " Beijing " is keyword " Zhong Guan-cun " corresponding frequency " Beijing " to city slot position is then filled in the highest city of rate.At this moment it is Zhong Guan-cun and city slot that slot position state S54, which is purpose slot position, Position is Beijing.
In some embodiments, when first slot position and second slot position are to rely on to empty relationship, and described second Key word information is to carry out delete processing to second slot position when deleting keyword.For example, the first slot position is city slot position, Second slot position is position slot position, and corresponding first key word information of the first slot position is " Beijing ", the corresponding keyword of the second slot position Information is " Zhong Guan-cun ", and the first slot position and the second slot position are to rely on to empty relationship, when extracting the second key word information " not going " When with the first key word information " Beijing ", system understanding is not go to Beijing, carries out delete processing to the first slot position, this is slot position shape It is " Zhong Guan-cun " that state, which also has position slot position, and system judges Zhong Guan-cun to be gone at this time, but the dialog information of user's input " not going to Beijing ", true intention also do not want to go to " Zhong Guan-cun ", and system can generate the judgement of mistake.Therefore for be deleted City slot position have dependence empty relationship position slot position carry out delete processing effectively reduced thus, it is possible to prevent wrong generation The round of dialogue improves the experience of user.
In some embodiments, the first slot position has has the second slot position for relying on deletion relationship therewith, and the second slot position Have has the third slot position for relying on the relationship deleted therewith, and when the second slot position executes delete processing, while the second slot position can be with It is considered as the first new slot position, system will continue to it there is the third slot position for relying on deletion relationship to execute delete processing.
In some embodiments, the first slot position has the second slot position therewith with mutex relation, and the second slot position has threshold value With rely on deletion relationship third slot position, when the second slot position execute delete processing when, while the second slot position can be considered as it is new First slot position, system will continue to it there is the third slot position for relying on deletion relationship to execute delete processing.
In some embodiments, it is to rely on to empty the process of the embodiment of the present invention under relationship and show that Fig. 6, which is partial groove interdigit, It is intended to;Initial slot position state S61 is sky, is starting and slot position information is not present, can be completely there is no slot position information here There is no slot position information, is also possible to the slot position information with non-the present embodiment concern.Subsequently into step 601: receiving dialogue letter It ceases " I will go to Pekinese Zhong Guan-cun " and extracts keyword " Beijing " and " Zhong Guan-cun " from the dialog information, fill " Beijing " to city City's slot position fills " Zhong Guan-cun " to position slot position.Slot position state S62 is that city slot position is Beijing, and position slot position is Zhong Guan-cun.So After enter step 603: receive dialog information " I does not go to Beijing ", system carries out delete processing to city slot position.Slot position at this time State S63 is that position slot position is Zhong Guan-cun, finally enters step 603, because city slot position and position slot position are emptied in the presence of dependence Relationship needs to carry out delete processing to position slot position.Slot position state S64 is sky at this time, will not be to the understanding of subsequent dialog information It interferes.
In some embodiments, according at least one in the first keyword, the second keyword, the first slot position, the second slot position , generate corresponding processing result.Wherein, the processing result includes generating dialog information or control instruction.
The embodiment of the invention also provides a kind of dialogue management device, Fig. 7 is the dialogue management device of the embodiment of the present invention Structural schematic diagram, as shown in fig. 7, the dialogue management device of the embodiment of the present invention include: receiving module 71, extraction module 72, Determining module 73, processing module 74, wherein
Receiving module 71, for receiving dialog information;
Extraction module 72, for extracting the key word information in the dialog information, in which: the key word information is at least Including the first key word information;
Determining module 73, for determining first key word information corresponding first according to first key word information Slot position;
Processing module 74, for obtaining at least one corresponding second slot position of first slot position, according to first slot Relationship between position and second slot position, handles second slot position.
In some embodiments, the processing module 74 of dialogue management device is also used to when first slot position and described the When two slot positions are mutex relation, delete processing is carried out to second slot position.
In some embodiments, the processing module 74 of dialogue management device is also used to when first slot position and described the Two slot positions are when relying on newly-increased relationship, to be filled processing to second slot position according to first key word information.
In some embodiments, the receiving module 71 of dialogue management device, is also used to obtain environmental parameter:
Processing module 74, be also used to according to the environmental parameter and first key word information to second slot position into Row filling processing.
In some embodiments, the processing module 74 of dialogue management device is also used to according to first slot position and described Relationship and second key word information between second slot position, handle second slot position.
In some embodiments, the processing module 74 of dialogue management device is also used to when first slot position and described the Two slot positions are to rely on the relationship that empties, and second key word information is when deleting keyword, to delete to second slot position Except processing.
In some embodiments, the processing module 74 of dialogue management device, be also used to according to first key word information, Second key word information, first slot position, in second slot position at least one of, corresponding processing knot is answered in generation Fruit.
In some embodiments, the processing module 74 of dialogue management device, is also used to generate dialog information or control refers to It enables.
The embodiment of the invention also provides a kind of dialog management system, Fig. 7 is the dialogue management device of the embodiment of the present invention Structural schematic diagram, as shown in fig. 7, the dialogue management device of the embodiment of the present invention include: receiving module 71, extraction module 72, Determining module 73, processing module 74, wherein
Receiving module 71, for receiving dialog information;
Extraction module 72, for extracting the key word information in the dialog information, in which: the key word information is at least Including the first key word information;
Determining module 73, for determining first key word information corresponding first according to first key word information Slot position;
The embodiment of the invention also provides a kind of dialogue management device, the dialogue management device of the embodiment of the present invention includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to executing:
Receive dialog information;
Extract the key word information in the dialog information, in which: the key word information includes at least the first keyword Information;
Corresponding first slot position of first key word information is determined according to first key word information;
At least one corresponding second slot position of first slot position is obtained, according to first slot position and second slot position Between relationship, second slot position is handled.
The embodiment of the invention also provides a kind of computer readable storage medium, the computer-readable of the embodiment of the present invention is deposited Storage media contains computer executable instructions, when executed for executing following step:
Receive dialog information;
Extract the key word information in the dialog information, in which: the key word information includes at least the first keyword Information;
Corresponding first slot position of first key word information is determined according to first key word information;
At least one corresponding second slot position of first slot position is obtained, according to first slot position and second slot position Between relationship, second slot position is handled.
It should be understood that the application is not limited to the precise structure that has been described above and shown in the drawings, and And various modifications and change can executed without departing from the scope.Scope of the present application is only limited by the accompanying claims.

Claims (10)

1. a kind of dialogue management method, which is characterized in that the described method includes:
Receive dialog information;
Extract the key word information in the dialog information, in which: the key word information includes at least the first key word information;
Corresponding first slot position of first key word information is determined according to first key word information;
At least one corresponding second slot position of first slot position is obtained, according between first slot position and second slot position Relationship handles second slot position.
2. the method according to claim 1, wherein according to the pass between first slot position and second slot position System, handles second slot position, specifically includes:
When first slot position and second slot position are mutex relation, delete processing is carried out to second slot position.
3. the method according to claim 1, wherein according to the pass between first slot position and second slot position System, handles second slot position, specifically includes:
When first slot position and second slot position are to rely on newly-increased relationship, according to first key word information to described Second slot position is filled processing.
4. according to the method described in claim 3, it is characterized in that, it is described according to first key word information to described second Slot position is filled processing, specifically includes:
Obtain environmental parameter:
Processing is filled to second slot position according to the environmental parameter and first key word information.
5. the method according to claim 1, wherein the key word information further includes the second key word information;
The relationship according between first slot position and second slot position, handles second slot position, specific to wrap It includes:
According to the relationship and second key word information between first slot position and second slot position, to described second Slot position is handled.
6. according to the method described in claim 5, it is characterized in that, according between first slot position and the second slot position relationship, And second key word information, the second slot position is handled, is specifically included:
When first slot position and second slot position are to rely on the relationship that empties, and second key word information is to delete key When word, delete processing is carried out to second slot position.
7. according to the method described in claim 6, it is characterized in that, the delete processing include: delete second slot position and/ Or delete the corresponding key word information of second slot position.
8. according to method described in claim 5 to 7 any one, which is characterized in that after handling the second slot position, institute The method of stating includes:
According in first key word information, second key word information, first slot position, second slot position extremely Corresponding processing result is answered in one item missing, generation.
9. according to the method described in claim 8, specifically including it is characterized in that, corresponding processing result is answered in the generation:
Generate dialog information or control instruction.
10. a kind of dialogue management device, which is characterized in that described device includes receiving module, extraction module, determining module, place Module is managed, wherein
Receiving module, for receiving dialog information;
Extraction module, for extracting the key word information in the dialog information, in which: the key word information includes at least the One key word information;
Determining module, for determining corresponding first slot position of first key word information according to first key word information;
Processing module, for obtaining at least one corresponding second slot position of first slot position, according to first slot position and institute The relationship between the second slot position is stated, second slot position is handled.
CN201910799999.3A 2019-08-28 2019-08-28 A kind of dialogue management method and apparatus Pending CN110516786A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910799999.3A CN110516786A (en) 2019-08-28 2019-08-28 A kind of dialogue management method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910799999.3A CN110516786A (en) 2019-08-28 2019-08-28 A kind of dialogue management method and apparatus

Publications (1)

Publication Number Publication Date
CN110516786A true CN110516786A (en) 2019-11-29

Family

ID=68628366

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910799999.3A Pending CN110516786A (en) 2019-08-28 2019-08-28 A kind of dialogue management method and apparatus

Country Status (1)

Country Link
CN (1) CN110516786A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124866A (en) * 2019-12-26 2020-05-08 北京蓦然认知科技有限公司 Voice interaction method and device
CN111274368A (en) * 2020-01-07 2020-06-12 北京声智科技有限公司 Slot filling method and device
CN112035608A (en) * 2020-08-20 2020-12-04 出门问问信息科技有限公司 Multi-turn dialogue method and device and computer readable storage medium
CN112331185A (en) * 2020-11-10 2021-02-05 珠海格力电器股份有限公司 Voice interaction method, system, storage medium and electronic equipment
CN113591470A (en) * 2021-06-24 2021-11-02 海信视像科技股份有限公司 Semantic understanding method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104360897A (en) * 2014-10-29 2015-02-18 百度在线网络技术(北京)有限公司 Conversation processing method and conversation management system
CN106055547A (en) * 2015-04-02 2016-10-26 松下知识产权经营株式会社 Conversation method, recording medium and conversation system
CN109918492A (en) * 2019-03-18 2019-06-21 百度在线网络技术(北京)有限公司 System is arranged in a kind of human-computer dialogue setting method and human-computer dialogue
CN110096579A (en) * 2019-04-23 2019-08-06 南京硅基智能科技有限公司 A kind of more wheel dialogue methods

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104360897A (en) * 2014-10-29 2015-02-18 百度在线网络技术(北京)有限公司 Conversation processing method and conversation management system
CN106055547A (en) * 2015-04-02 2016-10-26 松下知识产权经营株式会社 Conversation method, recording medium and conversation system
CN109918492A (en) * 2019-03-18 2019-06-21 百度在线网络技术(北京)有限公司 System is arranged in a kind of human-computer dialogue setting method and human-computer dialogue
CN110096579A (en) * 2019-04-23 2019-08-06 南京硅基智能科技有限公司 A kind of more wheel dialogue methods

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124866A (en) * 2019-12-26 2020-05-08 北京蓦然认知科技有限公司 Voice interaction method and device
CN111124866B (en) * 2019-12-26 2023-12-08 光禹莱特数字科技(上海)有限公司 Voice interaction method and device
CN111274368A (en) * 2020-01-07 2020-06-12 北京声智科技有限公司 Slot filling method and device
CN111274368B (en) * 2020-01-07 2024-04-16 北京声智科技有限公司 Groove filling method and device
CN112035608A (en) * 2020-08-20 2020-12-04 出门问问信息科技有限公司 Multi-turn dialogue method and device and computer readable storage medium
CN112331185A (en) * 2020-11-10 2021-02-05 珠海格力电器股份有限公司 Voice interaction method, system, storage medium and electronic equipment
CN112331185B (en) * 2020-11-10 2023-08-11 珠海格力电器股份有限公司 Voice interaction method, system, storage medium and electronic equipment
CN113591470A (en) * 2021-06-24 2021-11-02 海信视像科技股份有限公司 Semantic understanding method and device

Similar Documents

Publication Publication Date Title
CN110516786A (en) A kind of dialogue management method and apparatus
CN106202301B (en) A kind of intelligent response system based on deep learning
CN105808590B (en) Search engine implementation method, searching method and device
CN107832286A (en) Intelligent interactive method, equipment and storage medium
CN109003605A (en) Intelligent sound interaction processing method, device, equipment and storage medium
CN107797984A (en) Intelligent interactive method, equipment and storage medium
WO2023108994A1 (en) Sentence generation method, electronic device and storage medium
CN111177338B (en) Context-based multi-round dialogue method
CN110472030A (en) Man-machine interaction method, device and electronic equipment
CN107844470B (en) Voice data processing method and equipment thereof
CN108109618A (en) voice interactive method, system and terminal device
CN116737908A (en) Knowledge question-answering method, device, equipment and storage medium
CN112035647B (en) Question and answer method, device, equipment and medium based on man-machine interaction
CN112214589B (en) Method for multi-round session framework based on cold start
CN113806503A (en) Dialog fusion method, device and equipment
CN109086276A (en) Data translating method, device, terminal and storage medium
CN109710732A (en) Information query method, device, storage medium and electronic equipment
CN109271503A (en) Intelligent answer method, apparatus, equipment and storage medium
CN112183075A (en) Method and device for extracting slots in conversation, electronic equipment and storage medium
CN116521653A (en) Food material question-answering method and system based on knowledge graph
CN109002477B (en) Information processing method, device, terminal and medium
CN110517672B (en) User intention recognition method, user instruction execution method, system and equipment
CN112784011B (en) Emotion problem processing method, device and medium based on CNN and LSTM
CN117493505A (en) Intelligent question-answering method, device, equipment and storage medium
CN112579751A (en) User information filling method and device and computer equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20211116

Address after: 210000 floor 8, building D11, Hongfeng Science Park, Nanjing Economic and Technological Development Zone, Jiangsu Province

Applicant after: New Technology Co.,Ltd.

Applicant after: VOLKSWAGEN (CHINA) INVESTMENT Co.,Ltd.

Address before: 430223 floor 30, building a, poly era K18, No. 332, Guanshan Avenue, Donghu New Technology Development Zone, Wuhan City, Hubei Province

Applicant before: Go out and ask (Wuhan) Information Technology Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191129