Sha256: 6a87af4c2525b4e7126fed67b834f4682e15e07417eb08c04f540ade1e6acc51

Contents?: true

Size: 1.12 KB

Versions: 9

Compression:

Stored size: 1.12 KB

Contents

module PragmaticSegmenter
  module Languages
    module French
      include Languages::Common

      module Abbreviation
        ABBREVIATIONS = Set.new(['a.c.n', 'a.m', 'al', 'ann', 'apr', 'art', 'auj', 'av', 'b.p', 'boul', 'c.-à-d', 'c.n', 'c.n.s', 'c.p.i', 'c.q.f.d', 'c.s', 'ca', 'cf', 'ch.-l', 'chap', 'co', 'co', 'contr', 'dir', 'e.g', 'e.v', 'env', 'etc', 'ex', 'fasc', 'fig', 'fr', 'fém', 'hab', 'i.e', 'ibid', 'id', 'inf', 'l.d', 'lib', 'll.aa', 'll.aa.ii', 'll.aa.rr', 'll.aa.ss', 'll.ee', 'll.mm', 'll.mm.ii.rr', 'loc.cit', 'ltd', 'ltd', 'masc', 'mm', 'ms', 'n.b', 'n.d', 'n.d.a', 'n.d.l.r', 'n.d.t', 'n.p.a.i', 'n.s', 'n/réf', 'nn.ss', 'p.c.c', 'p.ex', 'p.j', 'p.s', 'pl', 'pp', 'r.-v', 'r.a.s', 'r.i.p', 'r.p', 's.a', 's.a.i', 's.a.r', 's.a.s', 's.e', 's.m', 's.m.i.r', 's.s', 'sec', 'sect', 'sing', 'sq', 'sqq', 'ss', 'suiv', 'sup', 'suppl', 't.s.v.p', 'tél', 'vb', 'vol', 'vs', 'x.o', 'z.i', 'éd']).freeze
        PREPOSITIVE_ABBREVIATIONS = [].freeze
        NUMBER_ABBREVIATIONS = [].freeze
      end

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pragmatic_segmenter-0.3.17 lib/pragmatic_segmenter/languages/french.rb
pragmatic_segmenter-0.3.16 lib/pragmatic_segmenter/languages/french.rb
pragmatic_segmenter-0.3.15 lib/pragmatic_segmenter/languages/french.rb
pragmatic_segmenter-0.3.14 lib/pragmatic_segmenter/languages/french.rb
pragmatic_segmenter-0.3.13 lib/pragmatic_segmenter/languages/french.rb
pragmatic_segmenter-0.3.12 lib/pragmatic_segmenter/languages/french.rb
pragmatic_segmenter-0.3.10 lib/pragmatic_segmenter/languages/french.rb
pragmatic_segmenter-0.3.9 lib/pragmatic_segmenter/languages/french.rb
pragmatic_segmenter-0.3.8 lib/pragmatic_segmenter/languages/french.rb