unstructured
f6e09963 - feat: improved chipper elements mapping and new category_depth metadata (#1308)

Commit
2 years ago
feat: improved chipper elements mapping and new category_depth metadata (#1308) Two changes: 1. Improved mapping of `chipper` element types `Headline` (to `Title`), `Subheadline`(to `Title`) and `Abstract`( to `NarrativeText`. 2. New element metadata `category_depth`: `None` unless is `Headline` (`category_depth=1`), or `Subheadline` (`category_depth=2`). The update of `category_depth` happens during the transform `normalize_layout_element`. --------- Co-authored-by: Yao You <theyaoyou@gmail.com> Co-authored-by: Yao You <yao@unstructured.io> Co-authored-by: ryannikolaidis <1208590+ryannikolaidis@users.noreply.github.com> Co-authored-by: LaverdeS <LaverdeS@users.noreply.github.com> Co-authored-by: Benjamin Torres <benjats07@users.noreply.github.com> Co-authored-by: Benjamin Torres <benjamin@unstructured.io>
Author
Committer
Parents
Loading