Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stopwords temp fix #109

Merged
merged 4 commits into from
Dec 18, 2023
Merged

Stopwords temp fix #109

merged 4 commits into from
Dec 18, 2023

Conversation

jenniferjiangkells
Copy link
Member

@jenniferjiangkells jenniferjiangkells commented Dec 18, 2023

Although we discussed using MiADE_CAT to implement a fix for this, I feel it's not best practice to change the internals of MedCAT through our custom class and would prefer to avoid it if we can - so I think it's best to leave the stopword loading fix in a MedCAT PR CogStack/MedCAT#382

This temp fix is implemented on MiADE side - it reloads the spacy model and MedCAT pipe creation, which reloads the stopwords correctly (so even if the bug gets fixed this is still backwards compatible, just an extra step at initialisation).

I'm hoping that we can use this temp fix for testing in DEV only, and just update to the latest MedCAT once the fix is implemented for TEST and PROD.

@jenniferjiangkells jenniferjiangkells self-assigned this Dec 18, 2023
@jenniferjiangkells jenniferjiangkells merged commit cd07324 into master Dec 18, 2023
1 check passed
@jamesbrandreth
Copy link
Member

100% with you re best practice there - good quick fix too

@jenniferjiangkells jenniferjiangkells deleted the stopwords-fix branch January 26, 2024 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants