Text this: Neuromorphic algorithms for brain implants: a review