Text this: Contributions to statistical machine learning algorithm