Module: PragmaticSegmenter::Languages::Common::ExclamationPointRules
- Defined in:
- lib/pragmatic_segmenter/languages/common.rb
Constant Summary collapse
- InQuotationRule =
Rubular: rubular.com/r/XS1XXFRfM2
Rule.new(/\!(?=(\'|\"))/, '&ᓴ&')
- BeforeCommaMidSentenceRule =
Rubular: rubular.com/r/sl57YI8LkA
Rule.new(/\!(?=\,\s[a-z])/, '&ᓴ&')
- MidSentenceRule =
Rubular: rubular.com/r/f9zTjmkIPb
Rule.new(/\!(?=\s[a-z])/, '&ᓴ&')
- All =
[ InQuotationRule, BeforeCommaMidSentenceRule, MidSentenceRule ]