Class: PragmaticSegmenter::Languages::French::Abbreviation

Inherits:
Abbreviation
  • Object
show all
Defined in:
lib/pragmatic_segmenter/languages/french.rb

Constant Summary collapse

ABBREVIATIONS =
['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']

Constants inherited from Abbreviation

Abbreviation::NUMBER_ABBREVIATIONS, Abbreviation::PREPOSITIVE_ABBREVIATIONS

Instance Method Summary collapse

Instance Method Details

#allObject



18
19
20
# File 'lib/pragmatic_segmenter/languages/french.rb', line 18

def all
  ABBREVIATIONS
end

#numberObject



26
27
28
# File 'lib/pragmatic_segmenter/languages/french.rb', line 26

def number
  []
end

#prepositiveObject



22
23
24
# File 'lib/pragmatic_segmenter/languages/french.rb', line 22

def prepositive
  []
end