i am trying to turn a list of tweets into a dfm and it occasionally creates an error on special characters. here's an example:
library(quanteda)
x <- dfm(corpus("あ゙づい゙"))
Error in Matrix::sparseMatrix(i = index, p = cumsum(c(1, lengths(x))) - :
NA's in (i,j) are not allowed
i am trying to turn a list of tweets into a dfm and it occasionally creates an error on special characters. here's an example: