corpus

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2022 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadForCmd

func LoadForCmd(cmd *cobra.Command, opts *Options)

Types

type Corpus

type Corpus interface {
	IndexedDoc() []int
	BatchWords(chan []int, int) error
	Dictionary() *dictionary.Dictionary
	Len() int
	Load(*verbose.Verbose, int) error
}

type Options

type Options struct {
	DocInMemory bool
	ToLower     bool
}

func DefaultOptions

func DefaultOptions() Options

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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