edsnlp.pipes.core.normalizer.remove_lowercase.factory
remove_lowercase [source]
Add case on the NORM custom attribute. Should always be applied first.
Parameters
| PARAMETER | DESCRIPTION |
|---|---|
doc | The spaCy TYPE: |
| RETURNS | DESCRIPTION |
|---|---|
Doc | The document, with case put back in |
create_component [source]
Add case on the NORM custom attribute. Should always be applied first.
Parameters
| PARAMETER | DESCRIPTION |
|---|---|
nlp | The pipeline object. TYPE: |
name | The name of the component. TYPE: |