Module word2vec

Module word2vec 

Source
Expand description

Word2Vec embedding integration for text content

This module provides Word2Vec-based embeddings with support for:

  • Pre-trained model loading
  • Document embedding aggregation
  • Subword handling
  • Out-of-vocabulary management
  • Hierarchical softmax support

Structs§

Word2VecConfig
Word2Vec configuration
Word2VecEmbeddingGenerator
Word2Vec embedding generator

Enums§

AggregationMethod
Aggregation method for combining word embeddings into document embeddings
OovStrategy
Out-of-vocabulary word handling strategy
Word2VecFormat
Word2Vec model format