class method
DidYouMean::TreeSpellChecker.new
(dictionary: ::Array[::String], ?separator: ::String, ?augment: bool?) -> ::DidYouMean::TreeSpellChecker
new(dictionary:, separator: '/', augment: nil)
lib/did_you_mean/tree_spell_checker.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/did_you_mean/tree_spell_checker.rb, line 9
def initialize(dictionary:, separator: '/', augment: nil)
@dictionary = dictionary
@separator = separator
@augment = augment
end
No documentation available