light-scores


License
MIT
Install
pip install light-scores==0.1.2

Documentation

light_scores

[tests]pythonCode style: blackLicense: MITPyPI version

Calculate bm25 matrix of two lists

Usage

from light_scores.light_scores import light_scores

res = await light_scores("test me")
print(res)
# '考我 试探我 测试我 试探'

print(await light_scores("test me", to_lang="de"))