class Hunspell

Defined in:

hunspell.cr
hunspell/version.cr

Constant Summary

VERSION = "0.1.0"

Constructors

Instance Method Summary

Constructor Detail

def self.new(aff_path : String, dict_path : String) #

[View source]
def self.new(handle : LibHunspell::Hunhandle) #

[View source]

Instance Method Detail

def analyze(word : String) : Array(String) #

Morphological analysis of the word


[View source]
def encoding : String #

Returns dictionary encoding


[View source]
def spellcheck(word : String) : Bool #

Spellcheck word


[View source]
def stem(word : String) : Array(String) #

[View source]
def suggest(word : String) : Array(String) #

Search suggestions


[View source]