Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Commit

Permalink
fix: update dictionaries for typo (#817)
Browse files Browse the repository at this point in the history
* fix: update typo dictionaries

* docs: document download location for dictionaries
  • Loading branch information
dan-mba authored Aug 16, 2024
1 parent 2e186b2 commit 7ab2477
Show file tree
Hide file tree
Showing 3 changed files with 343 additions and 40 deletions.
3 changes: 3 additions & 0 deletions src/typo/dict/en_US/dictionaries.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Hunspell Dictionaries

These dictionaries are downloaded from LibreOffice [repo](https://cgit.freedesktop.org/libreoffice/dictionaries/tree/en)
8 changes: 5 additions & 3 deletions src/typo/dict/en_US/en_US.aff
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 2024-01-29 (Marco A.G.Pinto)
# - Fix: apostrophe handling, by adding: WORDCHARS 0123456789’ to the .aff.
#

SET UTF-8
TRY esianrtolcdugmphbyfvkwzESIANRTOLCDUGMPHBYFVKWZ'
ICONV 1
Expand All @@ -14,9 +18,7 @@ ONLYINCOMPOUND c
COMPOUNDRULE 2
COMPOUNDRULE n*1t
COMPOUNDRULE n*mp

# Jeroen: removed numbers from WORDCHARS for R
WORDCHARS ’
WORDCHARS 0123456789’

PFX A Y 1
PFX A 0 re .
Expand Down
Loading

0 comments on commit 7ab2477

Please sign in to comment.