Closed swaheera closed 1 year ago
Your text data needs to be provided in UTF-8 encoding. See the 'try-it-out' documentation at https://cran.r-project.org/web//packages/udpipe/vignettes/udpipe-tryitout.html or at https://bnosac.github.io/udpipe/docs/doc0.html
The 6th element is not in UTF-8 encoding (assuming your have your computer setup on a latin1 locale). The following probably works on your machine.
out = udpipe(iconv(my_data$reviews, from = 'latin1', to = 'UTF-8'), object = eng_model)
I have the following data:
I am trying to follow the instructions here https://cran.r-project.org/web/packages/BTM/readme/README.html to make the visualization.
I tried to begin this process by running the following code:
But I now get this erorr:
Does anyone know why this error is being produced and what can I do to fix it?
Thanks!