In one embodiment, a method includes receiving text query that includes n-grams. A vector representation of each n-gram is determined using a deep-learning model. A nonlinear combination of the vector representations of the n-grams is determined, and an embedding of the text query is determined based on the nonlinear combination. The embedding of the text query corresponds to a point in an embedding space, and the embedding space includes a plurality of points corresponding to a plurality of label embeddings. Each label embedding is based on a vector representation of a respective label determined using the deep-learning model. Label embeddings are identified as being relevant to the text query by applying a search algorithm to the embedding space. Points corresponding to the identified label embeddings are within a threshold distance of the point corresponding to the embedding of the text query in the embedding space.
Please help me write a proper abstract based on the patent claims. CLAIM: 1. A method comprising: receiving, by one or more computing devices, a text query comprising one or more n-grams; determining, by one or more computing devices, a vector representation of each n-gram using a deep-learning model; determining, by one or more computing devices, a nonlinear combination of the vector representations of the n-grams; determining, by one or more computing devices, an embedding of the text query based on the nonlinear combination of the vector representations of the n-grams, wherein: the embedding of the text query corresponds to a point in an embedding space, the embedding space comprises a plurality of points corresponding to a plurality of label embeddings, and each label embedding is based on a vector representation of a respective label determined using the deep-learning model; and identifying, by one or more computing devices, one or more labels as relevant to the text query by applying a search algorithm to the embedding space, wherein points corresponding to one or more label embeddings of the identified labels are within a threshold distance of the point corresponding to the embedding of the text query in the embedding space. 2. The method of claim 1, wherein: the embedding space further comprises a plurality of points corresponding to a plurality of text embeddings; and each text embedding is based on a vector representation of respective text determined using the deep-learning model. 3. The method of claim 2, wherein the deep-learning model comprises: a first dictionary that maps text to respective vector representations; and a second dictionary that maps labels to respective vector representations. 4. The method of claim 3, wherein the first dictionary and the second dictionary are initialized using a random distribution. 5. The method of claim 4, wherein the random distribution is a Gaussian distribution. 6. The method of claim 2, wherein the deep-learning model is trained to reduce error between the vector representation of each text embedding and the vector representations of label embeddings of labels that are relevant to the respective text. 7. The method of claim 6, wherein the deep-learning model is trained to minimize error using similarity scores determined between each text embedding and one or more label embeddings. 8. The method of claim 7, wherein each similarity score is computed based on one or more angles between a vector representation of text associated with a text embedding and one or more vector representations of one or more labels associated with one or more label embeddings. 9. The method of claim 7, wherein the deep-learning model is further trained using a gradient descent technique. 10. The method of claim 1, wherein at least one of the labels comprises a hashtag. 11. The method of claim 1, wherein at least one of the labels comprises an ideogram. 12. The method of claim 1, further comprising sending, to the client system of the user, the one or more identified labels for display to the user. 13. The method of claim 1, wherein the vector representations comprise d-dimensional intensity vectors. 14. The method of claim 1, wherein the nonlinear combination of vector representations comprises a convolution. 15. The method of claim 1, wherein the deep-learning model is a convolutional neural network. 16. One or more computer-readable non-transitory storage media embodying software that is operable when executed to: receive a text query comprising one or more n-grams; determine a vector representation of each n-gram using a deep-learning model; determine a nonlinear combination of the vector representations of the n-grams; determine an embedding of the text query based on the nonlinear combination of the vector representations of the n-grams, wherein: the embedding of the text query corresponds to a point in an embedding space, the embedding space comprises a plurality of points corresponding to a plurality of label embeddings, and each label embedding is based on a vector representation of a respective label determined using the deep-learning model; and identify one or more labels as relevant to the text query by applying a search algorithm to the embedding space, wherein points corresponding to one or more label embeddings of the identified labels are within a threshold distance of the point corresponding to the embedding of the text query in the embedding space. 17. The media of claim 16, wherein: the embedding space further comprises a plurality of points corresponding to a plurality of text embeddings; and each text embedding is based on a vector representation of respective text determined using the deep-learning model. 18. The media of claim 16, wherein the deep-learning model comprises: a first dictionary that maps text to respective vector representations; and a second dictionary that maps labels to respective vector representations. 19. A system comprising: one or more processors; and a memory coupled to the processors comprising instructions executable by the processors, the processors operable when executing the instructions to: receive a text query comprising one or more n-grams; determine a vector representation of each n-gram using a deep-learning model; determine a nonlinear combination of the vector representations of the n-grams; determine an embedding of the text query based on the nonlinear combination of the vector representations of the n-grams, wherein: the embedding of the text query corresponds to a point in an embedding space, the embedding space comprises a plurality of points corresponding to a plurality of label embeddings, and each label embedding is based on a vector representation of a respective label determined using the deep-learning model; and identify one or more labels as relevant to the text query by applying a search algorithm to the embedding space, wherein points corresponding to one or more label embeddings of the identified labels are within a threshold distance of the point corresponding to the embedding of the text query in the embedding space. 20. The system of claim 19, wherein: the embedding space further comprises a plurality of points corresponding to a plurality of text embeddings; and each text embedding is based on a vector representation of respective text determined using the deep-learning model.