Sha256: 354ea74574399123a3c44078df8fb5eb77b8d2a52b8df6c7e2fb137d1e089439

Contents?: true

Size: 351 Bytes

Versions: 7

Compression:

Stored size: 351 Bytes

Contents

# frozen_string_literal: true

module PragmaticSegmenter
  module Languages
    module Urdu
      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/urdu.rb
pragmatic_segmenter-0.3.23 lib/pragmatic_segmenter/languages/urdu.rb
pragmatic_segmenter-0.3.22 lib/pragmatic_segmenter/languages/urdu.rb
pragmatic_segmenter-0.3.21 lib/pragmatic_segmenter/languages/urdu.rb
pragmatic_segmenter-0.3.20 lib/pragmatic_segmenter/languages/urdu.rb
pragmatic_segmenter-0.3.19 lib/pragmatic_segmenter/languages/urdu.rb
pragmatic_segmenter-0.3.18 lib/pragmatic_segmenter/languages/urdu.rb