Text this: Leveraging synergies between refining and petrochemical processes