Abstract: A method and device for extracting Action of Interest (AOI) from natural language sentences is disclosed. The method includes creating an input vector comprising a plurality of parameters for each target word in a sentence inputted by a user. The method further includes processing for each target word, the input vector through a trained neural network with RELU activation, which is trained to identify AOI from a plurality of sentences. The method includes assigning AOI tags to each target word in the sentence based on processing of associated input vector through the trained neural network with RELU activation. The method further includes extracting AOI text from the sentence based on the AOI tags assigned to each target word in the sentence. The method further includes providing a response to the sentence inputted by the user based on the AOI text extracted from the sentence. FIGURE 1
Claims:WE CLAIM
1. A method for extracting Action of Interest (AOI) from natural language sentences, the method comprising:
creating, by a AOI processing device, an input vector comprising a plurality of parameters for each target word in a sentence inputted by a user, wherein the plurality of parameters for each target word comprise a Part of Speech (POS) vector associated with the target word and at least two words preceding the target word, a word embedding for the target word, a word embedding for a head word of the target word in the dependency parse tree of the sentence, and a dependency label for the target word;
processing for each target word, by the AOI processing device, the input vector through a trained neural network with Rectified Linear Units (RELU) activation, wherein the trained neural network with RELU activation is trained to identify words associated with AOI from a plurality of sentences;
assigning, by the AOI processing device, AOI tags to each target word in the sentence based on processing of associated input vector through the trained neural network with RELU activation;
extracting, by the AOI processing device, AOI text from the sentence based on the AOI tags associated with each target word in the sentence; and
providing, by the AOI processing device, a response to the sentence inputted by the user based on the AOI text extracted from the sentence.
2. The method of claim 1 further comprising determining the plurality of parameters for each target word in the sentence inputted by the user.
3. The method of claim 1, wherein the response comprises at least one of an answer to the query and an action corresponding to the query.
4. The method of claim 1, wherein the dependency label for the target word indicates relation of the target word with the head word in the sentence.
5. The method of claim 1 further comprising training the neural network with RELU activation to identify AOI tags for words within sentences.
6. The method of claim 5, wherein training the neural network with RELU activation comprises:
assigning AOI tags to each word in a plurality natural language sentences retrieved from a data repository of natural language sentences comprising a plurality of AOI scenarios;
inputting, iteratively, the assigned AOI tag associated with each word in the plurality of natural language sentences to the RELU neural network for training.
7. The method of claim 1, wherein the AOI tags comprise Begin AOI tag, Inside AOI tag, and Others tag.
8. The method of claim 7, wherein the assigning the AOI tags to each target word comprises:
assigning a Begin AOI tag to a word in the sentence marking the beginning of the AOI text;
assigning an Inside AOI tag to each word in the AOI text succeeding the word marking the beginning of the AOI text; and
assigning an Others tag to each remaining word in the sentence.
9. An Action of Interest (AOI) processing device for extracting AOI from natural language sentences, the AOI processing device comprising:
a processor; and
a memory communicatively coupled to the processor, wherein the memory stores processor instructions, which, on execution, causes the processor to:
create an input vector comprising a plurality of parameters for each target word in a sentence inputted by a user, wherein the plurality of parameters for each target word comprise a Part of Speech (POS) vector associated with the target word and at least two words preceding the target word, a word embedding for the target word, a word embedding for a head word of the target word in the dependency parse tree of the sentence, and a dependency label for the target word;
process for each target word the input vector through a trained neural network with Rectified Linear Units (RELU) activation, wherein the trained neural network with RELU activation is trained to identify words associated with AOI from a plurality of sentences;
assign AOI tags to each target word in the sentence based on processing of associated input vector through the trained neural network with RELU activation;
extract AOI text from the sentence based on the AOI tags associated with each target word in the sentence; and
provide a response to the sentence inputted by the user based on the AOI text extracted from the sentence.
10. The AOI processing device of claim 9, wherein the processor instructions further cause the processor to determine the plurality of parameters for each target word in the sentence inputted by the user.
11. The AOI processing device of claim 9, wherein the response comprises at least one of an answer to the query and an action corresponding to the query.
12. The AOI processing device of claim 9, wherein the dependency label for the target word indicates relation of the target word with the head word in the sentence.
13. The AOI processing device of claim 9, wherein the processor instructions further cause the processor to train the neural network with RELU activation to identify AOI tags for words within sentences.
14. The AOI processing device of claim 13, wherein to train the neural network with RELU activation, the processor instructions further cause the processor to:
assign AOI tags to each word in a plurality natural language sentences retrieved from a data repository of natural language sentences comprising a plurality of AOI scenarios;
iteratively input the assigned AOI tag associated with each word in the plurality of natural language sentences to the RELU neural network for training.
15. The AOI processing device of claim 9, wherein the AOI tags comprise Begin AOI tag, Inside AOI tag, and Others tag.
16. The AOI processing device of claim 15, wherein to assign the AOI tags to each target word, the processor instructions further cause the processor to:
assign a Begin AOI tag to a word in the sentence marking the beginning of the AOI text;
assign an Inside AOI tag to each word in the AOI text succeeding the word marking the beginning of the AOI text; and
assign an Others tag to each remaining word in the sentence.
Dated this 30th day of June, 2018
Swetha SN
Of K&S Partners
Agent for the Applicant
IN/PA-2123
, Description:TECHNICAL FIELD
This disclosure relates generally to processing natural language sentences and more particularly to method and device for extracting action of interest from natural language sentences.
| # | Name | Date |
|---|---|---|
| 1 | 201841024448-STATEMENT OF UNDERTAKING (FORM 3) [30-06-2018(online)].pdf | 2018-06-30 |
| 2 | 201841024448-REQUEST FOR EXAMINATION (FORM-18) [30-06-2018(online)].pdf | 2018-06-30 |
| 3 | 201841024448-POWER OF AUTHORITY [30-06-2018(online)].pdf | 2018-06-30 |
| 4 | 201841024448-FORM 18 [30-06-2018(online)].pdf | 2018-06-30 |
| 5 | 201841024448-FORM 1 [30-06-2018(online)].pdf | 2018-06-30 |
| 6 | 201841024448-DRAWINGS [30-06-2018(online)].pdf | 2018-06-30 |
| 7 | 201841024448-DECLARATION OF INVENTORSHIP (FORM 5) [30-06-2018(online)].pdf | 2018-06-30 |
| 8 | 201841024448-COMPLETE SPECIFICATION [30-06-2018(online)].pdf | 2018-06-30 |
| 9 | 201841024448-Request Letter-Correspondence [16-07-2018(online)].pdf | 2018-07-16 |
| 10 | 201841024448-Power of Attorney [16-07-2018(online)].pdf | 2018-07-16 |
| 11 | 201841024448-Form 1 (Submitted on date of filing) [16-07-2018(online)].pdf | 2018-07-16 |
| 12 | 201841024448-Proof of Right (MANDATORY) [17-09-2018(online)].pdf | 2018-09-17 |
| 13 | Correspondence by Agent_Form30,Form1_24-09-2018.pdf | 2018-09-24 |
| 14 | 201841024448-PETITION UNDER RULE 137 [13-05-2021(online)].pdf | 2021-05-13 |
| 15 | 201841024448-Information under section 8(2) [13-05-2021(online)].pdf | 2021-05-13 |
| 16 | 201841024448-Information under section 8(2) [13-05-2021(online)]-1.pdf | 2021-05-13 |
| 17 | 201841024448-FORM-26 [13-05-2021(online)].pdf | 2021-05-13 |
| 18 | 201841024448-FORM 3 [13-05-2021(online)].pdf | 2021-05-13 |
| 19 | 201841024448-FER_SER_REPLY [13-05-2021(online)].pdf | 2021-05-13 |
| 20 | 201841024448-FER.pdf | 2021-10-17 |
| 21 | 201841024448-PatentCertificate24-01-2024.pdf | 2024-01-24 |
| 22 | 201841024448-IntimationOfGrant24-01-2024.pdf | 2024-01-24 |
| 23 | 201841024448-PROOF OF ALTERATION [01-05-2024(online)].pdf | 2024-05-01 |
| 1 | 2020-12-1414-20-37E_14-12-2020.pdf |