Replies: 1 comment
-
|
Hello 🙂 From codespell's README:
SymSpellpy seems like it can be used on any contents too.
Thanks, we could probably add one or two examples to make it more clear.
Please open an issue with a reproducible example 😄
If you enable both, both should run independently (you'll get warnings from both). Here's what this plugin does, basically: for word in words:
for backend in self.backends.values():
backend.check(page, word)If that's not what you're witnessing, please open an issue with a reproducible example 😄 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I mentioned this tool to my project lead, and he was initially concerned about my choice to use
codespellbecause it was his understanding that it was aimed at code. I chose it because we are currently using it as part of our workflow, however I glossed over the usage ofenchantin addition tocodespell.I understand you're not the dev for either backend, but I figured you might potentially have an answer to this anyway.
I looked into the docs for
codespellandsymspellpyand I'm not finding an answer to my basic question of: are they good all-around spellcheckers or do they have a more specific use case? Your documentation of the variouscodespelldictionaries implies it might be, but I'm unclear on whatfor unambiguous errorsmeans with regards to thecleardictionary. The others are more obvious to me.In my current build, (which is loaded with problems right now because I haven't gotten to cleaning up the rST-converted Markdown yet)
codespellis failing on a translated word only.symspellpyis failing on a bunch of things, some of which are in theknown_wordsfile I supplied.I'm also unclear on whether I can use both backends at the same time. I added
symspellpyto my configuration abovecodespelland, as far as I can tell, it preferredsymspellpy. I also noticed thatsymspellpyseems to have ignored myknown_wordsfile - though I'm not sure if this is because I was trying to use both backends at the same time.Thanks for your time!
Kattni
Beta Was this translation helpful? Give feedback.
All reactions