Method: WordNet::Synset.linktypes
- Defined in:
- lib/wordnet/synset.rb
.linktypes ⇒ Object
Return the table of link types, keyed by name.
344 345 346 347 348 349 |
# File 'lib/wordnet/synset.rb', line 344 def self::linktypes @linktypes ||= self.linktype_table.inject({}) do |hash,(id,link)| hash[ link[:type] ] = link hash end end |