mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-12-30 00:30:09 +00:00
* Add TextCleaner component * Update docstrings and simplify run logic * Update docstrings
7 lines
290 B
YAML
7 lines
290 B
YAML
---
|
|
features:
|
|
- |
|
|
Add `TextCleaner` Component to clean list of strings. It can remove substrings matching a list of regular expressions,
|
|
convert text to lowercase, remove punctuation, and remove numbers.
|
|
This is mostly useful to clean generator predictions before evaluation.
|