Filtering with pyspelling.filters.context #165
-
I am trying to filter out things like this
but I still get |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
I don't know what other filters you are using, but assuming you aren't using the Markdown filter and enabling the emoji extension to process the emoji, you could do something like this: - pyspelling.filters.context:
context_visible_first: true
delimiters:
- open: ':'
content: '[\w-]+'
close: ':' We don't know if they will be at the start of the chunk being evaluated so we don't want to specify |
Beta Was this translation helpful? Give feedback.
I don't know what other filters you are using, but assuming you aren't using the Markdown filter and enabling the emoji extension to process the emoji, you could do something like this:
We don't know if they will be at the start of the chunk being evaluated so we don't want to specify
^
. We also don't know if it will be at the end, so we won't use$
.