Patent ID: 11868730
Assignee: JD FINANCE AMERICA CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 10:
11. The method of claim 10, wherein the step of converting the sentence into the dependency tree graph comprises:
embedding the aspect term to obtain an aspect term embedding Xt;
converting the aspect term embedding to aspect term feature Hα by: α=softmax(σ(W2σ(W1XtT))) (1) and Hα=αXt (2), wherein α∈1×m, Hα∈1×d, m is a positive integer indicating a number of embedding tokens of the aspect term, d is a positive integer indicating dimensions of aspect term embedding, XtT is the transposition of Xt, and a denotes tanh activation function, W1 and W2 are matrices pertaining to learnable weights;
embedding the context to obtain context embeddings XC, each of the context embeddings corresponding to a word or a punctuation in the sentence that are not the aspect term;
parsing the sentence into a dependency tree; and
combining the aspect term feature Hα, the context embeddings XC, and the dependency tree into the dependency tree graph, wherein each node of the dependency tree graph has a feature corresponding to one of the aspect term embedding and the context embeddings.