lib/pragmatic_segmenter/languages/amharic.rb in pragmatic_segmenter-0.3.7 vs lib/pragmatic_segmenter/languages/amharic.rb in pragmatic_segmenter-0.3.8
- old
+ new
@@ -2,10 +2,10 @@
module Languages
module Amharic
include Languages::Common
SENTENCE_BOUNDARY_REGEX = /.*?[፧።!\?]|.*?$/
- Punctuations = ['።', '፧', '?', '!']
+ Punctuations = ['።', '፧', '?', '!'].freeze
class AbbreviationReplacer < AbbreviationReplacer
SENTENCE_STARTERS = [].freeze
end
end