Text this: A Topological Approach to Enhancing Consistency in Machine Learning via Recurrent Neural Networks