pattern.nlp icon indicating copy to clipboard operation
pattern.nlp copied to clipboard

PyhtonInR not available anymore

Open MatthBogaert opened this issue 5 years ago • 1 comments

PythonInR is not available on cran anymore and is not compatible with newest version of R. Is it possible to make the package work with reticulate instead? The package worked before (using steps that you have on your github page), but cannot find PythonInR anymore. Anyone who has this problem?

MatthBogaert avatar Feb 25 '21 13:02 MatthBogaert

If you change the 4 lines at https://github.com/bnosac/pattern.nlp/blob/master/R/sentiment.R#L29 and the 7 lines at https://github.com/bnosac/pattern.nlp/blob/master/R/postagging.R#L69 to the reticulate equivalent, you are ready to go. If you just need the parts of speech tagging, I suggest you move on to using R package udpipe (https://cran.r-project.org/package=udpipe or https://github.com/bnosac/udpipe).

jwijffels avatar Feb 25 '21 14:02 jwijffels