Class: WordNet::Morph
- Inherits:
-
Object
- Object
- WordNet::Morph
- Includes:
- Constants
- Defined in:
- lib/wordnet/morph.rb
Overview
WordNet morph model class
Constant Summary
Constants included from Constants
Constants::DEFAULT_DB_OPTIONS, Constants::DELIM, Constants::DELIM_RE, Constants::DOMAIN_TYPES, Constants::DomainSymbols, Constants::HOLONYM_SYMBOLS, Constants::HOLONYM_TYPES, Constants::HYPERNYM_SYMBOLS, Constants::HYPERNYM_TYPES, Constants::HYPONYM_SYMBOLS, Constants::HYPONYM_TYPES, Constants::LEXFILES, Constants::MEMBER_SYMBOLS, Constants::MEMBER_TYPES, Constants::MERONYM_SYMBOLS, Constants::MERONYM_TYPES, Constants::POINTER_SUBTYPES, Constants::POINTER_SYMBOLS, Constants::POINTER_TYPES, Constants::SUB_DELIM, Constants::SUB_DELIM_RE, Constants::SYNTACTIC_CATEGORIES, Constants::SYNTACTIC_SYMBOLS, Constants::VERB_SENTS
Instance Method Summary collapse
-
#to_s ⇒ Object
Return the stringified word; alias for #lemma.
Instance Method Details
#to_s ⇒ Object
Return the stringified word; alias for #lemma.
44 45 46 |
# File 'lib/wordnet/morph.rb', line 44 def to_s return "%s (%s)" % [ self.morph, self.pos ] end |