We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c6cd00 commit 4a5568eCopy full SHA for 4a5568e
lib/docsplit/text_cleaner.rb
@@ -24,7 +24,7 @@ class TextCleaner
24
REPEAT = /([^0-9])\1{2,}/
25
UPPER = /[A-Z]/
26
LOWER = /[a-z]/
27
- ACRONYM = /^\(?[A-Z0-9\.]+('?s)?\)?[.,:]?$/
+ ACRONYM = /^\(?[A-Z0-9\.-]+('?s)?\)?[.,:]?$/
28
ALL_ALPHA = /^[a-z]+$/i
29
CONSONANT = /(^y|[bcdfghjklmnpqrstvwxz])/i
30
VOWEL = /([aeiou]|y$)/i
0 commit comments