Enhanced entity recognition services for classifying user intents
Certain aspects of the disclosure provide a method performing entity recognition to classify user inputs for resolving user intent. In aspects, the method includes receiving user input comprising a text string associated, the user input associated with a web-based application; generating a transformed text string by applying a set of rule-based alterations to the user input; parsing the transformed text string to identify a set of tokens; identifying one or more prioritized tokens from the set of tokens; sequentially executing a set of ordered binary classification tests for each of the one or more prioritized tokens until a true indication associated with a sequential binary classification test of the set of ordered binary classification tests is received; and sending a classification for the user input to a domain service associated with a content service of the web-based application.
1 . A method for performing entity recognition to classify user inputs for resolving user intent, the method comprising:
receiving user input comprising a text string, wherein the user input is associated with a web-based application;
generating a set of transformed text strings by applying a set of rule-based alterations to the user input;
parsing a selected transformed text string from the set of transformed text strings to identify a set of tokens;
identifying one or more prioritized tokens from the set of tokens, the one or more prioritized tokens associated with one or more prioritized categories;
identifying one or more non-prioritized tokens from the set of tokens, the one or more non-prioritized tokens associated with one or more non-prioritized categories;
sequentially executing a set of ordered binary classification tests for each of the one or more prioritized tokens until a true indication associated with a sequential binary classification test of the set of ordered binary classification tests is received, wherein sequentially executing t e set of ordered binary classification tests further comprises implementing a classification algorithm configured to leverage data of a taxonomy to determine a classification for the user input; and
sending, based on the true indication for the sequential binary classification test, the classification for the user input to a domain service associated with a content service of the web-based application.
2 . The method of claim 1 , further comprising sending metadata to the domain service, wherein the metadata is associated with one or more of the classification for the user input, a binary classification test identifier, a language for the user input, and entity information corresponding to the user input.
3 . The method of claim 2 , wherein the entity information corresponding to the user input comprises remediating information for fixing an error associated with the user input.
4 . The method of claim 1 , wherein generating the set of transformed text strings further comprises:
generating a first transformed text string by removing punctuation in the text string;
generating a second transformed text string by expanding acronyms and abbreviations in the first transformed text string; and
generating a third transformed text string by removing spaces between words in the second transformed text string.
5 . The method of claim 1 , further comprising:
determining a language of the selected transformed text string; and
parsing the selected transformed text string to categorize the set of tokens based on the determined language,
wherein the set of ordered binary classification tests are ordered based on the determined language of the selected transformed text string.
6 . The method of claim 5 , wherein:
sequentially executing the set of the ordered binary classification tests further comprises using the classification algorithm for leveraging one or more datasets of the taxonomy, the taxonomy based on domain data, linguistic data, classification outputs, and behaviors, and
the classification algorithm and the one or more datasets each correspond to the determined language of the selected transformed text string.
7 . The method of claim 1 , further comprising:
logging a dataset comprising data associated with one or more of the user input, the selected transformed text string, the classification, and metadata associated with the classification;
categorizing the data of the dataset; and
sending the logged and categorized data of the dataset to a storage component.
8 . The method of claim 1 , further comprising:
updating the taxonomy by iteratively syncing, at predetermined intervals, the taxonomy with taxonomy data of an accessible binary large object storage,
wherein the accessible binary large object storage is configured to sync with a graph database associated with a taxonomy management tool.
9 . The method of claim 1 , wherein the set of ordered binary classification tests comprises tests for categorizing one or more of job titles, skills, and employers.
10 . A processing system, comprising:
one or more memories comprising computer-executable instructions; and
one or more processors configured to execute the computer-executable instructions causing the processing system to:
receive user input comprising a text string, wherein the user input is associated with a web-based application;
generate a set of transformed text strings by applying a set of rule-based alterations to the user input;
parse a selected transformed text string from the set of transformed text strings to identify a set of tokens;
identify one or more prioritized tokens from the set of tokens, the one or more prioritized tokens being associated with one or more prioritized categories;
identify one or more non-prioritized tokens from the set of tokens, the one or more non-prioritized tokens associated with one or more non-prioritized categories;
sequentially execute a set of ordered binary classification tests for each of the one or more prioritized tokens until a true indication associated with a sequential binary classification test of the set of ordered binary classification tests is received, wherein to sequentially execute the set of ordered binary classification tests the one or more processors are further configured to cause the processing system to implement a classification algorithm configured to leverage data of a taxonomy to determine a classification for the user input; and
send, based on the true indication for the sequential binary classification test, the classification for the user input to a domain service associated with a content service of the web-based application.
11 . The processing system of claim 10 , wherein the one or more processors are further configured to cause the processing system to:
update the taxonomy by iteratively syncing, at predetermined intervals, the taxonomy with taxonomy data of an accessible binary large object storage,
wherein the accessible binary large object storage is configured to sync with a graph database associated with a taxonomy management tool.
12 . The processing system of claim 10 , wherein the one or more processors are further configured to cause the processing system to send metadata to the domain service, wherein the metadata is associated with one or more of the classification for the user input, a binary classification test identifier, a language for the user input, and entity information corresponding to the user input.
13 . The processing system of claim 12 , wherein the entity information corresponding to the user input comprises remediating information for fixing an error associated with the user input.
14 . The processing system of claim 10 , wherein to generate the set of transformed text strings, the one or more processors are further configured to cause the processing system to:
generate a first transformed text string by removing punctuation in the text string;
generate a second transformed text string by expanding acronyms and abbreviations in the first transformed text string; and
generate a third transformed text string by removing spaces between words in the second transformed text string.
15 . The processing system of claim 10 , wherein the one or more processors are further configured to cause the processing system to:
determine a language of the selected transformed text string; and
parse the selected transformed text string to categorize the set of tokens based on the determined language,
wherein the set of ordered binary classification tests are ordered based on the determined language of the selected transformed text string.
16 . The processing system of claim 15 , wherein:
to sequentially execute the set of the ordered binary classification tests, the one or more processors are further configured to use the classification algorithm for leveraging one or more datasets of the taxonomy, the taxonomy based on domain data, linguistic data, classification outputs, and behaviors, and
the classification algorithm and the one or more datasets each correspond to the determined language of the selected transformed text string.
17 . The processing system of claim 10 , wherein the one or more processors are further configured to cause the processing system to:
log a dataset comprising data associated with one or more of the user input, the selected transformed text string, the classification, and metadata associated with the classification;
categorize the data of the dataset; and
send the logged and categorized data of the dataset to a storage component.
18 . The processing system of claim 10 , wherein the set of ordered binary classification tests comprises tests for categorizing one or more of job titles, skills, and employers.
19 . A method for performing entity recognition to classify user inputs for resolving user intent, the method comprising:
receiving user input comprising a text string wherein the user input is associated with a web-based application;
generating a set of transformed text strings by applying a set of rule-based alterations to the user input;
determining a language of a selected transformed text string from the set of transformed text strings;
parsing the selected transformed text string from the set of transformed text strings to identify and categorize a set of tokens based on the determined language;
identifying one or more prioritized tokens from the set of tokens, the one or more prioritized tokens associated with one or more prioritized categories;
identifying one or more non-prioritized tokens from the set of tokens, the one or more non-prioritized tokens associated with one or more non-prioritized categories;
sequentially executing a set of ordered binary classification tests for each of the one or more prioritized tokens until a true indication associated with a sequential binary classification test of the set of ordered binary classification tests is received, wherein the set of ordered binary classification tests are ordered based on the determined language of the selected transformed text string; and
sending, based on the true indication for the sequential binary classification test, a classification for the user input to a domain service associated with a content service of the web-based application.
20 . The method of claim 19 , further comprising:
logging a dataset comprising data associated with one or more of the user input, the selected transformed text string, the classification, and metadata associated with the classification;
categorizing the data of the dataset; and
sending the logged and categorized data of the dataset to a storage component.