dorianbrown / rank_bm25

A Collection of BM25 Algorithms in Python
Apache License 2.0
983 stars 83 forks source link

Save corpus,deffirent result.Why thit happen? #15

Closed nocoolsandwich closed 3 years ago

nocoolsandwich commented 3 years ago

i train a model and restart the console get the second result. first try image

second try image

nocoolsandwich commented 3 years ago

now know what this happen,the corpus's sequence change after i use set() function to my corpus. And i use sort which has same value make the rank ambiguous