Skip to content

koron-go/skkdict

Repository files navigation

koron-go/skkdict

PkgGoDev Actions/Go Go Report Card

Package skkdict provides Reader of SKK dictionary.

Install and Upgrade

$ go get github.com/koron-go/skkdict@latest

Usage Example

import skkdict "github.com/koron-go/skkdict"

f, err := os.Open("SKK-JISYO.utf-8.S")
if err != nil {
	panic(err)
}
defer f.Close()

r := skkdict.NewReader(f)
for {
	entry, err := r.Read()
	if err != nil {
		break
	}
	fmt.Printf("%+v\n", entry)
}

Previous Work

https://github.com/koron/go-skkdict