Information_Retrieval Python codes for information retrieval change the path of the file to read and you can use the code directly my doc is in the location of my corpus where doc1, doc2 are my filenames