edsnlp.pipelines.core.normalizer.utils
replace(text, rep)
Replaces a list of characters in a given text.
PARAMETER | DESCRIPTION |
---|---|
text |
Text to modify.
TYPE:
|
rep |
List of
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
str
|
Processed text. |
Source code in edsnlp/pipelines/core/normalizer/utils.py
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
|