Versions in this module Expand all Collapse all v1 v1.0.0 Jul 24, 2024 Changes in this version + const NilValue + type Dictionary interface + Get func(key Key) (Value, error) + Size func() int + func BuildCDBDictionary(iterator Iterable, destinationPath string) (Dictionary, error) + func NewCDBDictionary(r io.ReaderAt) (Dictionary, error) + func NewInMemoryDictionary(words []string) Dictionary + func OpenCDBDictionary(path string) (Dictionary, error) + func OpenRAMDictionary(path string) (dict Dictionary, err error) + type Iterable interface + Iterate func(iterator Iterator) error + type Iterator func(docID Key, word Value) error + type Key = uint32 + type Value = string