Server and method for classifying entities of a query
AssigneeMicrosoft Technology Licensing, LLC
InventorKaheer SULEMAN
Life of this patent
Estimating the term…
Abstract
A server, method, and non-transitory computer readable medium for ranking a plurality of data sources are provided. The server includes a network interface, a memory storage unit and a processor. The method involves receiving an input query, identifying entities of the input query using conditional random fields, generating a normalized query and applying a support vector machine to the normalized query. The non-transitory computer readable medium is encoded with programming instructions to direct a processor to carry out the method.
Claims21
-33. (canceled)
A server for generating an output command by classifying entities of an input query, the server comprising:
- a network interface for receiving the input query;
- a memory storage unit for storing the input query and for storing programming instructions;
- and
- a processor in communication with the network interface and the memory storage unit, the programming instructions when executed by the processor configured to cause the server to:
- identify a first entity and a second entity in the input query using a natural language processing model, wherein the first entity and the second entity are distinct entities within a same entity type;
- generate a normalized query by replacing the first entity of the input query with a first generic identifier representing the same entity type and replacing the second entity of the input query with a second generic identifier representing the same entity type, wherein the first generic identifier and the second generic identifier are the same;
- determine, using a machine learning model on the normalized query including the first generic identifier and the second generic identifier, a first sub-entity type of the same entity type for the first entity and a second sub-entity type of the same entity type for the second entity, wherein the first sub-entity type and the second sub-entity type are distinct sub-entity types within the same entity type;
- and
- generate the output command in response to the input query, wherein the output command is generated based on at least the first entity belonging to the first sub-entity type and the second entity belonging to the second sub-entity type.
A method of generating an output command by classifying entities of an input query, the method comprising:
- receiving the input query;
- identifying a first entity and a second entity in the input query using a natural language processing model, wherein the first entity and the second entity are distinct entities within a same entity type;
- generating a normalized query by replacing the first entity of the input query with a first generic identifier representing the same entity type and replacing the second entity of the input query with a second generic identifier representing the same entity type, wherein the first generic identifier and the second generic identifier are the same;
- determining, using a machine learning model on the normalized query including the first generic identifier and the second generic identifier, a first sub-entity type of the same entity type for the first entity and a second sub-entity type of the same entity type for the second entity, wherein the first sub-entity type and the second sub-entity type are distinct sub-entity types within the same entity type;
- and
- generating the output command in response to the input query, wherein the output command is generated based on at least the first entity belonging to the first sub-entity type and the second entity belonging to the second sub-entity type.
A non-transitory computer readable medium encoded with programming instructions for generating an output command by classifying entities of an input query, the programming instructions directing a processor to:
- receive the input query;
- identify a first entity and a second entity in the input query using a natural language processing model, wherein the first entity and the second entity are distinct entities within a same entity type;
- generate a normalized query by replacing the first entity of the input query with a first generic identifier representing the same entity type and replacing the second entity of the input query with a second generic identifier representing the same entity type, wherein the first generic identifier and the second generic identifier are the same;
- determine, using a machine learning model on the normalized query including the first generic identifier and the second generic identifier, a first sub-entity type of the same entity type for the first entity and a second sub-entity type of the same entity type for the second entity, wherein the first sub-entity type and the second sub-entity type are distinct sub-entity types within the same entity type;
- and
- generate the output command in response to the input query, wherein the output command is generated based on at least the first entity belonging to the first sub-entity type and the second entity belonging to the second sub-entity type.
Dependencies are inferred from the claim text.