aphp / edsnlp

Modular, fast NLP framework, compatible with Pytorch and spaCy, offering tailored support for French clinical notes.
https://aphp.github.io/edsnlp/
BSD 3-Clause "New" or "Revised" License
116 stars 30 forks source link

Feature request: make context words before and after (different) #301

Closed aricohen93 closed 4 months ago

aricohen93 commented 5 months ago

Feature type

improve

Description

make context words before and after (different) here : https://github.com/aphp/edsnlp/blob/master/edsnlp/utils/span_getters.py#L140

percevalw commented 4 months ago

Hi @aricohen93 ! Do you have a use case in mind for the asymmetric context ? Knowing the span_context_getter is mostly used in conjunction with the eds.span_classifier component

percevalw commented 4 months ago

Closing since #307 has been merged