lsh:文本文档的位置敏感哈希的纯python实现

时间:2024-05-20 07:34:18
【文件属性】:

文件名称:lsh:文本文档的位置敏感哈希的纯python实现

文件大小:5KB

文件格式:ZIP

更新时间:2024-05-20 07:34:18

Python

sh 一个纯python局部敏感哈希实现 安装 lsh与setuptools打包在一起,因此可以通过pip轻松安装,如下所示: $ cd lsh/ $ [sudo] pip install -e . 用法 from lsh import LSHCache cache = LSHCache () docs = [ "lipstick on a pig" , "you can put lipstick on a pig" , "you can put lipstick on a pig but it's still a pig" , "you can put lipstick on a pig it's still a pig" , "i think they put some lipstick on a pig but it's still a pig


【文件预览】:
lsh-master
----lsh()
--------__init__.py(7KB)
--------examples()
----setup.py(402B)
----LICENSE.md(1KB)
----.gitignore(46B)
----README.md(935B)

网友评论