You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
quanteda::dfm() get's stuck in certain tokenized tweets. I'm getting:
"Error in qatd_cpp_tokens_replace(x, type, ids_pat, ids_repl) :
Not compatible with requested type: [type=NULL; target=double]."
Reproducible code
stucked_tweet<-"@POTUS Lol too funny yes we're all tired of Jim #Acosta too President Trump Gets Angry At Jim Acosta of CNN… https://t.co/gzUw4PF4s8"t<- tokens(tolower(stucked_tweet), remove_numbers=T, remove_punct=T, remove_url=T)
tt<- tokens_remove(t, pattern="^@\\b", valuetype="regex")
t.dfm<- dfm(tt, remove_twitter=T)
Describe the bug
quanteda::dfm()
get's stuck in certain tokenized tweets. I'm getting:"Error in qatd_cpp_tokens_replace(x, type, ids_pat, ids_repl) :
Not compatible with requested type: [type=NULL; target=double]."
Reproducible code
## System information
Please run
sessionInfo()
and paste the output.Any idea? thanks in advance!
The text was updated successfully, but these errors were encountered: