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
111 stars 29 forks source link

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

Closed aricohen93 closed 1 month ago

aricohen93 commented 2 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 1 month 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 1 month ago

Closing since #307 has been merged