Text this: Quantum measurement learning for medical image classification