Closed AbeHandler closed 2 years ago
If you run py -m src.bm25 there is some counter that loops 100K times. There seems to be something that should be hidden behind a if __name__ == '__main__' but is not
py -m src.bm25
if __name__ == '__main__'
This is the module that loops over the corpus, it reads a maximum of 1e5 lines. This is working as intended!
If you run
py -m src.bm25
there is some counter that loops 100K times. There seems to be something that should be hidden behind aif __name__ == '__main__'
but is not