ropensci/hunspell

Name: hunspell

Owner: rOpenSci

Description: High-Performance Stemmer, Tokenizer, and Spell Checker for R

Created: 2016-03-09 21:00:14.0

Updated: 2018-01-15 17:28:31.0

Pushed: 2017-12-26 15:01:25.0

Homepage:

Size: 4108

Language: C++

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

hunspell

High-Performance Stemmer, Tokenizer, and Spell Checker for R

Build Status AppVeyor Build Status Coverage Status CRAN_Status_Badge CRAN RStudio mirror downloads Github Stars

Low level spell checker and morphological analyzer based on the famous hunspell library https://hunspell.github.io. The package can analyze or check individual words as well as tokenize text, latex, html or xml documents. For a more user-friendly interface use the 'spelling' package which builds on this package with utilities to automate checking of files, documentation and vignettes in all common formats.

Installation

This package includes a bundled version of libhunspell and no longer depends on external system libraries:

all.packages("hunspell")
Documentation

About the R package:

Hello World
eck individual words
s <- c("beer", "wiskey", "wine")
ect <- hunspell_check(words)
t(correct)

nd suggestions for incorrect words
pell_suggest(words[!correct])

tract incorrect from a piece of text
<- hunspell("spell checkers are not neccessairy for langauge ninja's")
t(bad[[1]])
pell_suggest(bad[[1]])

emming
s <- c("love", "loving", "lovingly", "loved", "lover", "lovely", "love")
pell_stem(words)
pell_analyze(words)

The spelling package uses this package to spell R package documentation:

ell check a package
ary(spelling)
l_check_package("~/mypackage")


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.