This function performs a simple dictionary-based named entity recognition. For more advanced NER, consider using external tools via reticulate.
extract_ner(
text,
entity_types = c("disease", "drug", "gene"),
custom_dictionaries = NULL
)A data frame containing found entities, their types, and positions
Character vector of texts to process
Character vector of entity types to recognize
List of custom dictionaries (named by entity type)