NLTK was initially developed within the Department of Computer and Information Science at the University of Pennsylvania by Steven Bird, a faculty member, and Edward Loper, then a doctoral student, with the primary goal of providing software infrastructure for teaching Natural Language Processing.