Inspired by the algorithm, we incorporate CNNs that imitate the CKY table into the attention mechanism of ANMT.
the proposed attention constructs CNNs in the same order as the calculation procedures in the CKY table, and then ANMT decodes a target sentence by referring to each state of the hidden layers of CNNs, which corresponds to each cell in the CKY table.