Closed ablaette closed 1 year ago
I updated the sample code as follows:
library(dbpedia)
library(polmineR)
doc <- corpus("NADIRASZ") %>%
subset(article_id == "A24554563")
dbpedia_links <- get_dbpedia_uris(x = doc, language = "de")
I do not See an error any more, so I close this issue.
This is my interpretation why the following code fails. There should be an informative message, if no links/matches are found.
Warning message: In stri_sub(str = s, from = start, to = end) : argument is not an atomic vector; coercing