Trait rust2vec::WriteWord2Vec [] [src]

pub trait WriteWord2Vec<W> where
    W: Write
{ fn write_word2vec_binary(&self, w: &mut W) -> Result<()>; }

Method to write Embeddings to a word2vec binary file.

This trait defines an extension to Embeddings to write the word embeddings to a file in word2vec binary format.

Required Methods

Write the embeddings from the given writer.

Implementors