Method and apparatus for using directed reasoning to respond to natural language queries
First Claim
1. A computer implemented method for responding to a natural language sentence in which:
- the terms;
“
reasoning”
is;
using a first concept in a natural language sentence to identify a second concept by creating a continuous chain of logic from the first concept to the second concept; and
“
directed reasoning”
is;
applying reasoning to a first concept in a natural language sentence to identify a second concept, wherein only reasoning related to the natural language sentence is allowed,the method comprising the steps of;
receiving, in a computer, at least one input concept, wherein the at least one input concept is generated from parsing an initial natural language sentence;
searching a knowledge base comprising a plurality of natural language sentences using the at least one input concept to retrieve at least one response concept from the knowledge base, the searching step further comprising the step of resolving one or more contextual referents occurring in a natural language sentence of the plurality, wherein each of the one or more contextual referents is a word within the natural language sentence, the word referring to a previously parsed word or a phrase in the natural language sentence or another natural language sentence of the plurality;
performing directed reasoning on both the at least one input concept and the at least one response concept to select at least one selected response concept by connecting the at least one response concept to the at least one input concept through a continuous chain of logic based on at least one of inductive reasoning, deductive reasoning or abductive reasoning;
andgenerating at least one response sentence containing the at least one selected response concept.
0 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus are presented for using directed reasoning to provide natural language responses to questions and commands in natural language. The directed reasoning process uses concepts in the natural language sentence to identify relevant response concepts in a knowledge base, by creating a continuous chain of logic from the input concept to the response concept and limiting the creation of the logic chains to only those consistent with the context of the natural language sentence and information in the knowledge base. The invention allows the identification of relevant concepts that elude traditional concept searching based on pattern matching, while focusing computational resources on only those logic calculations relevant to the natural language sentence and knowledge base. The invention will automatically identify the relevant source documents to use and create a knowledge base during run time, without requiring preprogrammed ontologies or knowledge bases.
61 Citations
24 Claims
-
1. A computer implemented method for responding to a natural language sentence in which:
-
the terms; “
reasoning”
is;
using a first concept in a natural language sentence to identify a second concept by creating a continuous chain of logic from the first concept to the second concept; and“
directed reasoning”
is;
applying reasoning to a first concept in a natural language sentence to identify a second concept, wherein only reasoning related to the natural language sentence is allowed,the method comprising the steps of; receiving, in a computer, at least one input concept, wherein the at least one input concept is generated from parsing an initial natural language sentence; searching a knowledge base comprising a plurality of natural language sentences using the at least one input concept to retrieve at least one response concept from the knowledge base, the searching step further comprising the step of resolving one or more contextual referents occurring in a natural language sentence of the plurality, wherein each of the one or more contextual referents is a word within the natural language sentence, the word referring to a previously parsed word or a phrase in the natural language sentence or another natural language sentence of the plurality; performing directed reasoning on both the at least one input concept and the at least one response concept to select at least one selected response concept by connecting the at least one response concept to the at least one input concept through a continuous chain of logic based on at least one of inductive reasoning, deductive reasoning or abductive reasoning; and generating at least one response sentence containing the at least one selected response concept. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A computer implemented data processing system for responding to a natural language sentence, comprising:
-
a server computer having computer readable program code means, the computer readable program code means further comprising; means for obtaining at least one input concept, wherein the at least one input concept is generated from parsing an initial natural language sentence; means for searching a knowledge base using the at least one input concept to retrieve at least one response concept from the knowledge base, and resolving a contextual referent occurring in a natural language sentence of the knowledge base by categorizing the contextual referent into a category and substituting a reference for the most recent occurrence in the category that does not create a contradiction or violate constraints in the knowledge base; means for performing directed reasoning on the at least one input concept and the at least one response concept and selecting at least one of the response concept by connecting the response concept to the input concept through a continuous chain of logic based on at least one of inductive reasoning, deductive reasoning or abductive reasoning; and means for generating at least one response sentence containing the at least one selected concept. - View Dependent Claims (13, 14, 15, 16)
-
-
17. A computer-implemented method of responding to a natural language sentence, comprising:
-
parsing an initial natural language sentence to obtain at least one search term; searching, on a computer, an information source using the at least one search term and retrieving at least one pre-existing natural language text relating to the search term; reading the at least one pre-existing natural language text and storing the at least one pre-existing natural language text in a knowledge base, the reading step including the step of applying directed reasoning to resolve one or more contextual referents within the at least one pre-existing natural language text, wherein each of the one or more contextual referents is a word that refers to a previously parsed word or a previously parsed phrase in the at least one pre-existing natural language text; constructing at least one new natural language text from the at least one preexisting natural language text; generating at least one response derived from the at least one new natural language text. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24)
-
Specification