hunspell v3.0

0

Monthly downloads

0th

Percentile

High-Performance Stemmer, Tokenizer, and Spell Checker

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 parse text, latex, html or xml documents. For a more user-friendly interface use the 'spelling' package which builds on this package to automate checking of files, documentation and vignettes in all common formats.

Readme

hunspell

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

Project Status: Active – The project has reached a stable, usable state and is being actively developed. 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:

install.packages("hunspell")

Documentation

About the R package:

Hello World

# Check individual words
words <- c("beer", "wiskey", "wine")
correct <- hunspell_check(words)
print(correct)

# Find suggestions for incorrect words
hunspell_suggest(words[!correct])

# Extract incorrect from a piece of text
bad <- hunspell("spell checkers are not neccessairy for langauge ninja's")
print(bad[[1]])
hunspell_suggest(bad[[1]])

# Stemming
words <- c("love", "loving", "lovingly", "loved", "lover", "lovely", "love")
hunspell_stem(words)
hunspell_analyze(words)

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

# Spell check a package
library(spelling)
spell_check_package("~/mypackage")

Functions in hunspell

Name Description
hunspell Hunspell Spell Checking and Morphological Analysis
No Results!

Vignettes of hunspell

Name
intro.Rmd
No Results!

Last month downloads

Details

Type Package
Encoding UTF-8
License GPL-2 | LGPL-2.1 | MPL-1.1
URL https://github.com/ropensci/hunspell#readme (devel) https://hunspell.github.io (upstream)
BugReports https://github.com/ropensci/hunspell/issues
LinkingTo Rcpp (>= 0.12.12)
VignetteBuilder knitr
RoxygenNote 6.1.1
Language en-US
NeedsCompilation yes
Packaged 2018-12-15 15:40:04 UTC; jeroen
Repository CRAN
Date/Publication 2018-12-15 16:20:03 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/hunspell)](http://www.rdocumentation.org/packages/hunspell)