edsnlp.pipelines.core.normalizer.quotes
quotes
Quotes
Bases: object
We normalise quotes, following this
source <https://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html>
_.
PARAMETER | DESCRIPTION |
---|---|
quotes |
List of quotation characters and their transcription.
TYPE:
|
Source code in edsnlp/pipelines/core/normalizer/quotes/quotes.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
|
__call__(doc)
Normalises quotes.
PARAMETER | DESCRIPTION |
---|---|
doc |
Document to process.
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
Doc
|
Same document, with quotes normalised. |
Source code in edsnlp/pipelines/core/normalizer/quotes/quotes.py
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
|