Skip to content

Add Persian/Farsi dictionary support#254

Merged
blopker merged 1 commit intoblopker:mainfrom
premier213:add-fa-ir-dictionary
May 3, 2026
Merged

Add Persian/Farsi dictionary support#254
blopker merged 1 commit intoblopker:mainfrom
premier213:add-fa-ir-dictionary

Conversation

@premier213
Copy link
Copy Markdown
Contributor

@premier213 premier213 commented Apr 29, 2026

Summary

Adds Persian/Farsi Hunspell dictionary support under the dictionary name fa_ir.

Changes

  • Adds fa_ir to HUNSPELL_DICTIONARIES
  • Uses the Persian Hunspell .aff and .dic files from wooorm/dictionaries
  • Documents fa_ir in the README available dictionaries list

Testing

  • cargo test test_dictionary_names_unique_and_snake_case
  • make test

Usage

dictionaries = ["en_us", "fa_ir"]

@blopker blopker merged commit ee435a8 into blopker:main May 3, 2026
10 checks passed
@blopker
Copy link
Copy Markdown
Owner

blopker commented May 3, 2026

Looks good. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants