Container for methods intended to extend the EN module as singleton methods.
Returns true
if WordNet was
loaded okay
# File lib/linguistics/en/wordnet.rb, line 84
def has_wordnet? ; @has_wordnet; end
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