Patent Document ID: 10129400
Application ID: 15367809

Base Claim:
1. A language processor comprising: a parser implemented by a hardware processor, the parser configured to: parse a spoken statement to detect a plurality of words in the spoken statement; and generate a parse tree based on the detected plurality of words, the parse tree identifies at least one of a clause, phrase, subject, verb, and object in the spoken statement: an invoker implemented by the hardware processor, the invoker configured to: determine, based on the parse tree, a plurality of potential services to invoke to respond to the spoken statement by comparing the at least one clause, phrase, subject, verb, and object to a stored ontology to extract a concept from the parse tree: calculate a confidence score for each potential service of the plurality of potential services by determining a shortest distance between a first node and a second node for each potential service, the first node representing the plurality of words, the second node representing that potential service, wherein each confidence score indicates a likelihood that a potential service is a service requested by the spoken statement; receive, for each potential service of the plurality of potential services, a parameter used during execution of that potential service; update the confidence score for each potential service of the plurality of potential services based on a determination of whether the spoken statement includes a value for the parameter used during execution of that potential service so as to reduce a number of questions that a caller associated with the spoken statement answers before the language processor determines a service to invoke to respond to the caller; issue a command to invoke a potential service of the plurality of potential services with confidence score based on the shortest distance; and a transmitter configured to: communicate an audible question in response to a determination that two or more potential services of the plurality of potential services have equivalent confidence scores; and communicate an audible request for a value of a received parameter.

---

Claim 2:
2. The language processor of claim 1 , wherein calculating the confidence score for each potential service comprises comparing the parse tree against a plurality of parse trees.