jwijffels / ceta-txtmining

An overview of text mining visualisations possibilities with R on the CETA trade agreement (Canada / EU)
10 stars 12 forks source link

Trying to use pattern.nlp in Rstudio 3.5.1 - text mining #2

Closed shashankgjoshi closed 6 years ago

shashankgjoshi commented 6 years ago

I am trying to replicate the CETA code in Rsutdio 3.5.1 but am getting an error for pattern.nlp package. It does not recognize it. pattern_pos function cannot be used. When I searched CRAN repositories patternator, patternclass and patternplot are available.

Is there a different way of installing this code when changes using pattern.nlp class?

jwijffels commented 6 years ago

No, there is not. pattern.nlp is available at https://github.com/bnosac/pattern.nlp, it is not available on CRAN. If advise you to use the udpipe R package. It provides you anything you need regarding text mining. That package is on CRAN: https://CRAN.R-project.org/package=udpipe

shashankgjoshi commented 6 years ago

thanks. Just tried to install udpipe in R studio. it say package not available.

jwijffels commented 6 years ago

udpipe is on CRAN: https://CRAN.R-project.org/package=udpipe

shashankgjoshi commented 6 years ago

Yes...I saw it but sorry am trying to install something out of R studio for the first time...how do i get it into R studio? thanks

shashankgjoshi commented 6 years ago

Done. thanks.