Description Usage Arguments See Also Examples
View source: R/bert_base_german_case_hatespeech.R
wt_predict_labels_ner_german_large
returns a tidy data frame
of tokens classified as named entities including probabilities.
1 |
sentence |
A character vector with a sentence compatible with the model. |
https://huggingface.co/deepset/bert-base-german-cased-hatespeech-GermEval18Coarse for further information about this model.
1 2 3 4 5 6 7 8 | ## Not run:
wt_load_model("ner_german_large")
# example sentence
sentence_example <- "Der Wichser muss raus."
# get predictions
wt_predict_bert_base_german_cased_hatespeech(sentence = sentence_example)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.