SplitFilter#
- class SplitFilter(config)#
Bases:
Filter
The splits
filter
splits the string based field into a listInput - the input field needs to be of type
str
.Output - the output field is filled with data of type
list
[str
].- Parameters:
Example
{ "step": "filter", "type": "split", "input_field":"list", "output_field":"elements", }
Methods Summary
process_doc
(doc)Process a document
Methods Documentation