class WordNet::Sense

WordNet sense model class

Public Instance Methods

also_see() click to toggle source

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

# File lib/wordnet/sense.rb, line 49
lexical_link :also_see, :also
antonym() click to toggle source

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

# File lib/wordnet/sense.rb, line 53
lexical_link :antonym
derivation() click to toggle source

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

# File lib/wordnet/sense.rb, line 57
lexical_link :derivation
domain_categories() click to toggle source

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

# File lib/wordnet/sense.rb, line 61
lexical_link :domain_categories, :domain_category
domain_member_categories() click to toggle source

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

# File lib/wordnet/sense.rb, line 66
lexical_link :domain_member_categories, :domain_member_category
domain_member_region() click to toggle source

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

# File lib/wordnet/sense.rb, line 70
lexical_link :domain_member_region
domain_member_usage() click to toggle source

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

# File lib/wordnet/sense.rb, line 74
lexical_link :domain_member_usage
domain_region() click to toggle source

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

# File lib/wordnet/sense.rb, line 78
lexical_link :domain_region
domain_usage() click to toggle source

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

# File lib/wordnet/sense.rb, line 82
lexical_link :domain_usage
participle() click to toggle source

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

# File lib/wordnet/sense.rb, line 86
lexical_link :participle
pertainym() click to toggle source

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

# File lib/wordnet/sense.rb, line 90
lexical_link :pertainym
synset() click to toggle source

The Synset this is a Sense for

# File lib/wordnet/sense.rb, line 14
many_to_one :synset, key: :synsetid
verb_group() click to toggle source

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

# File lib/wordnet/sense.rb, line 94
lexical_link :verb_group
word() click to toggle source

The Word this is a Sense for

# File lib/wordnet/sense.rb, line 18
many_to_one :word, key: :wordid