medcat.preprocessing.taggers
Module Contents
Classes
Functions
|
Detects and tags spacy tokens that are punctuation and that should be skipped. |
- medcat.preprocessing.taggers.tag_skip_and_punct(nlp, name, config)
Detects and tags spacy tokens that are punctuation and that should be skipped.
- class medcat.preprocessing.taggers._Tagger(nlp, name, config)
Bases:
medcat.pipeline.pipe_runner.PipeRunner
- Parameters:
nlp (spacy.language.Language) –
name (str) –
config (medcat.config.Config) –
- __init__(nlp, name, config)
- Parameters:
nlp (spacy.language.Language) –
name (str) –
config (medcat.config.Config) –
- Return type:
None
- __call__(doc)
- Parameters:
doc (spacy.tokens.Doc) –
- Return type:
spacy.tokens.Doc