Text this: Quality assurance of pharmaceuticals