Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chezou/spacyr-sparklyr

Example code of spacyr with sparklyr
https://github.com/chezou/spacyr-sparklyr

Last synced: 3 months ago
JSON representation

Example code of spacyr with sparklyr

Awesome Lists containing this project

README

        

# spacyr example with sparklyr
This example will extract named entity from text and extract with spark_apply() of sparklyr.
[spacyr](https://github.com/kbenoit/spacyr) is R binding of [SpaCy](https://spacy.io/), which is Python library for NLP.
spacyr requires Python with Spacy.

## How to use it
1. Run `install_spacy.sh` on CDSW terminal
2. Install following packages on R session:
- `devtools::install_github("rstudio/sparklyr")`
- `install.packages(c("janeaustenr"))`
3. Open sparcyr-sparklyr.R on CDSW session and run all

If you are not CDSW user, please run them on gateway node.