Patent ID: 11941360
Assignee: ADOBE INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 9:
10. An apparatus for natural language processing, comprising:
an input sequence encoder configured to encode a plurality of words from a prompt comprising an input sequence including a short form to obtain a first representation vector by computing a plurality of word embeddings corresponding to the plurality of words, respectively, and generating the first representation vector based on the plurality of word embeddings, and to encode the short form to obtain a second representation vector, wherein an input sequence representation is generated based on the first representation vector and the second representation vector using a neural network that is trained based on ground-truth long form data;
a long form encoder configured to encode each of a plurality of candidate long forms for the short form to produce a plurality of candidate long form representations, wherein each of the candidate long form representations is encoded based on a plurality of sample expressions that include a corresponding candidate long form;
a scoring component configured to compute a plurality of similarity scores for each of the candidate long forms based on the plurality of candidate long form representations, respectively, wherein the plurality of similarity scores include a first similarity score and a second similarity score, wherein the first similarity score is based on the plurality of word embeddings and at least one of the candidate long form representations, and wherein the second similarity score is based on the input sequence representation and the at least one of the candidate long form representations, and to compute a weighted sum of the first similarity score and the second similarity score; and
a long form selection component configured to generate a response to the prompt including a long form corresponding to the short form based on the weighted sum.