bmp 0.2__tar.gz → 0.2.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bmp-0.2 → bmp-0.2.3}/Cargo.lock +1 -1
- {bmp-0.2 → bmp-0.2.3}/Cargo.toml +1 -1
- {bmp-0.2 → bmp-0.2.3}/PKG-INFO +25 -2
- bmp-0.2.3/pyproject.toml +59 -0
- {bmp-0.2 → bmp-0.2.3}/python/bmp/pyterrier.py +1 -1
- bmp-0.2/pyproject.toml +0 -27
- {bmp-0.2 → bmp-0.2.3}/.cargo/config.toml +0 -0
- {bmp-0.2 → bmp-0.2.3}/Output.txt +0 -0
- {bmp-0.2 → bmp-0.2.3}/README.md +0 -0
- {bmp-0.2 → bmp-0.2.3}/local_dependencies/bmp/.cargo/config.toml +0 -0
- {bmp-0.2 → bmp-0.2.3}/local_dependencies/bmp/.github/workflows/publish-to-pypi.yml +0 -0
- {bmp-0.2 → bmp-0.2.3}/local_dependencies/bmp/.github/workflows/rust.yml +0 -0
- {bmp-0.2 → bmp-0.2.3}/local_dependencies/bmp/.gitignore +0 -0
- {bmp-0.2 → bmp-0.2.3}/local_dependencies/bmp/Cargo.toml +0 -0
- {bmp-0.2 → bmp-0.2.3}/local_dependencies/bmp/LICENSE +0 -0
- {bmp-0.2 → bmp-0.2.3}/local_dependencies/bmp/README.md +0 -0
- {bmp-0.2 → bmp-0.2.3}/local_dependencies/bmp/bin/ciff2bmp.rs +0 -0
- {bmp-0.2 → bmp-0.2.3}/local_dependencies/bmp/bin/search.rs +0 -0
- {bmp-0.2 → bmp-0.2.3}/local_dependencies/bmp/build.rs +0 -0
- /bmp-0.2/local_dependencies/bmp/dist/bmp-0.2.tar.gz → /bmp-0.2.3/local_dependencies/bmp/dist/bmp-0.2.3.tar.gz +0 -0
- {bmp-0.2 → bmp-0.2.3}/local_dependencies/bmp/img/logo.jpg +0 -0
- {bmp-0.2 → bmp-0.2.3}/local_dependencies/bmp/img/plus.png +0 -0
- {bmp-0.2 → bmp-0.2.3}/local_dependencies/bmp/img/python.png +0 -0
- {bmp-0.2 → bmp-0.2.3}/local_dependencies/bmp/proto/common-index-format-v1.proto +0 -0
- {bmp-0.2 → bmp-0.2.3}/local_dependencies/bmp/rust-toolchain.toml +0 -0
- {bmp-0.2 → bmp-0.2.3}/local_dependencies/bmp/src/ciff/mod.rs +0 -0
- {bmp-0.2 → bmp-0.2.3}/local_dependencies/bmp/src/index/forward_index.rs +0 -0
- {bmp-0.2 → bmp-0.2.3}/local_dependencies/bmp/src/index/inverted_index.rs +0 -0
- {bmp-0.2 → bmp-0.2.3}/local_dependencies/bmp/src/index/mod.rs +0 -0
- {bmp-0.2 → bmp-0.2.3}/local_dependencies/bmp/src/index/posting_list.rs +0 -0
- {bmp-0.2 → bmp-0.2.3}/local_dependencies/bmp/src/lib.rs +0 -0
- {bmp-0.2 → bmp-0.2.3}/local_dependencies/bmp/src/proto/common_index_format_v1.rs +0 -0
- {bmp-0.2 → bmp-0.2.3}/local_dependencies/bmp/src/proto/mod.rs +0 -0
- {bmp-0.2 → bmp-0.2.3}/local_dependencies/bmp/src/query/cursor.rs +0 -0
- {bmp-0.2 → bmp-0.2.3}/local_dependencies/bmp/src/query/live_block.rs +0 -0
- {bmp-0.2 → bmp-0.2.3}/local_dependencies/bmp/src/query/mod.rs +0 -0
- {bmp-0.2 → bmp-0.2.3}/local_dependencies/bmp/src/query/topk_heap.rs +0 -0
- {bmp-0.2 → bmp-0.2.3}/local_dependencies/bmp/src/search.rs +0 -0
- {bmp-0.2 → bmp-0.2.3}/local_dependencies/bmp/src/util.rs +0 -0
- {bmp-0.2 → bmp-0.2.3}/python/bmp/__init__.py +0 -0
- {bmp-0.2 → bmp-0.2.3}/src/lib.rs +0 -0
{bmp-0.2 → bmp-0.2.3}/Cargo.lock
RENAMED
{bmp-0.2 → bmp-0.2.3}/Cargo.toml
RENAMED
{bmp-0.2 → bmp-0.2.3}/PKG-INFO
RENAMED
|
@@ -1,14 +1,37 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: bmp
|
|
3
|
-
Version: 0.2
|
|
3
|
+
Version: 0.2.3
|
|
4
|
+
Classifier: Development Status :: 4 - Beta
|
|
5
|
+
Classifier: Intended Audience :: Developers
|
|
6
|
+
Classifier: Intended Audience :: Science/Research
|
|
7
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
8
|
+
Classifier: Operating System :: OS Independent
|
|
4
9
|
Classifier: Programming Language :: Rust
|
|
5
10
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
11
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Topic :: Scientific/Engineering :: Information Analysis
|
|
19
|
+
Classifier: Topic :: Text Processing :: Indexing
|
|
20
|
+
Requires-Dist: numpy
|
|
7
21
|
Requires-Dist: python-terrier; extra == 'pyterrier'
|
|
8
22
|
Requires-Dist: pyterrier-alpha; extra == 'pyterrier'
|
|
23
|
+
Requires-Dist: numpy; extra == 'pyterrier'
|
|
9
24
|
Provides-Extra: pyterrier
|
|
10
|
-
|
|
25
|
+
Summary: Faster Learned Sparse Retrieval with Block-Max Pruning
|
|
26
|
+
Keywords: information retrieval,sparse retrieval,search,indexing,block-max pruning
|
|
27
|
+
Author: Antonio Mallia, Torsten Suel, Nicola Tonellotto, Sean MacAvaney
|
|
28
|
+
License: Apache-2.0
|
|
29
|
+
Requires-Python: >=3.8
|
|
11
30
|
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
31
|
+
Project-URL: Bug Tracker, https://github.com/pisa-engine/BMP/issues
|
|
32
|
+
Project-URL: Homepage, https://github.com/pisa-engine/BMP
|
|
33
|
+
Project-URL: Documentation, https://github.com/pisa-engine/BMP/tree/main/python
|
|
34
|
+
Project-URL: Repository, https://github.com/pisa-engine/BMP.git
|
|
12
35
|
|
|
13
36
|
|
|
14
37
|
<p align="center">
|
bmp-0.2.3/pyproject.toml
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["maturin>=0.14,<0.15"]
|
|
3
|
+
build-backend = "maturin"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "bmp"
|
|
7
|
+
version = "0.2.3"
|
|
8
|
+
description = "Faster Learned Sparse Retrieval with Block-Max Pruning"
|
|
9
|
+
authors = [
|
|
10
|
+
{name = "Antonio Mallia"},
|
|
11
|
+
{name = "Torsten Suel"},
|
|
12
|
+
{name = "Nicola Tonellotto"},
|
|
13
|
+
{name = "Sean MacAvaney"},
|
|
14
|
+
]
|
|
15
|
+
license = {text = "Apache-2.0"}
|
|
16
|
+
readme = "README.md"
|
|
17
|
+
requires-python = ">=3.8"
|
|
18
|
+
classifiers = [
|
|
19
|
+
"Development Status :: 4 - Beta",
|
|
20
|
+
"Intended Audience :: Developers",
|
|
21
|
+
"Intended Audience :: Science/Research",
|
|
22
|
+
"License :: OSI Approved :: Apache Software License",
|
|
23
|
+
"Operating System :: OS Independent",
|
|
24
|
+
"Programming Language :: Rust",
|
|
25
|
+
"Programming Language :: Python :: Implementation :: CPython",
|
|
26
|
+
"Programming Language :: Python :: Implementation :: PyPy",
|
|
27
|
+
"Programming Language :: Python :: 3",
|
|
28
|
+
"Programming Language :: Python :: 3.8",
|
|
29
|
+
"Programming Language :: Python :: 3.9",
|
|
30
|
+
"Programming Language :: Python :: 3.10",
|
|
31
|
+
"Programming Language :: Python :: 3.11",
|
|
32
|
+
"Programming Language :: Python :: 3.12",
|
|
33
|
+
"Topic :: Scientific/Engineering :: Information Analysis",
|
|
34
|
+
"Topic :: Text Processing :: Indexing",
|
|
35
|
+
]
|
|
36
|
+
keywords = ["information retrieval", "sparse retrieval", "search", "indexing", "block-max pruning"]
|
|
37
|
+
dependencies = [
|
|
38
|
+
"numpy",
|
|
39
|
+
]
|
|
40
|
+
|
|
41
|
+
[project.urls]
|
|
42
|
+
Homepage = "https://github.com/pisa-engine/BMP"
|
|
43
|
+
Repository = "https://github.com/pisa-engine/BMP.git"
|
|
44
|
+
Documentation = "https://github.com/pisa-engine/BMP/tree/main/python"
|
|
45
|
+
"Bug Tracker" = "https://github.com/pisa-engine/BMP/issues"
|
|
46
|
+
|
|
47
|
+
[tool.maturin]
|
|
48
|
+
python-source = "python"
|
|
49
|
+
module-name = "bmp._bmp"
|
|
50
|
+
|
|
51
|
+
[project.optional-dependencies]
|
|
52
|
+
pyterrier = [
|
|
53
|
+
"python-terrier",
|
|
54
|
+
"pyterrier-alpha",
|
|
55
|
+
"numpy",
|
|
56
|
+
]
|
|
57
|
+
|
|
58
|
+
[project.entry-points."pyterrier.artifact"]
|
|
59
|
+
"sparse_index.bmp" = "bmp.pyterrier:BmpIndex"
|
|
@@ -76,4 +76,4 @@ class BmpRetriever(pt.Indexer):
|
|
|
76
76
|
return res.to_df(inp)
|
|
77
77
|
def fuse_rank_cutoff(self, k):
|
|
78
78
|
if self.num_results > k:
|
|
79
|
-
return BmpRetriever(self.bmp_index, num_results=k, alpha=self.
|
|
79
|
+
return BmpRetriever(self.bmp_index, num_results=k, alpha=self.alpha, beta=self.beta)
|
bmp-0.2/pyproject.toml
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
[build-system]
|
|
2
|
-
requires = ["maturin>=0.14,<0.15"]
|
|
3
|
-
build-backend = "maturin"
|
|
4
|
-
|
|
5
|
-
[project]
|
|
6
|
-
name = "bmp"
|
|
7
|
-
version = "0.2"
|
|
8
|
-
requires-python = ">=3.7"
|
|
9
|
-
classifiers = [
|
|
10
|
-
"Programming Language :: Rust",
|
|
11
|
-
"Programming Language :: Python :: Implementation :: CPython",
|
|
12
|
-
"Programming Language :: Python :: Implementation :: PyPy",
|
|
13
|
-
]
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
[tool.maturin]
|
|
17
|
-
python-source = "python"
|
|
18
|
-
module-name = "bmp._bmp"
|
|
19
|
-
|
|
20
|
-
[project.optional-dependencies]
|
|
21
|
-
pyterrier = [
|
|
22
|
-
'python-terrier',
|
|
23
|
-
'pyterrier-alpha',
|
|
24
|
-
]
|
|
25
|
-
|
|
26
|
-
[project.entry-points."pyterrier.artifact"]
|
|
27
|
-
"sparse_index.bmp" = "bmp.pyterrier:BmpIndex"
|
|
File without changes
|
{bmp-0.2 → bmp-0.2.3}/Output.txt
RENAMED
|
File without changes
|
{bmp-0.2 → bmp-0.2.3}/README.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bmp-0.2 → bmp-0.2.3}/src/lib.rs
RENAMED
|
File without changes
|