Method and device for extracting causal from natural language sentences for intelligent systems
First Claim
1. A method for extracting causal from natural language sentences, the method comprising:
- determining, by a computing device, a plurality of parameters for each target word in a sentence inputted by a user wherein the plurality of parameters for a target word comprise a Part of Speech (POS) vector associated with the target word comprising a POS tag for the target word and a POS tag for 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, and a dependency label for the target word;
processing for each target word, by the computing device, an input vector comprising the plurality of parameters for a causal classifier neural network;
identifying, by the computing device, causal tags associated with each target word in the sentence based on processing of associated input vector;
extracting, by the computing device, the causal text from the sentence based on the causal tags associated with each target word in the sentence; and
providing, by the computing device, a response to the sentence inputted by the user based on the causal text extracted for the sentence.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and device for extracting causal from natural language sentences is disclosed. The method includes determining, by a computing device, a plurality of parameters for each target word in a sentence inputted by a user. The method further includes processing for each target word, by the computing device, an input vector comprising the plurality of parameters for a causal classifier neural network. The method includes identifying, by the computing device, causal tags associated with each target word in the sentence based on processing of associated input vector. The method includes extracting, by the computing device, the causal text from the sentence based on the causal tags associated with each target word in the sentence. The method further includes providing, by the computing device, a response to the sentence inputted by the user based on the causal text extracted for the sentence.
6 Citations
16 Claims
-
1. A method for extracting causal from natural language sentences, the method comprising:
-
determining, by a computing device, a plurality of parameters for each target word in a sentence inputted by a user wherein the plurality of parameters for a target word comprise a Part of Speech (POS) vector associated with the target word comprising a POS tag for the target word and a POS tag for 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, and a dependency label for the target word; processing for each target word, by the computing device, an input vector comprising the plurality of parameters for a causal classifier neural network; identifying, by the computing device, causal tags associated with each target word in the sentence based on processing of associated input vector; extracting, by the computing device, the causal text from the sentence based on the causal tags associated with each target word in the sentence; and providing, by the computing device, a response to the sentence inputted by the user based on the causal text extracted for the sentence. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computing device for extracting causal from natural language sentences, the 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; determine a plurality of parameters for each target word in a sentence inputted by a user wherein the plurality of parameters for a target word comprise a Part of Speech (POS) vector associated with the target word comprising a POS tag for the target word and a POS tag for 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, and a dependency label for the target word; process for each target word an input vector comprising the plurality of parameters for a causal classifier neural network; identify causal tags associated with each target word in the sentence based on processing of associated input vector; extract the causal text from the sentence based on the causal tags associated with each target word in the sentence; and provide a response to the sentence inputted by the user based on the causal text extracted for the sentence. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A non-transitory computer-readable storage medium having stored thereon, a set of computer-executable instructions causing a computer comprising one or more processors to perform steps comprising:
-
determining a plurality of parameters for each target word in a sentence inputted by a user wherein the plurality of parameters for a target word comprise a Part of Speech (POS) vector associated with the target word comprising a POS tag for the target word and a POS tag for 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, and a dependency label for the target word; processing for each target word an input vector comprising the plurality of parameters for a causal classifier neural network; identifying causal tags associated with each target word in the sentence based on processing of associated input vector; extracting the causal text from the sentence based on the causal tags associated with each target word in the sentence; and providing a response to the sentence inputted by the user based on the causal text extracted for the sentence.
-
Specification