Class: PragmaticSegmenter::Languages::Arabic::Abbreviation

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

Constant Summary collapse

ABBREVIATIONS =
['ا', 'ا. د', 'ا.د', 'ا.ش.ا', 'ا.ش.ا', 'إلخ', 'ت.ب', 'ت.ب', 'ج.ب', 'جم', 'ج.ب', 'ج.م.ع', 'ج.م.ع', 'س.ت', 'س.ت', 'سم', 'ص.ب.', 'ص.ب', 'كج.', 'كلم.', 'م', 'م.ب', 'م.ب', 'ه', 'د‪']

Constants inherited from Abbreviation

Abbreviation::NUMBER_ABBREVIATIONS, Abbreviation::PREPOSITIVE_ABBREVIATIONS

Instance Method Summary collapse

Instance Method Details

#allObject



48
49
50
# File 'lib/pragmatic_segmenter/languages/arabic.rb', line 48

def all
  ABBREVIATIONS
end

#numberObject



56
57
58
# File 'lib/pragmatic_segmenter/languages/arabic.rb', line 56

def number
  []
end

#prepositiveObject



52
53
54
# File 'lib/pragmatic_segmenter/languages/arabic.rb', line 52

def prepositive
  []
end