CPC G06F 16/24578 (2019.01) [G06F 16/9532 (2019.01); G06F 16/9538 (2019.01)] | 20 Claims |
1. A method of generating an enriched query for a user of an electronic device, the method being executed by at least one server communicatively coupled to the electronic device, the at least one server hosting a search engine, the method comprising:
acquiring, by the at least one server, an indication of a user query from the electronic device, the user query associated with query data;
generating, by the at least one server employing a first machine learning algorithm, a first candidate string and a second candidate string based on the query data, the first candidate string and the second candidate string being respective candidates for the enriched query;
determining, by the at least one server, and by inputting the first candidate string and the second candidate string into a second machine learning algorithm, that the first candidate string and the second candidate string are a pair of similar candidate strings, wherein the second machine learning algorithm was trained to predict a likelihood that a first string is similar to a second string, and wherein the second machine learning algorithm was trained in a pair-wise configuration based on a training set,
the training set including a first training string representative of a first training query, a second training string representative of a second training query, and a label,
the label being indicative of a similarity between the first training string with the second training string, the label having been determined based on a comparison of a first training document relevant to the first training query against a second training document relevant to the second training query; and
causing, by the at least one server, display of only one of the pair of similar candidate strings as the enriched query on the electronic device.
|