packs <- suppressWarnings(readLines("R/zzz.R"))

rinker <- grep("^\\s+rinker_packs_full <-", packs)[1]
blanks <- grep("^\\s*$", packs)
packs <- eval(parse(text=packs[rinker:(blanks[blanks > rinker][1]-1)]))

packs <- sort(c(na.omit(unlist(packs))))
packrefs <- paste(paste0(
        seq_along(packs), ". [", gsub("trinker/", "", packs), "](", sprintf("https://github.com/%s", packs), ")"
    ), collapse="\n")
desc <- suppressWarnings(readLines("DESCRIPTION"))
regex <- "(^Version:\\s+)(\\d+\\.\\d+\\.\\d+)"
loc <- grep(regex, desc)
ver <- gsub(regex, "\\2", desc[loc])
verbadge <- sprintf('<a href="https://img.shields.io/badge/Version-%s-orange.svg"><img src="https://img.shields.io/badge/Version-%s-orange.svg" alt="Version"/></a></p>', ver, ver)
````

[![Project Status: Active - The project has reached a stable, usable state and is being actively developed.](http://www.repostatus.org/badges/0.1.0/active.svg)](http://www.repostatus.org/#active)
[![Build Status](https://travis-ci.org/trinker/rnltk.svg?branch=master)](https://travis-ci.org/trinker/rnltk)
[![Coverage Status](https://coveralls.io/repos/trinker/rnltk/badge.svg?branch=master)](https://coveralls.io/r/trinker/rnltk?branch=master)
`r verbadge`

<img src="inst/rnltk_logo/r_rnltk_logo.png" width="200" alt="rnltk Logo">  

**rnltk** is a natural language tool kit for R.  It is inspired by Python's [NLTK](http://www.nltk.org/) 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:

```r
cat(packrefs)

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.

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



trinker/rnltk documentation built on May 31, 2019, 10:40 p.m.