Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hunspell returns a word although it is in the custom dictionary #56

Open
ThierryO opened this issue Oct 4, 2024 · 0 comments
Open

hunspell returns a word although it is in the custom dictionary #56

ThierryO opened this issue Oct 4, 2024 · 0 comments

Comments

@ThierryO
Copy link
Member

ThierryO commented Oct 4, 2024

Reproducible example.

library(hunspell)
hunspell(
  "een entiteitsoverschrijdende werking",
  dict = dictionary(lang = "nl_BE", add_words = "entiteitsoverschrijdende")
)

returns the word below but it should return an empty character vector:

[[1]]
[1] "entiteitsoverschrijdende"

Related issue: inbo/checklist#143

Session info:

─ Session info ────────────────────────────────────────────────────────────────────────────────────────────────
 setting  value
 version  R version 4.4.1 (2024-06-14)
 os       Ubuntu 22.04.5 LTS
 system   x86_64, linux-gnu
 ui       RStudio
 language nl_BE:nl
 collate  nl_BE.UTF-8
 ctype    nl_BE.UTF-8
 tz       Europe/Brussels
 date     2024-10-04
 rstudio  2024.09.0+375 Cranberry Hibiscus (desktop)
 pandoc   3.1.8 @ /usr/bin/pandoc

─ Packages ────────────────────────────────────────────────────────────────────────────────────────────────────
 package     * version date (UTC) lib source
 cli           3.6.3   2024-06-21 [1] CRAN (R 4.4.0)
 digest        0.6.37  2024-08-19 [1] CRAN (R 4.4.1)
 fortunes      1.5-4   2016-12-29 [1] CRAN (R 4.4.0)
 hunspell    * 3.0.5   2024-10-04 [1] Github (ropensci/hunspell@05dcaa1)
 pak           0.8.0   2024-08-26 [1] CRAN (R 4.4.1)
 Rcpp          1.0.13  2024-07-17 [1] CRAN (R 4.4.1)
 rstudioapi    0.16.0  2024-03-24 [1] CRAN (R 4.4.0)
 sessioninfo   1.2.2   2021-12-06 [1] CRAN (R 4.4.0)

 [1] /home/thierry/R/x86_64-pc-linux-gnu-library/4.4
 [2] /usr/local/lib/R/site-library
 [3] /usr/lib/R/site-library
 [4] /usr/lib/R/library

───────────────────────────────────────────────────────────────────────────────────────────────────────────────
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

No branches or pull requests

1 participant