hunspell

package
v0.0.0-...-0e5ea14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

shamelessly borrowed from github.com/sthorne/go-hunspell which was forked from https://github.com/akhenakh/hunspellgo

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CArrayToString

func CArrayToString(c **C.char, length int) []string

Types

type Hunhandle

type Hunhandle struct {
	// contains filtered or unexported fields
}

func Hunspell

func Hunspell(affpath string, dpath string) *Hunhandle

func (*Hunhandle) Add

func (handle *Hunhandle) Add(word string) bool

func (*Hunhandle) Spell

func (handle *Hunhandle) Spell(word string) bool

func (*Hunhandle) Stem

func (handle *Hunhandle) Stem(word string) []string

func (*Hunhandle) Suggest

func (handle *Hunhandle) Suggest(word string) []string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL