Unsupervised Natural Language Processing Algorithm