Linguistics::EN::Stemmer::

SingletonMethods

module

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

Public Instance Methods

anchor
has_stemmer?()

Returns true if Ruby-Stemmer was loaded okay

# File lib/linguistics/en/stemmer.rb, line 35
def has_stemmer? ; @has_stemmer; end
anchor
stemmer_error()

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