We use the attention model  to this end.
the base score features h L t /h R t and the bias score features h L e /h R s are combined in the calculation where and Here σ denotes the sigmoid activation function and ⊕ denotes vector concatenation.