Skip to content

Commit

Permalink
minor docstring improvements
Browse files Browse the repository at this point in the history
Signed-off-by: Panos Vagenas <[email protected]>
  • Loading branch information
vagenas committed Dec 5, 2024
1 parent f3064e8 commit 5511bfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docling_core/transforms/chunker/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def serialize(self, chunk: BaseChunk) -> str:
Args:
chunk: chunk to serialize
Retrurns:
Returns:
str: the serialized form of the chunk
"""
meta = chunk.meta.export_json_dict()
Expand Down
2 changes: 1 addition & 1 deletion docling_core/transforms/chunker/token_aware_chunker.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@


class TokenAwareChunker(BaseChunker):
r"""Token-aware chunker implementation leveraging the document layout.
r"""Chunker doing tokenization-aware refinements on top of document layout chunking.
Args:
tokenizer: The tokenizer to use; either instantiated object or name or path of
Expand Down

0 comments on commit 5511bfb

Please sign in to comment.