Sha256: eeb2f2e2eebd187ef78a9df35f256214d0a21e7aa60c2a6a805c2e02ac8eb08d

Contents?: true

Size: 358 Bytes

Versions: 7

Compression:

Stored size: 358 Bytes

Contents

# frozen_string_literal: true

module PragmaticSegmenter
  module Languages
    module Amharic
      include Languages::Common

      SENTENCE_BOUNDARY_REGEX = /.*?[፧።!\?]|.*?$/
      Punctuations = ['።', '፧', '?', '!'].freeze

      class AbbreviationReplacer < AbbreviationReplacer
        SENTENCE_STARTERS = [].freeze
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pragmatic_segmenter-0.3.24 lib/pragmatic_segmenter/languages/amharic.rb
pragmatic_segmenter-0.3.23 lib/pragmatic_segmenter/languages/amharic.rb
pragmatic_segmenter-0.3.22 lib/pragmatic_segmenter/languages/amharic.rb
pragmatic_segmenter-0.3.21 lib/pragmatic_segmenter/languages/amharic.rb
pragmatic_segmenter-0.3.20 lib/pragmatic_segmenter/languages/amharic.rb
pragmatic_segmenter-0.3.19 lib/pragmatic_segmenter/languages/amharic.rb
pragmatic_segmenter-0.3.18 lib/pragmatic_segmenter/languages/amharic.rb