Skip to content
Back to skills

Hunspell

ASecurity

R hunspell package for spell checking. Use for spell checking and morphological analysis.

  • 5 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added June 4, 2026
dataperformance

Security analysis

A100/100

Scanned June 4, 2026

npx -y skills add LeoLin990405/r-analytics-skill --skill hunspell --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Hunspell?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Hunspell
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/leolin990405-hunspell/badge)](https://www.skillsdirectory.com/skills/leolin990405-hunspell)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: hunspell
description: R hunspell package for spell checking. Use for spell checking and morphological analysis.
---

# hunspell

High-performance stemmer, tokenizer, and spell checker.

## Spell Checking

```r
library(hunspell)

# Check spelling
hunspell("This is a tset of speling")

# Returns list of misspelled words
hunspell(c("hello", "wrold", "test"))
```

## Suggestions

```r
# Get suggestions for misspelled word
hunspell_suggest("speling")

# Multiple words
hunspell_suggest(c("speling", "wrold"))
```

## Check Single Word

```r
# Check if word is correct
hunspell_check("hello")
hunspell_check("wrold")

# Multiple words
hunspell_check(c("hello", "wrold", "test"))
```

## Stemming

```r
# Get word stems
hunspell_stem("running")
hunspell_stem("cats")

# Multiple words
hunspell_stem(c("running", "cats", "better"))
```

## Analyze

```r
# Morphological analysis
hunspell_analyze("running")
hunspell_analyze("cats")
```

## Dictionaries

```r
# List available dictionaries
list_dictionaries()

# Use specific dictionary
hunspell("bonjour", dict = "fr_FR")

# Download dictionary
# dictionary(lang = "de_DE")
```
## Custom Dictionary

```r
# Add words to dictionary
dict <- dictionary("en_US", add_words = c("RStudio", "tidyverse"))
hunspell("RStudio", dict = dict)
```

## Tokenization

```r
# Parse text into words
hunspell_parse("This is a test sentence.")

# With format
hunspell_parse("This is a test.", format = "text")
hunspell_parse("<p>HTML text</p>", format = "html")
hunspell_parse("\\LaTeX{} text", format = "latex")
```

## With Text Data

```r
# Check document
text <- "This is a tset of the speling checker."
misspelled <- hunspell(text)[[1]]

# Get suggestions for each
suggestions <- hunspell_suggest(misspelled)
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.