Text this: Machine learning applied to the diagnosis of neurodegenerative diseases based on medical images