Figure 2
From: Exploiting question-answer framework with multi-GRU to detect adverse drug reaction on social media

The process of generating question-answering pair. The drug and symptom set are constructed and we automatically match corresponding drug(s) and symptom(s) in the preprocessed tweets. Finally, the QA pair is generated by the question-answering tem-plate.