Initial push of tf-idf index generation code.