Skip to content

Commit

Permalink
SPARQL in Remotes corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Blätte authored and Andreas Blätte committed Sep 24, 2023
1 parent fa40157 commit 119e2c5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Suggests:
WikidataQueryServiceR
Remotes:
polmineR=github::PolMine/polmineR@dev,
ggplot2=url::https://cran.r-project.org/src/contrib/Archive/SPARQL/SPARQL_1.16.tar.gz
SPARQL=url::https://cran.r-project.org/src/contrib/Archive/SPARQL/SPARQL_1.16.tar.gz
VignetteBuilder: knitr
SystemRequirements: docker
LazyData: true
Expand Down
2 changes: 1 addition & 1 deletion R/dbpedia.R
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ setMethod("get_dbpedia_uris", "subcorpus", function(x, language = getOption("dbp
#' uritab <- corpus("REUTERS") %>%
#' split(s_attribute = "id", verbose = FALSE) %>%
#' get_dbpedia_uris(language = "en", p_attribute = "word", verbose = TRUE)
setMethod("get_dbpedia_uris", "subcorpus_bundle", function(x, language, p_attribute = "word", s_attribute = NULL, confidence = 0.35, api = "http://localhost:2222/rest/annotate", max_len = 6067L, verbose = TRUE){
setMethod("get_dbpedia_uris", "subcorpus_bundle", function(x, language = getOption("dbpedia.lang"), p_attribute = "word", s_attribute = NULL, confidence = 0.35, api = getOption("dbpedia.endpoint"), max_len = 6067L, verbose = TRUE){

if (verbose){
env <- parent.frame()
Expand Down
4 changes: 2 additions & 2 deletions man/get_dbpedia_uris.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 119e2c5

Please sign in to comment.