Class: MESH::LexicalTypes

Inherits:
Object
  • Object
show all
Defined in:
lib/MESH/lexical_types.rb

Constant Summary collapse

Types =
{
  'ABB' => :abbreviation,
  'ABX' => :embedded_abbreviation,
  'ACR' => :acronym,
  'ACX' => :embedded_acronym,
  'EPO' => :eponym,
  'LAB' => :lab_number,
  'NAM' => :proper_name,
  'NON' => nil,
  'TRD' => :trade_name
}

Class Method Summary collapse

Class Method Details

.[](key) ⇒ Object



4
5
6
# File 'lib/MESH/lexical_types.rb', line 4

def self.[](key)
  Types[key]
end