datamaestro-text 2023.10.27__py3-none-any.whl → 2023.11.22__py3-none-any.whl

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.
@@ -98,9 +98,6 @@ class Documents(ir.DocumentStore, IRDSId):
98
98
  _irds.beir.BeirCordDoc: tuple_constructor(
99
99
  formats.CordDocument, "doc_id", "text", "title", "url", "pubmed_id"
100
100
  ),
101
- _irds.miracl.MiraclDoc: tuple_constructor(
102
- formats.DocumentWithTitle, "doc_id", "title", "text"
103
- ),
104
101
  _irds.beir.BeirTitleDoc: tuple_constructor(
105
102
  formats.TitleDocument, "doc_id", "text", "title"
106
103
  ),
@@ -205,6 +202,12 @@ class Documents(ir.DocumentStore, IRDSId):
205
202
  return converter
206
203
 
207
204
 
205
+ if hasattr(_irds, "miracl"):
206
+ Documents.CONVERTERS[_irds.miracl.MiraclDoc] = tuple_constructor(
207
+ formats.DocumentWithTitle, "doc_id", "title", "text"
208
+ )
209
+
210
+
208
211
  @attrs.define()
209
212
  class IRDSQueryWrapper(ir.Topic):
210
213
  query: Any
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '2023.10.27'
16
- __version_tuple__ = version_tuple = (2023, 10, 27)
15
+ __version__ = version = '2023.11.22'
16
+ __version_tuple__ = version_tuple = (2023, 11, 22)
@@ -1,16 +1,13 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: datamaestro-text
3
- Version: 2023.10.27
3
+ Version: 2023.11.22
4
4
  Summary: Datamaestro module for text-related datasets
5
- Home-page: https://github.com/experimaestro/datamaestro_text
6
- Author: Benjamin Piwowarski
7
5
  Author-email: Benjamin Piwowarski <benjamin@piwowarski.fr>
8
6
  License: GPL-3
9
7
  Project-URL: homepage, https://github.com/experimaestro/datamaestro_text
10
8
  Project-URL: documentation, https://datamaestro-text.readthedocs.io/en/latest/
11
9
  Project-URL: repository, https://github.com/experimaestro/datamaestro_text
12
10
  Keywords: dataset manager,information retrieval,experiments
13
- Platform: any
14
11
  Classifier: Development Status :: 4 - Beta
15
12
  Classifier: Intended Audience :: Science/Research
16
13
  Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
@@ -23,8 +20,6 @@ Description-Content-Type: text/markdown
23
20
  License-File: LICENSE
24
21
  Requires-Dist: datamaestro >=0.8.16
25
22
  Requires-Dist: attrs
26
- Provides-Extra: test
27
- Requires-Dist: tox ; extra == 'test'
28
23
 
29
24
  [![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit) [![PyPI version](https://badge.fury.io/py/datamaestro-text.svg)](https://badge.fury.io/py/datamaestro-text)
30
25
 
@@ -1,5 +1,5 @@
1
1
  datamaestro_text/__init__.py,sha256=hU8jZpkXl3F74qIfqnJl7v4nJ9YxfoR7IpJpUREFNRI,248
2
- datamaestro_text/version.py,sha256=muUF144h9h8Ov49A_iNwoU8C36QPGnUESIfI3C1YO7U,421
2
+ datamaestro_text/version.py,sha256=SfBDLSp-ExawWjfQ5F5ZPLPMVBHTFXz89upGMl-xJ38,421
3
3
  datamaestro_text/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  datamaestro_text/config/ai/quac.yaml,sha256=h1D7UJo2z1nZ_9MXpDHuQNJG9Ma2oayUdJV6lyumAIg,1103
5
5
  datamaestro_text/config/com/oscar-corpus.py,sha256=dDfdy_uhG6esRQQzUOOORwK8KvEq4c4hZbWt22pv-zY,733
@@ -57,7 +57,7 @@ datamaestro_text/data/ir/huggingface.py,sha256=G71VFDN-SllZy4LFxumEbCumEJvb5-orA
57
57
  datamaestro_text/data/ir/trec.py,sha256=n98_O_sPPdU2i037fAboD4lB_I7C-RJrOLmmkg3osL8,1741
58
58
  datamaestro_text/data/ir/utils.py,sha256=6-GhXVtgkBZGhIs2-ODZua_3DmKjSSVydStpHDqbAwE,833
59
59
  datamaestro_text/datasets/irds/__init__.py,sha256=Tq0HN1qojnZYLBumM59BuTkz7r0gcu-5OXmDDLgPpAc,707
60
- datamaestro_text/datasets/irds/data.py,sha256=e7TLtq-0NI1aFbrAwli2D9FBfaHfiBB_0SVFv-q59Wg,9307
60
+ datamaestro_text/datasets/irds/data.py,sha256=hDctKswyzD_VrCRcD6pNIoKiiwvapWQBUwxzdFHesIM,9348
61
61
  datamaestro_text/datasets/irds/datasets.py,sha256=4tNTmlcF2OmUttCMyz5YTepi91pvaZB4syy5u-jAKh4,5556
62
62
  datamaestro_text/datasets/irds/utils.py,sha256=m30JLIrV_HgilN11TvY9dGTyumES6LLzWZDUAMT915M,1425
63
63
  datamaestro_text/download/tmdb.py,sha256=kU_Vz9jhznlyeKMHziVu58IHoWv8zPu6CZTHVNQvmu4,4009
@@ -72,10 +72,9 @@ datamaestro_text/utils/files.py,sha256=n6ZGl5LNrZbHLcV9RFwd7cFT0vPUezit-2dsBzs1v
72
72
  datamaestro_text/utils/iter.py,sha256=-m0Y_0YjSlEVbotzZYIA0Ca0Hq0G_bF9GfAZR2yxrAk,520
73
73
  datamaestro_text/utils/randomstream.py,sha256=_-boH4IIqN8qcl3IktjpNp9vmF4TWRzHUSNVwg7WAr8,973
74
74
  datamaestro_text/utils/shuffle.py,sha256=o8JTz3mr0lYWyv0zEh91jEK12ci1etMiUnzh5GkOHCM,3490
75
- datamaestro_text-2023.10.27.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
76
- datamaestro_text-2023.10.27.dist-info/METADATA,sha256=4Y0t0IAuM8oLb6UVxRn9w7rdVPACW6f1Nu_dwjS5jic,1740
77
- datamaestro_text-2023.10.27.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
78
- datamaestro_text-2023.10.27.dist-info/entry_points.txt,sha256=lO1P5hE183L5qEEVHlG8d_ik0HNXnX7Eo87cQLdcl-Y,111
79
- datamaestro_text-2023.10.27.dist-info/top_level.txt,sha256=gYSeqViE8r7eCxSdqFJL74OwljOwKsGPaIhEcCXqc-o,17
80
- datamaestro_text-2023.10.27.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
81
- datamaestro_text-2023.10.27.dist-info/RECORD,,
75
+ datamaestro_text-2023.11.22.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
76
+ datamaestro_text-2023.11.22.dist-info/METADATA,sha256=227Q9AEKEkApflnZdzL5pC_J6fLPZtSqbBXFJ_A6adQ,1579
77
+ datamaestro_text-2023.11.22.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
78
+ datamaestro_text-2023.11.22.dist-info/entry_points.txt,sha256=lO1P5hE183L5qEEVHlG8d_ik0HNXnX7Eo87cQLdcl-Y,111
79
+ datamaestro_text-2023.11.22.dist-info/top_level.txt,sha256=gYSeqViE8r7eCxSdqFJL74OwljOwKsGPaIhEcCXqc-o,17
80
+ datamaestro_text-2023.11.22.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.41.2)
2
+ Generator: bdist_wheel (0.41.3)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5