sgnlp.models.lsr.utils.join_document

join_document(json_instance)[source]

Returns the document as a single string.

json_instance: A JSON instance from DocRED dataset