PolMine / dbpedia

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

column 'start' included if DBpedia return value is empty table #59

Open ablaette opened 4 months ago

ablaette commented 4 months ago

When running get_dbpedia_uris() on GermaParl, I have a result with column "start" for some legislative periods. Presumably, this results from ...

  dt_empty <- data.table(
    doc_id = character(),  
    start = integer(),
    text = character(),
    dbpedia_uri = character(),
    types = character()
  )