datamaestro-text 2023.7.6__py3-none-any.whl → 2023.7.6.1__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.
- datamaestro_text/data/ir/formats.py +6 -0
- datamaestro_text/version.py +2 -2
- {datamaestro_text-2023.7.6.dist-info → datamaestro_text-2023.7.6.1.dist-info}/METADATA +1 -1
- {datamaestro_text-2023.7.6.dist-info → datamaestro_text-2023.7.6.1.dist-info}/RECORD +9 -9
- {datamaestro_text-2023.7.6.dist-info → datamaestro_text-2023.7.6.1.dist-info}/LICENSE +0 -0
- {datamaestro_text-2023.7.6.dist-info → datamaestro_text-2023.7.6.1.dist-info}/WHEEL +0 -0
- {datamaestro_text-2023.7.6.dist-info → datamaestro_text-2023.7.6.1.dist-info}/entry_points.txt +0 -0
- {datamaestro_text-2023.7.6.dist-info → datamaestro_text-2023.7.6.1.dist-info}/top_level.txt +0 -0
- {datamaestro_text-2023.7.6.dist-info → datamaestro_text-2023.7.6.1.dist-info}/zip-safe +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
from typing import ClassVar
|
|
1
2
|
from attrs import define
|
|
2
3
|
from .base import IDHolder, Document, Topic
|
|
3
4
|
|
|
@@ -9,6 +10,11 @@ class CordDocument(IDHolder, Document):
|
|
|
9
10
|
url: str
|
|
10
11
|
pubmed_id: str
|
|
11
12
|
|
|
13
|
+
has_text: ClassVar[bool] = True
|
|
14
|
+
|
|
15
|
+
def get_text(self):
|
|
16
|
+
return f"{self.title} {self.text}"
|
|
17
|
+
|
|
12
18
|
|
|
13
19
|
@define
|
|
14
20
|
class TrecTopic(IDHolder, Topic):
|
datamaestro_text/version.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
datamaestro_text/__init__.py,sha256=hU8jZpkXl3F74qIfqnJl7v4nJ9YxfoR7IpJpUREFNRI,248
|
|
2
|
-
datamaestro_text/version.py,sha256=
|
|
2
|
+
datamaestro_text/version.py,sha256=Je_wDQltf6IZOe5Cu_KgI0UT7_A2LPGuxgfuW4Mz3dY,171
|
|
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
|
|
@@ -52,7 +52,7 @@ datamaestro_text/data/ir/base.py,sha256=FOT0fk7_Kw-LRAPJnxNvuBHAhW6hhRCqWepqdBsp
|
|
|
52
52
|
datamaestro_text/data/ir/cord19.py,sha256=JN31EQeg0UFAJlIkg0Ie0_pq-f-oS1OstZGJLJBeKyY,1130
|
|
53
53
|
datamaestro_text/data/ir/csv.py,sha256=vgBNOeayEALwO01LmrzVOEVbs_MWJn3eIm-o0KiXjiE,1836
|
|
54
54
|
datamaestro_text/data/ir/data.py,sha256=ERmmOxz_9mUkIuccNbzUa5Y6gVLLVDdyc4cCxbCCUbY,20
|
|
55
|
-
datamaestro_text/data/ir/formats.py,sha256=
|
|
55
|
+
datamaestro_text/data/ir/formats.py,sha256=Nz8BJ1Lb6MygeYNHtUwwqX-flZ1QfrxaDkAJlvcv1fE,405
|
|
56
56
|
datamaestro_text/data/ir/huggingface.py,sha256=G71VFDN-SllZy4LFxumEbCumEJvb5-orAbLemHjWhiA,956
|
|
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
|
|
@@ -71,10 +71,10 @@ datamaestro_text/utils/__init__.py,sha256=2449YLTAtKJzkmt84Mu8sBRCCveNs5fiaqTCK_
|
|
|
71
71
|
datamaestro_text/utils/files.py,sha256=n6ZGl5LNrZbHLcV9RFwd7cFT0vPUezit-2dsBzs1vRQ,170
|
|
72
72
|
datamaestro_text/utils/randomstream.py,sha256=_-boH4IIqN8qcl3IktjpNp9vmF4TWRzHUSNVwg7WAr8,973
|
|
73
73
|
datamaestro_text/utils/shuffle.py,sha256=o8JTz3mr0lYWyv0zEh91jEK12ci1etMiUnzh5GkOHCM,3490
|
|
74
|
-
datamaestro_text-2023.7.6.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
75
|
-
datamaestro_text-2023.7.6.dist-info/METADATA,sha256=
|
|
76
|
-
datamaestro_text-2023.7.6.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
|
77
|
-
datamaestro_text-2023.7.6.dist-info/entry_points.txt,sha256=lO1P5hE183L5qEEVHlG8d_ik0HNXnX7Eo87cQLdcl-Y,111
|
|
78
|
-
datamaestro_text-2023.7.6.dist-info/top_level.txt,sha256=gYSeqViE8r7eCxSdqFJL74OwljOwKsGPaIhEcCXqc-o,17
|
|
79
|
-
datamaestro_text-2023.7.6.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
80
|
-
datamaestro_text-2023.7.6.dist-info/RECORD,,
|
|
74
|
+
datamaestro_text-2023.7.6.1.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
75
|
+
datamaestro_text-2023.7.6.1.dist-info/METADATA,sha256=24yduxTyKWsLuDl4heKsRrNobJI5xUHkgNSb42G51tU,1742
|
|
76
|
+
datamaestro_text-2023.7.6.1.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
|
77
|
+
datamaestro_text-2023.7.6.1.dist-info/entry_points.txt,sha256=lO1P5hE183L5qEEVHlG8d_ik0HNXnX7Eo87cQLdcl-Y,111
|
|
78
|
+
datamaestro_text-2023.7.6.1.dist-info/top_level.txt,sha256=gYSeqViE8r7eCxSdqFJL74OwljOwKsGPaIhEcCXqc-o,17
|
|
79
|
+
datamaestro_text-2023.7.6.1.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
80
|
+
datamaestro_text-2023.7.6.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
{datamaestro_text-2023.7.6.dist-info → datamaestro_text-2023.7.6.1.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|