Text this: A graphical method of detecting pneumonia using chest radiograph