Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trinker/rnltk
https://github.com/trinker/rnltk
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/trinker/rnltk
- Owner: trinker
- Created: 2016-01-16T20:54:10.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-06T04:22:54.000Z (almost 9 years ago)
- Last Synced: 2024-08-02T06:03:39.527Z (3 months ago)
- Language: R
- Size: 49.8 KB
- Stars: 18
- Watchers: 5
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.Rmd
Awesome Lists containing this project
README
---
title: "rnltk"
date: "`r format(Sys.time(), '%d %B, %Y')`"
output:
md_document:
toc: true
---```{r, echo=FALSE}
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('', 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`
**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, results='asis', echo=FALSE}
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](https://github.com/trinker/rnltk/issues) 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](http://www.nltk.org/book/) 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
# Installation
To download the development version of **rnltk**:
Download the [zip ball](https://github.com/trinker/rnltk/zipball/master) or [tar ball](https://github.com/trinker/rnltk/tarball/master), decompress and run `R CMD INSTALL` on it, or use the **pacman** package to install the development version:
```r
if (!require("pacman")) install.packages("pacman")
pacman::p_load_gh("trinker/rnltk")
```# Contact
You are welcome to:
- submit suggestions and bug-reports at:
- send a pull request on:
- compose a friendly e-mail to: