An analysis of text-based machine learning models for vulnerability detection