lib/pragmatic_segmenter/languages/english.rb in pragmatic_segmenter-0.3.1 vs lib/pragmatic_segmenter/languages/english.rb in pragmatic_segmenter-0.3.2

- old
+ new

@@ -1,12 +1,11 @@ module PragmaticSegmenter module Languages - class English - class Process < PragmaticSegmenter::Process - end + module English + include Languages::Common - class Cleaner < PragmaticSegmenter::Cleaner + class Cleaner < Cleaner def clean super clean_quotations(@clean_text) end @@ -16,17 +15,9 @@ txt.gsub(/`/, "'") end def abbreviations [] - end - end - - class AbbreviationReplacer < PragmaticSegmenter::AbbreviationReplacer - private - - def abbreviations - PragmaticSegmenter::Abbreviation.new end end end end end