automatic arabic character shape determinator