rnltk
rnltk is a natural language tool kit for R. It is inspired by Python's NLTK porting and extending much of Python's functionality with some R flavor. The packages/functions that are included are designed to be more intuitive wrappers or optimized for performance. Currently, the package calls the following packages maintained by me:
- entity
- formality
- gofastr
- hclustext
- lexr
- parsent
- qdapRegex
- readability
- sentimentr
- stansent
- syllable
- tagger
- termco
- textproj
- textreadr
- textreport
- textshape
There are plans to add to this list including outside packages, focusing particularly on machine learning/classification packages. Please suggest packages and features with rationale as to how/why it would be important to include the request in a natural language tool kit.
To see all of the available packages and functions use the available()
function.
Additionally, I plan to replicate and extend much of the Natural Language Processing with Python book (Bird, Klein, & Loper, 2009) with equivalent rnltk code.
- Bird, S., Klein, E., & Loper, E. (2009). Natural Language Processing with Python (1st ed.). Beijing: O'Reilly Media
Table of Contents
- [Installation](#installation)
- [Contact](#contact)
Installation
To download the development version of rnltk:
Download the zip ball
or tar ball,
decompress and run R CMD INSTALL
on it, or use the pacman package
to install the development version:
if (!require("pacman")) install.packages("pacman")
pacman::p_load_gh("trinker/rnltk")
Contact
You are welcome to:
submit suggestions and bug-reports at: https://github.com/trinker/rnltk/issues
send a pull request on: https://github.com/trinker/rnltk/
compose a friendly e-mail to: tyler.rinker@gmail.com