knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
sentimental
: Tools to Work with the text-processing.com
API.
If you have modest NLP needs, this API package provides an alternative to getting Java-based packages to work or performing processing on your local system.
NOTE: There is a limit of 1,000 API calls per day imposed by the API.
The following functions are implemented:
part_of_speech
: Part-of-peech tagging and chunking on text
phrase_extract`: Phrase extraction & named entity recognition on textsentiment
: Analyze the sentiment of textsentimental
: Tools to Work with the 'text-processing.com' APIstem
: Perform word stemming on textlist
)devtools::install_github("hrbrmstr/sentimental")
options(width=120)
library(sentimental) # current verison packageVersion("sentimental")
library(sentimental) library(testthat) date() sentiment("hi friend") stem("interestingly enough they overwhelmingly supported the wrong candidate") part_of_speech("hello world") phrase_extract("Maine is nice")
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.