Fig. 1: Overview of the text generation procedure.
From: Generation and evaluation of artificial mental health records for Natural Language Processing

Key phrases are extracted from paragraphs in the original data (genuine paragraph), and combined with clinical information (ICD-10 diagnosis code, gender and age). This is used in our text generation model, producing an artificial paragraph.