lib/pragmatic_segmenter/languages/english.rb in pragmatic_segmenter-0.3.5 vs lib/pragmatic_segmenter/languages/english.rb in pragmatic_segmenter-0.3.6
- old
+ new
@@ -17,8 +17,15 @@
def abbreviations
[]
end
end
+
+ class AbbreviationReplacer < AbbreviationReplacer
+ SENTENCE_STARTERS = %w(
+ A Being Did For He How However I In It Millions More She That The
+ There They We What When Where Who Why
+ ).freeze
+ end
end
end
end