Information-retrieval Inverted index in python For both type of collections there are two programs. index_funtions.py is written by the use of functions index.py is written without the use of functions There is also one text file of Stopwords for both type of collections. For english inverted index I used the Porter2Stemmer for stemming.