class PragmaticSegmenter::Languages::Danish::Cleaner
Public Instance Methods
clean()
click to toggle source
Calls superclass method
PragmaticSegmenter::Cleaner#clean
# File lib/pragmatic_segmenter/languages/danish.rb, line 9 def clean super clean_quotations end
Private Instance Methods
abbreviations()
click to toggle source
# File lib/pragmatic_segmenter/languages/danish.rb, line 20 def abbreviations [].freeze end
clean_quotations()
click to toggle source
# File lib/pragmatic_segmenter/languages/danish.rb, line 16 def clean_quotations @text.gsub(/`/, "'") end