Text this: EEG-based functional connectivity analysis for cognitive impairment classification