vale: allow pluralized acronym initialization

E.g., "Large Language Models (LLMs)" permits the use of "LLM"

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson 2024-11-29 16:12:19 +01:00
parent c41ed45e6c
commit a2e4fd55e1
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ level: warning
ignorecase: false
# Ensures that the existence of 'first' implies the existence of 'second'.
first: '\b([A-Z]{2,5})\b'
second: '(?:\b[A-Z][a-z]+ )+\(([A-Z]{2,5})\)'
second: '(?:\b[A-Z][a-z]+ )+\(([A-Z]{2,5})s?\)'
# ... with the exception of these:
exceptions:
- AGPL