Documentation
¶
Index ¶
Constants ¶
View Source
const Version = "word2vec/v0.1.0"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func New ¶
Creates word2vec embeddings client.
It requires configuration of the path to trained model ¶
The client is configurable using
WithModel(path string) WithVectorSize(size int)
func (*Client) ConsumedTokens ¶
Number of tokens consumed within the session
Click to show internal directories.
Click to hide internal directories.