Module: PragmaticSegmenter::Languages::Deutsch::Numbers

Defined in:
lib/pragmatic_segmenter/languages/deutsch.rb

Constant Summary collapse

NumberPeriodSpaceRule =
Rule.new(/(?<=\s[0-9]|\s([1-9][0-9]))\.(?=\s)/, '')
NegativeNumberPeriodSpaceRule =
Rule.new(/(?<=-[0-9]|-([1-9][0-9]))\.(?=\s)/, '')
All =
[
  Common::Numbers::All,
  NumberPeriodSpaceRule,
  NegativeNumberPeriodSpaceRule
]