Envoyer par SMS: Learning Algorithm for the Recursive Pattern Recognition Model