Method: WordNet::Synset#part_of_speech
- Defined in:
- lib/wordnet/synset.rb
#part_of_speech ⇒ Object
Return the name of the Synset’s part of speech (#pos).
417 418 419 |
# File 'lib/wordnet/synset.rb', line 417 def part_of_speech return self.class.postype_table[ self.pos.to_sym ] end |