Load a Sentiment or Language Tagger Model from Flair
Source:R/flaiR_loader.R
load_tagger_sentiments.Rd
This function loads a pre-trained sentiment or language tagger from the Flair library.
Arguments
- language
A character string specifying the language model to load. Supported models include:
"sentiment" - Sentiment analysis model
"sentiment-fast" - Faster sentiment analysis model
"de-offensive-language" - German offensive language detection model
If not provided, the function will default to the "sentiment" model.