Transformations
A transformation is something that takes a list of nodes as an input, and returns a list of nodes. Each component that implements the Transformation class has both a transform
definition responsible for transforming the nodes.
Currently, the following components are Transformation objects:
Usage Pattern
While transformations are best used with with an IngestionPipeline, they can also be used directly.
Custom Transformations
You can implement any transformation yourself by implementing the TransformComponent
.
The following custom transformation will remove any special characters or punctuation in text.
These can then be used directly or in any IngestionPipeline.
API Reference
Edit on GitHub
Last updated on