Description Usage Arguments Examples
Returns each entity extracted from the input. The response is a list of extracted entities. Each entity includes an entityId (Wikidata QID or temporary ID), mention (entity text in the input), normalized text (complete form of the entity in the input), and the count (number of mentions of entity in the input).
1 | ros_entities(content, genre = NULL, language = NULL)
|
content |
either a URI or character vector of content to process |
genre |
document genre (optional) |
language |
Language: ISO 639-3 code (optional) |
1 2 3 4 | txt <- c("Bill Murray will appear in new Ghostbusters film: Dr. Peter Venkman was ",
"spotted filming a cameo in Boston this<e2><80><a6> http://dlvr.it/BnsFfS")
txt <- paste0(txt, collapse="")
ros_entities(txt)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.