WordNet::

Sense class

WordNet sense model class

Public Instance Methods

also_see()

Return the synsets that are lexically linked to this sense via an “also see” link.

# File lib/wordnet/sense.rb, line 92
lexical_link :also_see, :also
antonym()

Return the synsets that are lexically linked to this sense via an “antonym” link.

# File lib/wordnet/sense.rb, line 96
lexical_link :antonym
derivation()

Return the synsets that are lexically linked to this sense via a “derivation” link.

# File lib/wordnet/sense.rb, line 100
lexical_link :derivation
domain_categories()

Return the synsets that are lexically linked to this sense via a “domain category” link.

# File lib/wordnet/sense.rb, line 104
lexical_link :domain_categories, :domain_category
domain_member_categories()

Return the synsets that are lexically linked to this sense via a “domain member category” link.

# File lib/wordnet/sense.rb, line 109
lexical_link :domain_member_categories, :domain_member_category
domain_member_region()

Return the synsets that are lexically linked to this sense via a “domain member region” link.

# File lib/wordnet/sense.rb, line 113
lexical_link :domain_member_region
domain_member_usage()

Return the synsets that are lexically linked to this sense via a “domain member usage” link.

# File lib/wordnet/sense.rb, line 117
lexical_link :domain_member_usage
domain_region()

Return the synsets that are lexically linked to this sense via a “domain region” link.

# File lib/wordnet/sense.rb, line 121
lexical_link :domain_region
domain_usage()

Return the synsets that are lexically linked to this sense via a “domain usage” link.

# File lib/wordnet/sense.rb, line 125
lexical_link :domain_usage
participle()

Return the synsets that are lexically linked to this sense via a “participle” link.

# File lib/wordnet/sense.rb, line 129
lexical_link :participle
pertainym()

Return the synsets that are lexically linked to this sense via a “pertainym” link.

# File lib/wordnet/sense.rb, line 133
lexical_link :pertainym
senseid()

The unique integer ID of the Sense.

# File lib/wordnet/sense.rb, line 43
        
sensekey()

The raw sense key as it appeared in the sources

# File lib/wordnet/sense.rb, line 51
        
sensenum()

The index of this Sense in relation to its Synset

# File lib/wordnet/sense.rb, line 47
        
synset()

The Synset this is a Sense for

# File lib/wordnet/sense.rb, line 57
many_to_one :synset, key: :synsetid
synsetid()

The integer ID Of the WordNet::Synset this Sense is linked to.

# File lib/wordnet/sense.rb, line 39
        
verb_group()

Return the synsets that are lexically linked to this sense via a “verb group” link.

# File lib/wordnet/sense.rb, line 137
lexical_link :verb_group
word()

The Word this is a Sense for

# File lib/wordnet/sense.rb, line 61
many_to_one :word, key: :wordid
wordid()

The integer ID of the WordNet::Word this Sense is linked to

# File lib/wordnet/sense.rb, line 35