Automatic synonyms using word embedding and word similarity models
AssigneeTableau Software, Inc.
InventorsRyan Andrew Atallah, Qixiang Zhang
Life of this patent
Estimating the term…
Abstract
A computer device receives a user input to specify a natural language command. In response to receiving the user input, the computer device generates a semantic interpretation for the natural language command using a trained word similarity model, based on semantic annotations for a published data source. The computer device queries the published data source based on the semantic interpretation, thereby retrieving a dataset. The computer device generates and displays a data visualization based on the retrieved dataset.
Claims18
A method of processing natural language commands, comprising:
- receiving a user input to specify a natural language command;
- in response to receiving the user input, generating a semantic interpretation for the natural language command using a trained word similarity model, based on semantic annotations for a published data source, wherein the trained word similarity model is trained to identify similar words based on (i) a plurality of word embeddings corresponding to a set of words of a natural language and (ii) a synonym database;
- querying the published data source based on the semantic interpretation, thereby retrieving a dataset;
- and
- generating and displaying a data visualization based on the retrieved dataset.
A computer device for processing natural language commands, comprising:
- a display;
- one or more processors;
- and
- memory coupled to the one or more processors, the memory storing one or more programs configured to be executed by the one or more processors, the one or more programs including instructions for:
- receiving a user input to specify a natural language command;
- in response to receiving the user input, generating a semantic interpretation for the natural language command using a trained word similarity model, based on semantic annotations for a published data source;
- querying the published data source based on the semantic interpretation, thereby retrieving a dataset;
- generating and displaying a data visualization based on the retrieved dataset;
- detecting that a new data source has been published;
- and
- in response to detecting that the new data source has been published, generating semantic annotations for the new data source using the trained word similarity model, based on (i) a plurality of word embeddings corresponding to a set of words of a natural language and (ii) a synonym database.
A non-transitory computer-readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computer device having a display, cause the computer device to perform operations comprising:
- generating semantic annotations for a published data source using a trained word similarity model, based on (i) a plurality of word embeddings corresponding to a set of words of a natural language and (ii) a synonym database;
- receiving a user input to specify a natural language command;
- in response to receiving the user input, generating a semantic interpretation for the natural language command using the trained word similarity model, based on the semantic annotations for the published data source;
- querying the published data source based on the semantic interpretation, thereby retrieving a dataset;
- and
- generating and displaying a data visualization based on the retrieved dataset.
Dependencies are inferred from the claim text.