Method and system for domain-optimized semantic tagging and task execution using task classification encoding
First Claim
1. A method for performing a task in a natural language processing (NLP) system, comprising:
- processing text to obtain a plurality of numerical encodings, wherein the text comprises a plurality of entities, wherein each of the plurality of numerical encodings is associated with one of the plurality of entities, and wherein the text is derived from an utterance;
populating a task list with each of the plurality of numerical encodings that have a length less than a pre-determined length;
populating a variable list with each of the plurality of numerical encodings that have a length greater than a pre-determined length;
selecting a numerical encoding from the task list, wherein the numerical encoding identifies a task in a domain-specific schema;
determining that the variable list does not include a variable value required to perform the task;
generating a sentence to obtain the variable value associated with a variable, wherein the variable is associated with a second numerical encoding, and wherein the second numerical encoding includes the numerical encoding;
transmitting the sentence to a user device;
in response to the transmitting, receiving the variable value for the variable in response to the dialogue sentence; and
performing the task using the variable value.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and system for performing a task in a natural language processing system. The method includes processing text to obtain a numerical encoding, where the text includes a number of entities, where at least one of the entities is tagged with the numerical encoding, and where the text is derived from an utterance. The method further includes determining that the numerical encoding identifies a task, determining a variable required to complete the task using the numerical encoding, and generating a first dialogue sentence to obtain a variable value for the variable, where the variable is associated with a second numerical encoding, where the second numerical encoding includes the numerical encoding. The method further includes transmitting the first dialogue sentence to a user device, receiving the variable value for the variable in response to the first dialogue sentence, and performing the task using the variable value.
9 Citations
9 Claims
-
1. A method for performing a task in a natural language processing (NLP) system, comprising:
-
processing text to obtain a plurality of numerical encodings, wherein the text comprises a plurality of entities, wherein each of the plurality of numerical encodings is associated with one of the plurality of entities, and wherein the text is derived from an utterance; populating a task list with each of the plurality of numerical encodings that have a length less than a pre-determined length; populating a variable list with each of the plurality of numerical encodings that have a length greater than a pre-determined length; selecting a numerical encoding from the task list, wherein the numerical encoding identifies a task in a domain-specific schema; determining that the variable list does not include a variable value required to perform the task; generating a sentence to obtain the variable value associated with a variable, wherein the variable is associated with a second numerical encoding, and wherein the second numerical encoding includes the numerical encoding; transmitting the sentence to a user device; in response to the transmitting, receiving the variable value for the variable in response to the dialogue sentence; and performing the task using the variable value. - View Dependent Claims (2, 3, 4)
-
-
5. A method for performing tasks in a natural language processing (NLP) system, comprising:
-
processing text to obtain a plurality of numerical encodings, wherein the text comprises a plurality of entities, wherein each of the plurality of numerical encodings is associated with one of the plurality of entities, and wherein the text is derived from an utterance; populating a task list with each of the plurality of numerical encodings that have a length less than a pre-determined length; populating a variable list with each of the plurality of numerical encodings that have a length greater than a pre-determined length; selecting a numerical encoding from the task list, wherein the numerical encoding identifies a sub-task in a domain-specific schema; determining a task associated with the sub-task using the numerical encoding, wherein the task is associated with a second numerical encoding and wherein the numerical encoding includes the second numerical encoding; determining a second sub-task associated with the task, wherein the second sub-task is associated with a third numerical encoding and wherein the third numerical encoding includes the second numerical encoding; and performing the sub-task and the second sub-task. - View Dependent Claims (6, 7, 8, 9)
-
Specification