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

fix: param sampling AdicapCode #131

Closed etienneguevel closed 2 years ago

etienneguevel commented 2 years ago

Change the parameter name sampling into sampling_code in the AdicapCode model

Description

The decode function of the Adicap class calls the model AdicapCode while using a wrong argument (sampling_mode, instead of sampling). This fix proposes to change sampling by sampling_mode in the AdicapCode, as intented in its later uses and in the documentation.

Checklist