Skip to content
forked from kapmahc/stardict

Golang implementation of reader for StarDict format

License

Notifications You must be signed in to change notification settings

ilius/go-stardict

 
 

Repository files navigation

GO STARDICT

To download and install this package run:

go get -u github.com/ilius/go-stardict

Source docs: http://godoc.org/github.com/ilius/go-stardict

Disclaimer Sample code can be found in dict_test.go.

Project Overview

The project was started as an attempt to read stardict dictionaries in language learning webservice and grew into a tool supporting several dictionary formats.

Current limitations:

  • Index file is loaded into memory for fast random access
  • DictZip format is not supported, it is processed as a simple GZip format (means that no random blocks access is supported as in DictZip)
  • There's no recovering from errors (means that dictionaries should be well formed)

Not tested but should be working in theory (I didn't find dictionaries with those properties in place):

  • 64bit offsets
  • multi typed dictionary fields

Thanks

About

Golang implementation of reader for StarDict format

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%