Skip to content

Help with sequence extension? #978

Answered by jdkato
daobrien asked this question in Q&A
Discussion options

You must be logged in to vote

I think you want to negate the final token:

extends: sequence
message: "Don't use '%s'."
tokens:
  - pattern: following
  - tag: NN|NNS|NNP|NNPS
    negate: true

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@daobrien
Comment options

@daobrien
Comment options

Answer selected by daobrien
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants