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

Claim 1:
2. The system of claim 1, wherein the computer executable code comprises an embedding module, an attention module, and a dependency tree module, and the embedding module, the attention module and the dependency tree module are configured to convert the sentence into the dependency tree graph by:
embedding, by the embedding module, the aspect term to obtain an aspect term embedding Xt;
converting, by the attention module, the aspect term embedding to aspect term feature α=softmax(σ(W2σ(W1XtT))) and Hα=αXt, 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 σ denotes tanh activation function, W1 and W2 are matrices pertaining to learnable weights;
embedding, by the embedding module, 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, by the dependency tree module, the sentence into a dependency tree; and
combining, by the dependency tree module, 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.