docling-core 2.35.0__tar.gz → 2.51.1__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.
- {docling_core-2.35.0 → docling_core-2.51.1}/PKG-INFO +25 -8
- {docling_core-2.35.0 → docling_core-2.51.1}/README.md +2 -2
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/cli/view.py +21 -5
- docling_core-2.51.1/docling_core/transforms/chunker/__init__.py +24 -0
- docling_core-2.51.1/docling_core/transforms/chunker/code_chunking/__init__.py +1 -0
- docling_core-2.51.1/docling_core/transforms/chunker/code_chunking/_language_code_chunkers.py +1664 -0
- docling_core-2.51.1/docling_core/transforms/chunker/code_chunking/_utils.py +152 -0
- docling_core-2.51.1/docling_core/transforms/chunker/code_chunking/base_code_chunking_strategy.py +22 -0
- docling_core-2.51.1/docling_core/transforms/chunker/code_chunking/code_chunk.py +43 -0
- docling_core-2.51.1/docling_core/transforms/chunker/code_chunking/standard_code_chunking_strategy.py +95 -0
- docling_core-2.51.1/docling_core/transforms/chunker/doc_chunk.py +92 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/transforms/chunker/hierarchical_chunker.py +27 -88
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/transforms/chunker/hybrid_chunker.py +7 -4
- docling_core-2.51.1/docling_core/transforms/chunker/page_chunker.py +59 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/transforms/serializer/base.py +43 -3
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/transforms/serializer/common.py +213 -101
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/transforms/serializer/doctags.py +93 -39
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/transforms/serializer/html.py +240 -121
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/transforms/serializer/markdown.py +259 -62
- docling_core-2.51.1/docling_core/transforms/visualizer/key_value_visualizer.py +217 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/transforms/visualizer/layout_visualizer.py +6 -3
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/transforms/visualizer/reading_order_visualizer.py +77 -6
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/transforms/visualizer/table_visualizer.py +109 -4
- docling_core-2.51.1/docling_core/types/doc/__init__.py +98 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/types/doc/base.py +29 -2
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/types/doc/document.py +2244 -428
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/types/doc/labels.py +8 -3
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/types/doc/page.py +29 -4
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/types/doc/tokens.py +6 -0
- docling_core-2.51.1/docling_core/types/doc/utils.py +282 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/utils/file.py +27 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/utils/legacy.py +2 -3
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core.egg-info/PKG-INFO +25 -8
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core.egg-info/SOURCES.txt +13 -0
- docling_core-2.51.1/docling_core.egg-info/requires.txt +30 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/pyproject.toml +36 -6
- {docling_core-2.35.0 → docling_core-2.51.1}/test/test_base.py +2 -2
- docling_core-2.51.1/test/test_code_chunker.py +189 -0
- docling_core-2.51.1/test/test_code_chunking_strategy.py +210 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/test/test_doc_legacy_convert.py +7 -7
- {docling_core-2.35.0 → docling_core-2.51.1}/test/test_docling_doc.py +797 -69
- {docling_core-2.35.0 → docling_core-2.51.1}/test/test_doctags_load.py +14 -10
- docling_core-2.51.1/test/test_metadata.py +301 -0
- docling_core-2.51.1/test/test_page.py +214 -0
- docling_core-2.51.1/test/test_page_chunker.py +36 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/test/test_serialization.py +277 -126
- {docling_core-2.35.0 → docling_core-2.51.1}/test/test_visualization.py +30 -1
- docling_core-2.35.0/docling_core/transforms/chunker/__init__.py +0 -13
- docling_core-2.35.0/docling_core/types/doc/__init__.py +0 -32
- docling_core-2.35.0/docling_core/types/doc/utils.py +0 -75
- docling_core-2.35.0/docling_core.egg-info/requires.txt +0 -18
- docling_core-2.35.0/test/test_page.py +0 -79
- {docling_core-2.35.0 → docling_core-2.51.1}/LICENSE +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/__init__.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/cli/__init__.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/experimental/__init__.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/py.typed +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/resources/schemas/doc/ANN.json +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/resources/schemas/doc/DOC.json +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/resources/schemas/doc/OCR-output.json +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/resources/schemas/doc/RAW.json +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/resources/schemas/generated/ccs_document_schema.json +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/resources/schemas/generated/minimal_document_schema_flat.json +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/resources/schemas/search/search_doc_mapping.json +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/resources/schemas/search/search_doc_mapping_v2.json +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/search/__init__.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/search/json_schema_to_search_mapper.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/search/mapping.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/search/meta.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/search/package.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/transforms/__init__.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/transforms/chunker/base.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/transforms/chunker/tokenizer/__init__.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/transforms/chunker/tokenizer/base.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/transforms/chunker/tokenizer/huggingface.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/transforms/chunker/tokenizer/openai.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/transforms/serializer/__init__.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/transforms/serializer/html_styles.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/transforms/visualizer/__init__.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/transforms/visualizer/base.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/types/__init__.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/types/base.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/types/gen/__init__.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/types/gen/generic.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/types/io/__init__.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/types/legacy_doc/__init__.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/types/legacy_doc/base.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/types/legacy_doc/doc_ann.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/types/legacy_doc/doc_ocr.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/types/legacy_doc/doc_raw.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/types/legacy_doc/document.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/types/legacy_doc/tokens.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/types/nlp/__init__.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/types/nlp/qa.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/types/nlp/qa_labels.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/types/rec/__init__.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/types/rec/attribute.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/types/rec/base.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/types/rec/predicate.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/types/rec/record.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/types/rec/statement.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/types/rec/subject.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/utils/__init__.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/utils/alias.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/utils/generate_docs.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/utils/generate_jsonschema.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/utils/validate.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core/utils/validators.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core.egg-info/dependency_links.txt +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core.egg-info/entry_points.txt +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/docling_core.egg-info/top_level.txt +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/setup.cfg +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/test/test_collection.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/test/test_data_gen_flag.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/test/test_doc_base.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/test/test_doc_schema.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/test/test_doc_schema_extractor.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/test/test_hierarchical_chunker.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/test/test_hybrid_chunker.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/test/test_json_schema_to_search_mapper.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/test/test_nlp_qa.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/test/test_otsl_table_export.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/test/test_rec_schema.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/test/test_search_meta.py +0 -0
- {docling_core-2.35.0 → docling_core-2.51.1}/test/test_utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: docling-core
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.51.1
|
|
4
4
|
Summary: A python library to define and validate data types in Docling.
|
|
5
5
|
Author-email: Cesar Berrospi Ramis <ceb@zurich.ibm.com>, Panos Vagenas <pva@zurich.ibm.com>, Michele Dolfi <dol@zurich.ibm.com>, Christoph Auer <cau@zurich.ibm.com>, Peter Staar <taa@zurich.ibm.com>
|
|
6
6
|
Maintainer-email: Panos Vagenas <pva@zurich.ibm.com>, Michele Dolfi <dol@zurich.ibm.com>, Christoph Auer <cau@zurich.ibm.com>, Peter Staar <taa@zurich.ibm.com>, Cesar Berrospi Ramis <ceb@zurich.ibm.com>
|
|
@@ -15,12 +15,17 @@ Classifier: Intended Audience :: Developers
|
|
|
15
15
|
Classifier: Intended Audience :: Science/Research
|
|
16
16
|
Classifier: Natural Language :: English
|
|
17
17
|
Classifier: Operating System :: OS Independent
|
|
18
|
-
Classifier: Programming Language :: Python :: 3
|
|
19
18
|
Classifier: Topic :: Database
|
|
20
19
|
Classifier: Topic :: Scientific/Engineering :: Information Analysis
|
|
21
20
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
22
21
|
Classifier: Typing :: Typed
|
|
23
22
|
Classifier: Programming Language :: Python :: 3
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
27
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
28
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
24
29
|
Requires-Python: <4.0,>=3.9
|
|
25
30
|
Description-Content-Type: text/markdown
|
|
26
31
|
License-File: LICENSE
|
|
@@ -29,23 +34,35 @@ Requires-Dist: pydantic!=2.10.0,!=2.10.1,!=2.10.2,<3.0.0,>=2.6.0
|
|
|
29
34
|
Requires-Dist: jsonref<2.0.0,>=1.1.0
|
|
30
35
|
Requires-Dist: tabulate<0.10.0,>=0.9.0
|
|
31
36
|
Requires-Dist: pandas<3.0.0,>=2.1.4
|
|
32
|
-
Requires-Dist: pillow<
|
|
37
|
+
Requires-Dist: pillow<13.0.0,>=10.0.0
|
|
33
38
|
Requires-Dist: pyyaml<7.0.0,>=5.1
|
|
34
39
|
Requires-Dist: typing-extensions<5.0.0,>=4.12.2
|
|
35
|
-
Requires-Dist: typer<0.
|
|
40
|
+
Requires-Dist: typer<0.20.0,>=0.12.5
|
|
36
41
|
Requires-Dist: latex2mathml<4.0.0,>=3.77.0
|
|
37
42
|
Provides-Extra: chunking
|
|
38
43
|
Requires-Dist: semchunk<3.0.0,>=2.2.0; extra == "chunking"
|
|
44
|
+
Requires-Dist: tree-sitter<1.0.0,>=0.23.2; extra == "chunking"
|
|
45
|
+
Requires-Dist: tree-sitter-python<1.0.0,>=0.23.6; extra == "chunking"
|
|
46
|
+
Requires-Dist: tree-sitter-c<1.0.0,>=0.23.4; extra == "chunking"
|
|
47
|
+
Requires-Dist: tree-sitter-java<1.0.0,>=0.23.5; extra == "chunking"
|
|
48
|
+
Requires-Dist: tree-sitter-javascript<1.0.0,>=0.23.1; extra == "chunking"
|
|
49
|
+
Requires-Dist: tree-sitter-typescript<1.0.0,>=0.23.2; extra == "chunking"
|
|
39
50
|
Requires-Dist: transformers<5.0.0,>=4.34.0; extra == "chunking"
|
|
40
51
|
Provides-Extra: chunking-openai
|
|
41
|
-
Requires-Dist: semchunk; extra == "chunking-openai"
|
|
42
|
-
Requires-Dist:
|
|
52
|
+
Requires-Dist: semchunk<3.0.0,>=2.2.0; extra == "chunking-openai"
|
|
53
|
+
Requires-Dist: tree-sitter<1.0.0,>=0.23.2; extra == "chunking-openai"
|
|
54
|
+
Requires-Dist: tree-sitter-python<1.0.0,>=0.23.6; extra == "chunking-openai"
|
|
55
|
+
Requires-Dist: tree-sitter-c<1.0.0,>=0.23.4; extra == "chunking-openai"
|
|
56
|
+
Requires-Dist: tree-sitter-java<1.0.0,>=0.23.5; extra == "chunking-openai"
|
|
57
|
+
Requires-Dist: tree-sitter-javascript<1.0.0,>=0.23.1; extra == "chunking-openai"
|
|
58
|
+
Requires-Dist: tree-sitter-typescript<1.0.0,>=0.23.2; extra == "chunking-openai"
|
|
59
|
+
Requires-Dist: tiktoken<0.13.0,>=0.9.0; extra == "chunking-openai"
|
|
43
60
|
Dynamic: license-file
|
|
44
61
|
|
|
45
62
|
# Docling Core
|
|
46
63
|
|
|
47
64
|
[](https://pypi.org/project/docling-core/)
|
|
48
|
-

|
|
65
|
+

|
|
49
66
|
[](https://github.com/astral-sh/uv)
|
|
50
67
|
[](https://github.com/psf/black)
|
|
51
68
|
[](https://pycqa.github.io/isort/)
|
|
@@ -65,7 +82,7 @@ pip install docling-core
|
|
|
65
82
|
|
|
66
83
|
### Development setup
|
|
67
84
|
|
|
68
|
-
To develop for Docling Core, you need Python
|
|
85
|
+
To develop for Docling Core, you need Python 3.9 through 3.14 and the `uv` package. You can then install it from your local clone's root directory:
|
|
69
86
|
```bash
|
|
70
87
|
uv sync --all-extras
|
|
71
88
|
```
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Docling Core
|
|
2
2
|
|
|
3
3
|
[](https://pypi.org/project/docling-core/)
|
|
4
|
-

|
|
4
|
+

|
|
5
5
|
[](https://github.com/astral-sh/uv)
|
|
6
6
|
[](https://github.com/psf/black)
|
|
7
7
|
[](https://pycqa.github.io/isort/)
|
|
@@ -21,7 +21,7 @@ pip install docling-core
|
|
|
21
21
|
|
|
22
22
|
### Development setup
|
|
23
23
|
|
|
24
|
-
To develop for Docling Core, you need Python
|
|
24
|
+
To develop for Docling Core, you need Python 3.9 through 3.14 and the `uv` package. You can then install it from your local clone's root directory:
|
|
25
25
|
```bash
|
|
26
26
|
uv sync --all-extras
|
|
27
27
|
```
|
|
@@ -39,9 +39,17 @@ def view(
|
|
|
39
39
|
typer.Argument(
|
|
40
40
|
...,
|
|
41
41
|
metavar="source",
|
|
42
|
-
help="Docling JSON file to view.",
|
|
42
|
+
help="Docling JSON or YAML file to view.",
|
|
43
43
|
),
|
|
44
44
|
],
|
|
45
|
+
split_view: Annotated[
|
|
46
|
+
bool,
|
|
47
|
+
typer.Option(
|
|
48
|
+
"--split-view",
|
|
49
|
+
"-s",
|
|
50
|
+
help="Split view of the document.",
|
|
51
|
+
),
|
|
52
|
+
] = False,
|
|
45
53
|
version: Annotated[
|
|
46
54
|
Optional[bool],
|
|
47
55
|
typer.Option(
|
|
@@ -52,11 +60,19 @@ def view(
|
|
|
52
60
|
),
|
|
53
61
|
] = None,
|
|
54
62
|
):
|
|
55
|
-
"""Display a
|
|
63
|
+
"""Display a DoclingDocument file on the default browser."""
|
|
56
64
|
path = resolve_source_to_path(source=source)
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
65
|
+
if path.suffix == ".json":
|
|
66
|
+
doc = DoclingDocument.load_from_json(filename=path)
|
|
67
|
+
elif path.suffix in [".yaml", ".yml"]:
|
|
68
|
+
doc = DoclingDocument.load_from_yaml(filename=path)
|
|
69
|
+
else:
|
|
70
|
+
raise ValueError(f"Unsupported file type: {path.suffix}")
|
|
71
|
+
target_path = Path(tempfile.mkdtemp()) / f"{path.stem}.html"
|
|
72
|
+
html_output = doc.export_to_html(
|
|
73
|
+
image_mode=ImageRefMode.EMBEDDED,
|
|
74
|
+
split_page_view=split_view,
|
|
75
|
+
)
|
|
60
76
|
with open(target_path, "w", encoding="utf-8") as f:
|
|
61
77
|
f.write(html_output)
|
|
62
78
|
webbrowser.open(url=f"file://{target_path.absolute().resolve()}")
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
#
|
|
2
|
+
# Copyright IBM Corp. 2024 - 2024
|
|
3
|
+
# SPDX-License-Identifier: MIT
|
|
4
|
+
#
|
|
5
|
+
|
|
6
|
+
"""Define the chunker types."""
|
|
7
|
+
|
|
8
|
+
from docling_core.transforms.chunker.base import BaseChunk, BaseChunker, BaseMeta
|
|
9
|
+
from docling_core.transforms.chunker.code_chunking.base_code_chunking_strategy import (
|
|
10
|
+
BaseCodeChunkingStrategy,
|
|
11
|
+
)
|
|
12
|
+
from docling_core.transforms.chunker.code_chunking.code_chunk import (
|
|
13
|
+
CodeChunk,
|
|
14
|
+
CodeChunkType,
|
|
15
|
+
CodeDocMeta,
|
|
16
|
+
)
|
|
17
|
+
from docling_core.transforms.chunker.code_chunking.standard_code_chunking_strategy import (
|
|
18
|
+
StandardCodeChunkingStrategy,
|
|
19
|
+
)
|
|
20
|
+
from docling_core.transforms.chunker.doc_chunk import DocChunk, DocMeta
|
|
21
|
+
from docling_core.transforms.chunker.hierarchical_chunker import HierarchicalChunker
|
|
22
|
+
from docling_core.transforms.chunker.hybrid_chunker import HybridChunker
|
|
23
|
+
from docling_core.transforms.chunker.page_chunker import PageChunker
|
|
24
|
+
from docling_core.types.doc.labels import CodeLanguageLabel
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Code chunking package."""
|