Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Soeb-aryn committed Nov 26, 2024
1 parent 3be9f3e commit 9cc3003
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/sycamore/sycamore/transforms/partition.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,9 @@ class ArynPartitioner(Partitioner):
either pdfminer or OCR. Currently supports the 'object_type' property for pdfminer,
which can be set to 'boxes' or 'lines' to control the granularity of output.
source: The application that is using the partitioner. This is used for logging purposes.
output_label_options: A dictionary for configuring output label behavior. It supports two options: promote_title, a boolean that specifies whether to add a title to partitioned elements if one is missing, and title_candidate_elements, a list of strings representing labels for potential titles.
output_label_options: A dictionary for configuring output label behavior. It supports two options:
promote_title, a boolean that specifies whether to add a title to partitioned elements if one is missing, and
title_candidate_elements, a list of strings representing labels for potential titles.
default: {"promote_title": True , "title_candidate_elements":["Section-header", "Caption"]}
Example:
The following shows an example of using the ArynPartitioner to partition a PDF and extract
Expand Down

0 comments on commit 9cc3003

Please sign in to comment.