edsnlp.pipes.core.normalizer.accents.accents
AccentsConverter [source]
Bases: BaseComponent
Normalises accents, using a same-length strategy.
Parameters
| PARAMETER | DESCRIPTION |
|---|---|
nlp | The pipeline object. TYPE: |
name | The component name. TYPE: |
accents | List of accentuated characters and their transcription. TYPE: |
__call__ [source]
Remove accents from spacy NORM attribute.
Parameters
| PARAMETER | DESCRIPTION |
|---|---|
doc | The spaCy TYPE: |
| RETURNS | DESCRIPTION |
|---|---|
Doc | The document, with accents removed in |