Text this: PREDICT: a method for inferring novel drug indications with application to personalized medicine