Skip to content

Could I please have some help with pyspelling in a CI pipeline? #173

Discussion options

You must be logged in to vote

Aspell doesn't actually have intelligent handling for possessive words. You basically have two options when dealing with possessive words.

  1. Add the possessive form to the dictionary.

  2. Create a filter that will ignore the possessive part of the word. By ignoring 's, the word will be treated as a non-possessive word.

      - pyspelling.filters.context:
          context_visible_first: true
          delimiters:
          # Ignore possessive endings
          - open: '(?<=\w)''s(?!\w)'
            close: '\b'

Replies: 8 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by facelessuser
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
S: triage Issue needs triage.
2 participants
Converted from issue

This discussion was converted from issue #172 on May 17, 2023 13:32.