My own approach to a lightweight information retrieval library written in python