Module: Linguistics::EN::LinkParser::SingletonMethods

Included in:
Linguistics::EN::LinkParser
Defined in:
lib/linguistics/en/linkparser.rb

Overview

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

Instance Method Summary collapse

Instance Method Details

#has_linkparser?Boolean

Returns true if WordNet was loaded okay

Returns:

  • (Boolean)


58
# File 'lib/linguistics/en/linkparser.rb', line 58

def has_linkparser? ; @has_linkparser; end

#linkparser_errorObject

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



62
# File 'lib/linguistics/en/linkparser.rb', line 62

def linkparser_error ; @lp_error; end