edsnlp.processing.utils dummy_extractor(doc) Source code in edsnlp/processing/utils.py 6 7 8 9 10def dummy_extractor(doc: Doc) -> List[Dict[str, Any]]: return [ dict(snippet=ent.text, length=len(ent.text), note_datetime=doc._.note_datetime) for ent in doc.ents ]