model

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

This section is empty.

Types

type Model

type Model interface {
	Train(<-chan string) error
	Save(io.Writer, vector.Type) error
	WordVector(vector.Type) *matrix.Matrix
	GenEmbeddingMap() (map[string][]float64, error)
	GenEmbeddingMap32() (map[string][]float32, error)
	EmbeddingByWord(word string) ([]float64, bool)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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