module Linguistics::EN::WordNet::SingletonMethods

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

Public Instance Methods

has_wordnet?() click to toggle source

Returns true if WordNet was loaded okay

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

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