module Linguistics::EN::Stemmer::SingletonMethods
Container for methods intended to extend the EN module as singleton methods.
Public Instance Methods
has_stemmer?()
click to toggle source
Returns true
if Ruby-Stemmer was loaded okay
# File lib/linguistics/en/stemmer.rb, line 35 def has_stemmer? ; @has_stemmer; end
stemmer_error()
click to toggle source
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