isaacus 0.13.0__tar.gz → 0.15.0__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.
Files changed (112) hide show
  1. isaacus-0.15.0/.release-please-manifest.json +3 -0
  2. {isaacus-0.13.0 → isaacus-0.15.0}/CHANGELOG.md +24 -0
  3. {isaacus-0.13.0 → isaacus-0.15.0}/PKG-INFO +1 -1
  4. {isaacus-0.13.0 → isaacus-0.15.0}/api.md +6 -2
  5. {isaacus-0.13.0 → isaacus-0.15.0}/pyproject.toml +1 -1
  6. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/_version.py +1 -1
  7. isaacus-0.15.0/src/isaacus/types/__init__.py +10 -0
  8. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/types/enrichment_response.py +1 -1
  9. isaacus-0.15.0/src/isaacus/types/ilgs/__init__.py +3 -0
  10. {isaacus-0.13.0/src/isaacus/types → isaacus-0.15.0/src/isaacus/types/ilgs/v1}/__init__.py +0 -6
  11. {isaacus-0.13.0/src/isaacus/types → isaacus-0.15.0/src/isaacus/types/ilgs/v1}/crossreference.py +1 -1
  12. {isaacus-0.13.0/src/isaacus/types → isaacus-0.15.0/src/isaacus/types/ilgs/v1}/date.py +1 -1
  13. {isaacus-0.13.0/src/isaacus/types → isaacus-0.15.0/src/isaacus/types/ilgs/v1}/document.py +4 -1
  14. {isaacus-0.13.0/src/isaacus/types → isaacus-0.15.0/src/isaacus/types/ilgs/v1}/email.py +1 -1
  15. {isaacus-0.13.0/src/isaacus/types → isaacus-0.15.0/src/isaacus/types/ilgs/v1}/external_document.py +1 -1
  16. {isaacus-0.13.0/src/isaacus/types → isaacus-0.15.0/src/isaacus/types/ilgs/v1}/id_number.py +1 -1
  17. {isaacus-0.13.0/src/isaacus/types → isaacus-0.15.0/src/isaacus/types/ilgs/v1}/location.py +1 -1
  18. {isaacus-0.13.0/src/isaacus/types → isaacus-0.15.0/src/isaacus/types/ilgs/v1}/person.py +1 -1
  19. {isaacus-0.13.0/src/isaacus/types → isaacus-0.15.0/src/isaacus/types/ilgs/v1}/phone_number.py +1 -1
  20. {isaacus-0.13.0/src/isaacus/types → isaacus-0.15.0/src/isaacus/types/ilgs/v1}/quote.py +1 -1
  21. {isaacus-0.13.0/src/isaacus/types → isaacus-0.15.0/src/isaacus/types/ilgs/v1}/segment.py +7 -1
  22. {isaacus-0.13.0/src/isaacus/types → isaacus-0.15.0/src/isaacus/types/ilgs/v1}/span.py +13 -1
  23. {isaacus-0.13.0/src/isaacus/types → isaacus-0.15.0/src/isaacus/types/ilgs/v1}/term.py +1 -1
  24. {isaacus-0.13.0/src/isaacus/types → isaacus-0.15.0/src/isaacus/types/ilgs/v1}/website.py +1 -1
  25. isaacus-0.13.0/.release-please-manifest.json +0 -3
  26. {isaacus-0.13.0 → isaacus-0.15.0}/.gitignore +0 -0
  27. {isaacus-0.13.0 → isaacus-0.15.0}/CONTRIBUTING.md +0 -0
  28. {isaacus-0.13.0 → isaacus-0.15.0}/LICENSE +0 -0
  29. {isaacus-0.13.0 → isaacus-0.15.0}/README.md +0 -0
  30. {isaacus-0.13.0 → isaacus-0.15.0}/SECURITY.md +0 -0
  31. {isaacus-0.13.0 → isaacus-0.15.0}/bin/check-release-environment +0 -0
  32. {isaacus-0.13.0 → isaacus-0.15.0}/bin/publish-pypi +0 -0
  33. {isaacus-0.13.0 → isaacus-0.15.0}/examples/.keep +0 -0
  34. {isaacus-0.13.0 → isaacus-0.15.0}/noxfile.py +0 -0
  35. {isaacus-0.13.0 → isaacus-0.15.0}/release-please-config.json +0 -0
  36. {isaacus-0.13.0 → isaacus-0.15.0}/requirements-dev.lock +0 -0
  37. {isaacus-0.13.0 → isaacus-0.15.0}/requirements.lock +0 -0
  38. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/__init__.py +0 -0
  39. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/_base_client.py +0 -0
  40. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/_client.py +0 -0
  41. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/_compat.py +0 -0
  42. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/_constants.py +0 -0
  43. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/_exceptions.py +0 -0
  44. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/_files.py +0 -0
  45. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/_models.py +0 -0
  46. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/_qs.py +0 -0
  47. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/_resource.py +0 -0
  48. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/_response.py +0 -0
  49. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/_streaming.py +0 -0
  50. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/_types.py +0 -0
  51. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/_utils/__init__.py +0 -0
  52. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/_utils/_compat.py +0 -0
  53. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/_utils/_datetime_parse.py +0 -0
  54. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/_utils/_json.py +0 -0
  55. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/_utils/_logs.py +0 -0
  56. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/_utils/_proxy.py +0 -0
  57. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/_utils/_reflection.py +0 -0
  58. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/_utils/_resources_proxy.py +0 -0
  59. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/_utils/_streams.py +0 -0
  60. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/_utils/_sync.py +0 -0
  61. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/_utils/_transform.py +0 -0
  62. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/_utils/_typing.py +0 -0
  63. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/_utils/_utils.py +0 -0
  64. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/lib/.keep +0 -0
  65. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/py.typed +0 -0
  66. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/resources/__init__.py +0 -0
  67. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/resources/classifications/__init__.py +0 -0
  68. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/resources/classifications/classifications.py +0 -0
  69. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/resources/classifications/universal.py +0 -0
  70. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/resources/embeddings.py +0 -0
  71. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/resources/enrichments.py +0 -0
  72. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/resources/extractions/__init__.py +0 -0
  73. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/resources/extractions/extractions.py +0 -0
  74. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/resources/extractions/qa.py +0 -0
  75. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/resources/rerankings.py +0 -0
  76. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/types/classifications/__init__.py +0 -0
  77. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/types/classifications/universal_classification_response.py +0 -0
  78. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/types/classifications/universal_create_params.py +0 -0
  79. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/types/embedding_create_params.py +0 -0
  80. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/types/embedding_response.py +0 -0
  81. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/types/enrichment_create_params.py +0 -0
  82. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/types/extractions/__init__.py +0 -0
  83. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/types/extractions/answer_extraction_response.py +0 -0
  84. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/types/extractions/qa_create_params.py +0 -0
  85. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/types/reranking_create_params.py +0 -0
  86. {isaacus-0.13.0 → isaacus-0.15.0}/src/isaacus/types/reranking_response.py +0 -0
  87. {isaacus-0.13.0 → isaacus-0.15.0}/tests/__init__.py +0 -0
  88. {isaacus-0.13.0 → isaacus-0.15.0}/tests/api_resources/__init__.py +0 -0
  89. {isaacus-0.13.0 → isaacus-0.15.0}/tests/api_resources/classifications/__init__.py +0 -0
  90. {isaacus-0.13.0 → isaacus-0.15.0}/tests/api_resources/classifications/test_universal.py +0 -0
  91. {isaacus-0.13.0 → isaacus-0.15.0}/tests/api_resources/extractions/__init__.py +0 -0
  92. {isaacus-0.13.0 → isaacus-0.15.0}/tests/api_resources/extractions/test_qa.py +0 -0
  93. {isaacus-0.13.0 → isaacus-0.15.0}/tests/api_resources/test_embeddings.py +0 -0
  94. {isaacus-0.13.0 → isaacus-0.15.0}/tests/api_resources/test_enrichments.py +0 -0
  95. {isaacus-0.13.0 → isaacus-0.15.0}/tests/api_resources/test_rerankings.py +0 -0
  96. {isaacus-0.13.0 → isaacus-0.15.0}/tests/conftest.py +0 -0
  97. {isaacus-0.13.0 → isaacus-0.15.0}/tests/sample_file.txt +0 -0
  98. {isaacus-0.13.0 → isaacus-0.15.0}/tests/test_client.py +0 -0
  99. {isaacus-0.13.0 → isaacus-0.15.0}/tests/test_deepcopy.py +0 -0
  100. {isaacus-0.13.0 → isaacus-0.15.0}/tests/test_extract_files.py +0 -0
  101. {isaacus-0.13.0 → isaacus-0.15.0}/tests/test_files.py +0 -0
  102. {isaacus-0.13.0 → isaacus-0.15.0}/tests/test_models.py +0 -0
  103. {isaacus-0.13.0 → isaacus-0.15.0}/tests/test_qs.py +0 -0
  104. {isaacus-0.13.0 → isaacus-0.15.0}/tests/test_required_args.py +0 -0
  105. {isaacus-0.13.0 → isaacus-0.15.0}/tests/test_response.py +0 -0
  106. {isaacus-0.13.0 → isaacus-0.15.0}/tests/test_streaming.py +0 -0
  107. {isaacus-0.13.0 → isaacus-0.15.0}/tests/test_transform.py +0 -0
  108. {isaacus-0.13.0 → isaacus-0.15.0}/tests/test_utils/test_datetime_parse.py +0 -0
  109. {isaacus-0.13.0 → isaacus-0.15.0}/tests/test_utils/test_json.py +0 -0
  110. {isaacus-0.13.0 → isaacus-0.15.0}/tests/test_utils/test_proxy.py +0 -0
  111. {isaacus-0.13.0 → isaacus-0.15.0}/tests/test_utils/test_typing.py +0 -0
  112. {isaacus-0.13.0 → isaacus-0.15.0}/tests/utils.py +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.15.0"
3
+ }
@@ -1,5 +1,29 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.15.0 (2026-02-04)
4
+
5
+ Full Changelog: [v0.14.0...v0.15.0](https://github.com/isaacus-dev/isaacus-python/compare/v0.14.0...v0.15.0)
6
+
7
+ ### Features
8
+
9
+ * **sdk:** add `decode` method to `Span`s ([bc41468](https://github.com/isaacus-dev/isaacus-python/commit/bc4146813a1b236b0740f2a74bab11311b5ef99d))
10
+
11
+ ## 0.14.0 (2026-02-04)
12
+
13
+ Full Changelog: [v0.13.0...v0.14.0](https://github.com/isaacus-dev/isaacus-python/compare/v0.13.0...v0.14.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** add a `text` field ([a1842eb](https://github.com/isaacus-dev/isaacus-python/commit/a1842eb23c4f6b142fae8aa5634a65e303eb8b78))
18
+ * **api:** add level field to ILGS v1 segments ([63e8455](https://github.com/isaacus-dev/isaacus-python/commit/63e845506ef701eaff5cb85652a083e380b03dbc))
19
+ * **sdk:** add ilgs v1 span as a top model ([b30f176](https://github.com/isaacus-dev/isaacus-python/commit/b30f176d23a7eabb18d92d716f8d35b2fc9f454b))
20
+ * **sdk:** demote other models ([873f1a4](https://github.com/isaacus-dev/isaacus-python/commit/873f1a49d107be25de7b515b4796f2090e3885bf))
21
+ * **sdk:** move ilgs structs around ([cd485eb](https://github.com/isaacus-dev/isaacus-python/commit/cd485eb173c7f454aecfd114121672172a75824c))
22
+ * **sdk:** move ilgs structs around ([920e2bb](https://github.com/isaacus-dev/isaacus-python/commit/920e2bbf07e7aea58fabbd6b31ecd96050c43957))
23
+ * **sdk:** move ilgs structs around ([d3068e3](https://github.com/isaacus-dev/isaacus-python/commit/d3068e38f718f52cc9b46dc6e60efa5dc911f10a))
24
+ * **sdk:** move ilgs structs around ([6ea6db6](https://github.com/isaacus-dev/isaacus-python/commit/6ea6db6d15b754c6f2ffd5aa235d7b8abb1e3ad1))
25
+ * **sdk:** move ilgs structs around ([1f9c511](https://github.com/isaacus-dev/isaacus-python/commit/1f9c5116054a44d62013e5c82ba9d85d38b28f33))
26
+
3
27
  ## 0.13.0 (2026-02-04)
4
28
 
5
29
  Full Changelog: [v0.12.0...v0.13.0](https://github.com/isaacus-dev/isaacus-python/compare/v0.12.0...v0.13.0)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: isaacus
3
- Version: 0.13.0
3
+ Version: 0.15.0
4
4
  Summary: The official Python library for the isaacus API
5
5
  Project-URL: Homepage, https://github.com/isaacus-dev/isaacus-python
6
6
  Project-URL: Repository, https://github.com/isaacus-dev/isaacus-python
@@ -62,12 +62,16 @@ Methods:
62
62
 
63
63
  - <code title="post /enrichments">client.enrichments.<a href="./src/isaacus/resources/enrichments.py">create</a>(\*\*<a href="src/isaacus/types/enrichment_create_params.py">params</a>) -> <a href="./src/isaacus/types/enrichment_response.py">EnrichmentResponse</a></code>
64
64
 
65
- # ILGSv1
65
+ # ILGS
66
+
67
+ ## v1
68
+
69
+ ### v1
66
70
 
67
71
  Types:
68
72
 
69
73
  ```python
70
- from isaacus.types import (
74
+ from isaacus.types.ilgs.v1 import (
71
75
  Crossreference,
72
76
  Date,
73
77
  Document,
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "isaacus"
3
- version = "0.13.0"
3
+ version = "0.15.0"
4
4
  description = "The official Python library for the isaacus API"
5
5
  dynamic = ["readme"]
6
6
  license = "Apache-2.0"
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "isaacus"
4
- __version__ = "0.13.0" # x-release-please-version
4
+ __version__ = "0.15.0" # x-release-please-version
@@ -0,0 +1,10 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from .embedding_response import EmbeddingResponse as EmbeddingResponse
6
+ from .reranking_response import RerankingResponse as RerankingResponse
7
+ from .enrichment_response import EnrichmentResponse as EnrichmentResponse
8
+ from .embedding_create_params import EmbeddingCreateParams as EmbeddingCreateParams
9
+ from .reranking_create_params import RerankingCreateParams as RerankingCreateParams
10
+ from .enrichment_create_params import EnrichmentCreateParams as EnrichmentCreateParams
@@ -3,7 +3,7 @@
3
3
  from typing import List
4
4
 
5
5
  from .._models import BaseModel
6
- from .document import Document
6
+ from .ilgs.v1.document import Document
7
7
 
8
8
  __all__ = ["EnrichmentResponse", "Result", "Usage"]
9
9
 
@@ -0,0 +1,3 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
@@ -16,9 +16,3 @@ from .id_number import IDNumber as IDNumber
16
16
  from .phone_number import PhoneNumber as PhoneNumber
17
17
  from .crossreference import Crossreference as Crossreference
18
18
  from .external_document import ExternalDocument as ExternalDocument
19
- from .embedding_response import EmbeddingResponse as EmbeddingResponse
20
- from .reranking_response import RerankingResponse as RerankingResponse
21
- from .enrichment_response import EnrichmentResponse as EnrichmentResponse
22
- from .embedding_create_params import EmbeddingCreateParams as EmbeddingCreateParams
23
- from .reranking_create_params import RerankingCreateParams as RerankingCreateParams
24
- from .enrichment_create_params import EnrichmentCreateParams as EnrichmentCreateParams
@@ -1,7 +1,7 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  from .span import Span
4
- from .._models import BaseModel
4
+ from ...._models import BaseModel
5
5
 
6
6
  __all__ = ["Crossreference"]
7
7
 
@@ -4,7 +4,7 @@ from typing import List, Optional
4
4
  from typing_extensions import Literal
5
5
 
6
6
  from .span import Span
7
- from .._models import BaseModel
7
+ from ...._models import BaseModel
8
8
 
9
9
  __all__ = ["Date"]
10
10
 
@@ -11,9 +11,9 @@ from .quote import Quote
11
11
  from .person import Person
12
12
  from .segment import Segment
13
13
  from .website import Website
14
- from .._models import BaseModel
15
14
  from .location import Location
16
15
  from .id_number import IDNumber
16
+ from ...._models import BaseModel
17
17
  from .phone_number import PhoneNumber
18
18
  from .crossreference import Crossreference
19
19
  from .external_document import ExternalDocument
@@ -24,6 +24,9 @@ __all__ = ["Document"]
24
24
  class Document(BaseModel):
25
25
  """The enriched document."""
26
26
 
27
+ text: str
28
+ """The text of the document."""
29
+
27
30
  title: Optional[Span] = None
28
31
  """A zero-based, half-open span into the Unicode code point space of input text.
29
32
 
@@ -3,7 +3,7 @@
3
3
  from typing import List
4
4
 
5
5
  from .span import Span
6
- from .._models import BaseModel
6
+ from ...._models import BaseModel
7
7
 
8
8
  __all__ = ["Email"]
9
9
 
@@ -4,7 +4,7 @@ from typing import List, Optional
4
4
  from typing_extensions import Literal
5
5
 
6
6
  from .span import Span
7
- from .._models import BaseModel
7
+ from ...._models import BaseModel
8
8
 
9
9
  __all__ = ["ExternalDocument"]
10
10
 
@@ -3,7 +3,7 @@
3
3
  from typing import List
4
4
 
5
5
  from .span import Span
6
- from .._models import BaseModel
6
+ from ...._models import BaseModel
7
7
 
8
8
  __all__ = ["IDNumber"]
9
9
 
@@ -4,7 +4,7 @@ from typing import List, Optional
4
4
  from typing_extensions import Literal
5
5
 
6
6
  from .span import Span
7
- from .._models import BaseModel
7
+ from ...._models import BaseModel
8
8
 
9
9
  __all__ = ["Location"]
10
10
 
@@ -4,7 +4,7 @@ from typing import List, Optional
4
4
  from typing_extensions import Literal
5
5
 
6
6
  from .span import Span
7
- from .._models import BaseModel
7
+ from ...._models import BaseModel
8
8
 
9
9
  __all__ = ["Person"]
10
10
 
@@ -3,7 +3,7 @@
3
3
  from typing import List
4
4
 
5
5
  from .span import Span
6
- from .._models import BaseModel
6
+ from ...._models import BaseModel
7
7
 
8
8
  __all__ = ["PhoneNumber"]
9
9
 
@@ -3,7 +3,7 @@
3
3
  from typing import Optional
4
4
 
5
5
  from .span import Span
6
- from .._models import BaseModel
6
+ from ...._models import BaseModel
7
7
 
8
8
  __all__ = ["Quote"]
9
9
 
@@ -4,7 +4,7 @@ from typing import Optional
4
4
  from typing_extensions import Literal
5
5
 
6
6
  from .span import Span
7
- from .._models import BaseModel
7
+ from ...._models import BaseModel
8
8
 
9
9
  __all__ = ["Segment"]
10
10
 
@@ -188,6 +188,12 @@ class Segment(BaseModel):
188
188
  a non-negative incrementing integer starting from zero.
189
189
  """
190
190
 
191
+ level: int
192
+ """
193
+ The level of the segment within the document's segment hierarchy starting from
194
+ `0` for root-level segments.
195
+ """
196
+
191
197
  span: Span
192
198
  """A zero-based, half-open span into the Unicode code point space of input text.
193
199
 
@@ -1,6 +1,6 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- from .._models import BaseModel
3
+ from ...._models import BaseModel
4
4
 
5
5
  __all__ = ["Span"]
6
6
 
@@ -26,3 +26,15 @@ class Span(BaseModel):
26
26
  The zero-based end index of the half-open span (i.e., the end is exclusive) of
27
27
  Unicode code points in the input text.
28
28
  """
29
+
30
+ def decode(self, text: str) -> str:
31
+ """Decode the span from the given text.
32
+
33
+ Args:
34
+ text (str): The input text from which to decode the span.
35
+
36
+ Returns:
37
+ str: The substring of the input text corresponding to the span.
38
+ """
39
+
40
+ return text[self.start:self.end]
@@ -3,7 +3,7 @@
3
3
  from typing import List
4
4
 
5
5
  from .span import Span
6
- from .._models import BaseModel
6
+ from ...._models import BaseModel
7
7
 
8
8
  __all__ = ["Term"]
9
9
 
@@ -3,7 +3,7 @@
3
3
  from typing import List
4
4
 
5
5
  from .span import Span
6
- from .._models import BaseModel
6
+ from ...._models import BaseModel
7
7
 
8
8
  __all__ = ["Website"]
9
9
 
@@ -1,3 +0,0 @@
1
- {
2
- ".": "0.13.0"
3
- }
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