Text this: Analysis of the electrical activity of the brain