Disabling spaCy components means missing annotation data such as sentence boundaries and parsed data (i.e. head tree). What happens when we add back the sentencizer and parser spaCy components?
So far in my testing, nothing “bad” seems to happen. However, can others confirm this doesn’t lead to harmful side effects?
Hi @plandes there should be no harmful effects, unless you use NER components from spacy that somehow clash with MedCAT NER components. Things like sentencizer or parser will not affect anything.
Possibly because we’ve modified the standard spacy tokenizer and added some other rules, but should be minimal. One thing to check is that the spacy model you are using is exactly the same as the spacy model in the medcat pipeline and that all the components that help to detect sentence boundaries are enabled.
One more question on this: can you provide an example of text where the spelling is fixed and an abbreviation expanded for the purposes of a unit test case with my own setup? Thanks in advance.
Try typing the following Intracerebral heorrhage and CKD in the demo app here. It will detect the first part even though it is misspelt and also CKD even though it is an abbreviation. The text will not be touched, but internally the model will ignore the spelling mistakes and also detect abbreviations.