Text this: Learning classication methods and applications to medical images