The goal of experiencemineR is to create an R wrapper around this text classification pipeline.
To run text_preprocessor()
:
- Install
R
packagereticulate
:install.packages('reticulate')
. - Install
Python
packageemojis
:
library(reticulate)
py_install('emojis')
- If (2) does not work, go to RStudio's Terminal tab and run
pip install emojis
. - Run:
library(experiencemineR)
text_preprocessor("Add some random stuff in here !!! ? \n and here 4 %£&* \r.")
# not run: [1] "Add some random stuff in here and here 4 "