R/data.R

#' An R wrapper to the spaCy NLP system
#' 
#' An R wrapper to the Python (Cython) spaCy NLP system, from
#' \url{http://spacy.io}. Nicely integrated with \pkg{quanteda}.  \pkg{spacyr}
#' is designed to provide easy access to the powerful functionality of spaCy, in
#' a simple format.
#' 
#' 
#' @references \url{https://spacy.io}, \url{https://spacyr.quanteda.io}.
#' @author Ken Benoit and Akitaka Matsuo
"_PACKAGE"

#' Sample short documents for testing
#' 
#' A character object consisting of 30 short documents in plain text format for
#' testing.  Each document is one or two brief sentences.
"data_char_sentences"

#' A short paragraph of text for testing
#' 
#' A sample of text from the Irish budget debate of 2010 (531 tokens long).
"data_char_paragraph"

Try the spacyr package in your browser

Any scripts or data that you put into this service are public.

spacyr documentation built on March 26, 2020, 5:25 p.m.