Module: PragmaticSegmenter::Languages::Common::AmPmRules

Defined in:
lib/pragmatic_segmenter/languages/common/numbers.rb

Constant Summary collapse

UpperCasePmRule =
Rule.new(/(?<=P∯M)∯(?=\s[A-Z])/, '.')
UpperCaseAmRule =
Rule.new(/(?<=A∯M)∯(?=\s[A-Z])/, '.')
LowerCasePmRule =
Rule.new(/(?<=p∯m)∯(?=\s[A-Z])/, '.')
LowerCaseAmRule =
Rule.new(/(?<=a∯m)∯(?=\s[A-Z])/, '.')
All =
[UpperCasePmRule, UpperCaseAmRule, LowerCasePmRule, LowerCaseAmRule]