View source: R/text_preprocessing.R
extract_ner | R Documentation |
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
)
text |
Character vector of texts to process |
entity_types |
Character vector of entity types to recognize |
custom_dictionaries |
List of custom dictionaries (named by entity type) |
A data frame containing found entities, their types, and positions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.