Create custom entities with spacyR

I work in a hospital and would like to search medical texts for certain diagnosis using Named Entity Recognition (NER). There is a large list of diagnoses I can use as list to search for in a medical text and I would like to use the spacyR package to create custom entities for NER analysis based on this list.

I've seen that you can create custom entities in Python using the SpaCy package (, but have not found examples in R. I really want to do this in R since I'm more comfortable in this language. Does anyone have experience with creating custom entitites in R and could you share how to do this?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.