Document-level Relation Extraction as Semantic Segmentation