Text this: Semantic-guided attention and adaptive gating for document-level relation extraction