Text this: Analysis of plastics