Skip to content

rylans/gospel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gospel

Spelling correction in Go

Quick Start

Download and install

go get github.com/rylans/gospel

Create a file trygospel.go

package main

import "fmt"
import "github.com/rylans/gospel"

func main(){
  c := gospel.ForEnglish()
  fmt.Println(c.Correct("gospell"))
}

Build and run

go build trygospel.go
./trygospel

Requirements

This program relies on a word list located at "/usr/share/dict/words"

License

gospel source code is licensed under Apache License, Version 2.0

Releases

No releases published

Packages

No packages published

Languages