Отправить по sms: Learning Algorithm for the Recursive Pattern Recognition Model