Spelling correction in Go
go get github.com/rylans/gospel
package main
import "fmt"
import "github.com/rylans/gospel"
func main(){
c := gospel.ForEnglish()
fmt.Println(c.Correct("gospell"))
}
go build trygospel.go
./trygospel
This program relies on a word list located at "/usr/share/dict/words"
gospel source code is licensed under Apache License, Version 2.0