unstructured
aa7794a5 - rfctr(chunking): move add_chunking_strategy() decorator up (#2265)

Commit
2 years ago
rfctr(chunking): move add_chunking_strategy() decorator up (#2265) The chunking subpackage `unstructured.chunking` currently contains only the `title` module and the `@add_chunking_strategy()` decorator is located in that module even though it has no special relationship to the `by_title` chunking strategy. Move it to the `__init__.py` module such that it is exported from `unstructured.chunking`. Adjust all references, pretty much one per partitioner, to import it from there. This prepares the way for further separation of the chunking package into modules, including a new `character` module for the `by_character` chunking strategy.
Author
Parents
Loading