Linguistics::EN::WordNet::

SingletonMethods

module

Container for methods intended to extend the EN module as singleton methods.

Public Instance Methods

anchor
has_wordnet?()

Returns true if WordNet was loaded okay

# File lib/linguistics/en/wordnet.rb, line 84
def has_wordnet? ; @has_wordnet; end
anchor
wordnet_error()

If has_wordnet? returns false, this can be called to fetch the exception which was raised when WordNet was loaded.

# File lib/linguistics/en/wordnet.rb, line 88
def wordnet_error ; @wn_error; end