Module: PragmaticSegmenter::Languages::Deutsch::Numbers
- Defined in:
- lib/pragmatic_segmenter/languages/deutsch.rb
Constant Summary collapse
- NumberPeriodSpaceRule =
Rubular: rubular.com/r/hZxoyQwKT1
Rule.new(/(?<=\s[0-9]|\s([1-9][0-9]))\.(?=\s)/, '∯')
- NegativeNumberPeriodSpaceRule =
Rubular: rubular.com/r/ityNMwdghj
Rule.new(/(?<=-[0-9]|-([1-9][0-9]))\.(?=\s)/, '∯')
- All =
[ Common::Numbers::All, NumberPeriodSpaceRule, NegativeNumberPeriodSpaceRule ]