PolMine / dbpedia

R Wrapper for Corpus Annotation with DBpedia Spotlight
3 stars 0 forks source link

fn `wikidata_query()` requires wikidata IDs - fails for wikidata URIs #13

Open ablaette opened 12 months ago

ablaette commented 12 months ago

The function could be more robust in that respect. It should check whether the incoming vector is valid IDs and give telling feedback. The error message you get is not telling if it is not IDs that are passed.