Abstract: The present disclosure relates to a method and system for generating question variations to user input. The method comprises receiving a user input comprising at least one sentence from a user. Further, plurality of keywords and associated plurality of features are extracted from the at least one sentence. Thereafter, a plurality of question variations is generated for the user input by using one or more subgraphs identified from a trained knowledge graph based on the plurality of keywords and the associated plurality of features. The plurality of keywords and the associated plurality of features are extracted using rich semantics processing, transformation of words from one form to another and similarity. The one or more subgraphs include an entity specific graph and an action specific graph. The system and method of the present disclosure fetches real time user input and generates probable question variations for the user input. Figure 2
Claims:WE CLAIM:
1. A method for generating question variations to user input, said method comprising:
receiving, by a response generation system, a user input comprising at least one sentence from a user;
extracting, by a response generation system, plurality of keywords and associated plurality of features from the at least one sentence;
generating, by a response generation system, a plurality of question variations for the user input by using one or more subgraphs identified from a trained knowledge graph based on the plurality of keywords and the associated plurality of features, wherein the trained knowledge graphs is generated by performing the steps of:
determining one or more questions from a dataset provided during a training phase;
determining an association between one or more keywords extracted from the one or more questions and a context between the one or more keywords, wherein the association between the one or more keywords represent at least one of an entity and an action, and the context between the one or more keywords are represented by one or more features; and
generating a knowledge graph comprising the one or more features, wherein each of the one or more features is associated with a confidence score, wherein the knowledge graph is used for generating one or more question variations for the dataset.
2. The method as claimed in claim 1, wherein the plurality of features may include at least one of word-based features and context-based features, wherein the word-based features comprises morphological features, semantics and syntax and the context-based features comprises hierarchical relations.
3. The method as claimed in claim 1, wherein the one or more subgraphs comprise at least one of an action specific graph and an entity specific graph, wherein the action specific graph denotes a link between an action word and possible entities associated with the action word and wherein the entity specific graph denotes a link between the entity and possible actions associated with the entity.
4. The method as claimed in claim 1, wherein the one or more questions are determined using reinforcement learning.
5. The method as claimed in claim 1, wherein the trained knowledge graph is generated using bidirectional LSTM (Long Short-Term Memory) and wherein the association is determined using spreading activation.
6. A question variation generation system, for generating question variations to user input, said system comprising:
a processor; and
a memory, communicatively coupled with the processor, storing processor executable instructions, which, on execution causes the processor to:
receive, a user input comprising at least one sentence from a user;
extract, plurality of keywords and associated plurality of features from the at least one sentence;
generate, a plurality of question variations for the user input by using one or more subgraphs identified from a trained knowledge graph based on the plurality of keywords and the associated plurality of features, wherein the trained knowledge graphs is generated by performing the steps of:
determining one or more questions from a dataset provided during a training phase;
determining an association between one or more keywords extracted from the one or more questions and a context between the one or more keywords, wherein the association between the one or more keywords represent at least one of an entity and an action, and the context between the one or more keywords are represented by one or more features; and
generating a knowledge graph comprising the one or more features, wherein each of the one or more features is associated with a confidence score, wherein the knowledge graph is used for generating one or more question variations for the dataset.
7. The question variation generation system as claimed in claim 6, wherein the plurality of features may include at least one of word-based features and context-based features, wherein the word-based features comprises morphological features, semantics and syntax and the context-based features comprises hierarchical relations.
8. The question variation generation system as claimed in claim 6, wherein the one or more subgraphs comprise at least one of an action specific graph and an entity specific graph, wherein the action specific graph denotes a link between an action word and possible entities associated with the action word and wherein the entity specific graph denotes a link between the entity and possible actions associated with the entity.
9. The question variation generation system as claimed in claim 6, wherein the one or more questions are determined using reinforcement learning.
10. The question variation generation system as claimed in claim 6, wherein the trained knowledge graph is generated using bidirectional LSTM (Long Short-Term Memory) and wherein the association is determined using spreading activation.
Dated this 31st day of July, 2018
R Ramya Rao
Of K&S Partners
Agent for the Applicant
IN/PA-1607
, Description:TECHNICAL FIELD
The present disclosure relates to the field of artificial intelligence. More particularly, but not exclusively, the present disclosure relates to a method and system for generating question variations.
| # | Name | Date |
|---|---|---|
| 1 | 201841028805-STATEMENT OF UNDERTAKING (FORM 3) [31-07-2018(online)].pdf | 2018-07-31 |
| 2 | 201841028805-REQUEST FOR EXAMINATION (FORM-18) [31-07-2018(online)].pdf | 2018-07-31 |
| 3 | 201841028805-POWER OF AUTHORITY [31-07-2018(online)].pdf | 2018-07-31 |
| 4 | 201841028805-FORM 18 [31-07-2018(online)].pdf | 2018-07-31 |
| 5 | 201841028805-FORM 1 [31-07-2018(online)].pdf | 2018-07-31 |
| 6 | 201841028805-DRAWINGS [31-07-2018(online)].pdf | 2018-07-31 |
| 7 | 201841028805-DECLARATION OF INVENTORSHIP (FORM 5) [31-07-2018(online)].pdf | 2018-07-31 |
| 8 | 201841028805-COMPLETE SPECIFICATION [31-07-2018(online)].pdf | 2018-07-31 |
| 9 | 201841028805-Request Letter-Correspondence [02-08-2018(online)].pdf | 2018-08-02 |
| 10 | 201841028805-Power of Attorney [02-08-2018(online)].pdf | 2018-08-02 |
| 11 | 201841028805-Form 1 (Submitted on date of filing) [02-08-2018(online)].pdf | 2018-08-02 |
| 12 | abstract 201841028805.jpg | 2018-08-29 |
| 13 | 201841028805-Proof of Right (MANDATORY) [22-09-2018(online)].pdf | 2018-09-22 |
| 14 | Correspondence by Agent_Form1_26-09-2018.pdf | 2018-09-26 |
| 15 | 201841028805-PETITION UNDER RULE 137 [25-08-2021(online)].pdf | 2021-08-25 |
| 16 | 201841028805-OTHERS [25-08-2021(online)].pdf | 2021-08-25 |
| 17 | 201841028805-Information under section 8(2) [25-08-2021(online)].pdf | 2021-08-25 |
| 18 | 201841028805-FORM 3 [25-08-2021(online)].pdf | 2021-08-25 |
| 19 | 201841028805-FER_SER_REPLY [25-08-2021(online)].pdf | 2021-08-25 |
| 20 | 201841028805-DRAWING [25-08-2021(online)].pdf | 2021-08-25 |
| 21 | 201841028805-CORRESPONDENCE [25-08-2021(online)].pdf | 2021-08-25 |
| 22 | 201841028805-CLAIMS [25-08-2021(online)].pdf | 2021-08-25 |
| 23 | 201841028805-FER.pdf | 2021-10-17 |
| 24 | 201841028805-US(14)-HearingNotice-(HearingDate-22-01-2024).pdf | 2024-01-04 |
| 25 | 201841028805-POA [15-01-2024(online)].pdf | 2024-01-15 |
| 26 | 201841028805-FORM 13 [15-01-2024(online)].pdf | 2024-01-15 |
| 27 | 201841028805-Correspondence to notify the Controller [15-01-2024(online)].pdf | 2024-01-15 |
| 28 | 201841028805-AMENDED DOCUMENTS [15-01-2024(online)].pdf | 2024-01-15 |
| 29 | 201841028805-FORM-26 [20-01-2024(online)].pdf | 2024-01-20 |
| 30 | 201841028805-Written submissions and relevant documents [06-02-2024(online)].pdf | 2024-02-06 |
| 31 | 201841028805-PatentCertificate21-02-2024.pdf | 2024-02-21 |
| 32 | 201841028805-IntimationOfGrant21-02-2024.pdf | 2024-02-21 |
| 1 | search201841028805E_16-12-2020.pdf |