I am trying to develop a NLP model, which takes something like
you have high levels of cholesterol(this will be a tag) as input and has to output something like
you have high levels of cholesterol, you need to have a low-salt diet that emphasizes fruits, vegetables and whole grains; limit the amount of animal fats and use good fats in moderation(this will be the suggestion; and it is an example suggestion from doctor).
So, now when I was researching on how this could be accomplished I stumbled on this research paper and I learned about something called
paraphrase extraction from it and also that I need to build a parallel corpus with tag and suggestion.
I want to do this in Python. I couldn't find much information from internet on how paraphrase extraction can be done in Python, but there are many articles talking about paraphrase detection and things.
So, do we have any libraries in Python for this purpose (any kind of help is appreciated)?
How do I build a corpus for this same purpose?