My code obtains certain paragraphs from a textbook. I would like the code to spit out several versions of this paragraph using some sort of paraphrasing tool, automatically. The code is written mostly in Python, but also uses Js (and Ts) for certain aspects.
I tried implementing several completed models, including; (python) Pytorch, parrot, scpn, and others, but it quickly became too complicated for me. Can someone help me write a better way, or help me use an already made model? Thank you <3
Paraphrasing isn't an easy task. You'd need to check what can be removed from a paragraph and still make sense. You'd need an algorithm which understands English to be able to remove what is unnecessary.
Considering you mentioned that you're on python, you could always try parrot