Text this: Image Segmentation Integrating Generative and Discriminative Methods