Skip to content

Loads a Named Entity Recognition model from Flair and displays its tag dictionary. Supports both standard NER and OntoNotes models.

Usage

load_tagger_ner(model_name = "ner", show_tags = TRUE)

Arguments

model_name

Character string specifying the model to load. Can be "ner" (default), "flair/ner-english-large", or "flair/ner-english-ontonotes"

show_tags

Logical, whether to display the tag dictionary. Default is TRUE.

Value

A Flair SequenceTagger model object