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

A new version of the ropensci hunspell package has been released to CRAN. Hunspell is the spell checker library used by LibreOffice, OpenOffice, Mozilla Firefox, Google Chrome, Mac OS-X, InDesign, Opera, RStudio and many others. It provides a system for tokenizing, stemming and spelling in almost any language or alphabet. The R package exposes both the high-level spell-checker as well as low-level stemmers and tokenizers which analyze or extract individual words from various formats (text, html, xml, latex).

New Vignette

This new version now includes a beautiful vignette which gives an overview of the main functionality to get you started! It demonstrates the tokenizer, stemmer and spell-checker and has an example how to use the stemmer and tokenizer to create a word cloud from a large body of text.

Hunspell vignette

Installing and Updating

The package is most easily installed from CRAN:


Or to get the latest version from Github:


This package does not require any system dependencies (libhunspell is now bundled with the package).

comments powered by Disqus