Method: WordNet::Synset#lexical_domain

Defined in:
lib/wordnet/synset.rb

#lexical_domainObject

Return the name of the lexical domain the synset belongs to; this also corresponds to the lexicographer’s file the synset was originally loaded from.



447
448
449
# File 'lib/wordnet/synset.rb', line 447

def lexical_domain
	return self.class.lexdomain_table[ self.lexdomainid ][ :lexdomainname ]
end