index

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component struct {
	// contains filtered or unexported fields
}

func New

func New(opt *options.Options, langs langDetector, lgr *logrus.Entry) *Component

func (*Component) DeletesEstimated

func (s *Component) DeletesEstimated(lang string) (uint, error)

func (*Component) Save

func (s *Component) Save(langs ...string) error

func (*Component) SetLangIndex

func (s *Component) SetLangIndex(lang string, idx map[string]uint32)

func (*Component) Weight

func (s *Component) Weight(w string) uint32

func (*Component) Words

func (s *Component) Words(lang string) (<-chan string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL