Suppress heading capitalization rule (#5775)
* Start applying heading capitalization rules after a period Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Suppress heading capitalization rule Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> --------- Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
This commit is contained in:
parent
812ad0ffbd
commit
0d08349836
|
@ -6,5 +6,7 @@ match: $sentence
|
||||||
threshold: 1
|
threshold: 1
|
||||||
indicators:
|
indicators:
|
||||||
- ":"
|
- ":"
|
||||||
|
- "."
|
||||||
|
- ")"
|
||||||
exceptions:
|
exceptions:
|
||||||
- k # ignores lowercase k-NN
|
- k # ignores lowercase k-NN
|
|
@ -30,6 +30,10 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
# 1. This should not be flagged
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
# Example: should be flagged
|
# Example: should be flagged
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
|
@ -30,7 +30,7 @@ OpenSearch.FailoverNoun = YES
|
||||||
OpenSearch.FailoverVerb = YES
|
OpenSearch.FailoverVerb = YES
|
||||||
OpenSearch.FutureTense = NO
|
OpenSearch.FutureTense = NO
|
||||||
OpenSearch.HeadingAcronyms = YES
|
OpenSearch.HeadingAcronyms = YES
|
||||||
OpenSearch.HeadingCapitalization = YES
|
OpenSearch.HeadingCapitalization = NO
|
||||||
OpenSearch.HeadingColon = YES
|
OpenSearch.HeadingColon = YES
|
||||||
OpenSearch.HeadingPunctuation = YES
|
OpenSearch.HeadingPunctuation = YES
|
||||||
OpenSearch.Inclusive = YES
|
OpenSearch.Inclusive = YES
|
||||||
|
|
Loading…
Reference in New Issue