Text this: Driving photochemistry by clustering