Envoyer par SMS: Off-line writer recognition for Arabic handwritten text document based on beginning and ending stroke features