Text this: Arm exoskeleton for rehabilitation following stroke by learning algorithm prediction