Container for methods intended to extend the EN module as singleton methods.
Returns true
if Ruby-Stemmer was loaded okay
# File lib/linguistics/en/stemmer.rb, line 35
def has_stemmer? ; @has_stemmer; end
If has_stemmer?
returns false
, this can be called to fetch the exception which
was raised when Ruby-Stemmer was loaded.
# File lib/linguistics/en/stemmer.rb, line 39
def stemmer_error ; @stemmer_error; end