mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-09-17 04:17:53 +00:00
bug: add main function to ingest/evaluate.py (#2583)
Conflicted on previous two merge. Add the main function back.
This commit is contained in:
parent
5cb6504d5a
commit
8f7853894e
@ -4,7 +4,7 @@
|
||||
|
||||
### Features
|
||||
|
||||
* **Header and footer detection for fast strategy.** `partition_pdf` with `fast` strategy now
|
||||
* **Header and footer detection for fast strategy** `partition_pdf` with `fast` strategy now
|
||||
detects elements that are in the top or bottom 5 percent of the page as headers and footers.
|
||||
* **Add parent_element to overlapping case output** Adds parent_element to the output for `identify_overlapping_or_nesting_case` and `catch_overlapping_and_nested_bboxes` functions.
|
||||
* **Add table structure evaluation** Adds a new function to evaluate the structure of a table and return a metric that represents the quality of the table structure. This function is used to evaluate the quality of the table structure and the table contents.
|
||||
|
@ -207,3 +207,7 @@ def measure_table_structure_accuracy_command(
|
||||
return measure_table_structure_accuracy(
|
||||
output_dir, source_dir, output_list, source_list, export_dir, visualize, cutoff
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
Loading…
x
Reference in New Issue
Block a user