[][src]Trait rust2vec::word2vec::WriteWord2Vec

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

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

fn write_word2vec_binary(&self, w: &mut W) -> Result<(), Error>

Write the embeddings from the given writer.

Loading content...

Implementors

impl<W, V, S> WriteWord2Vec<W> for Embeddings<V, S> where
    W: Write,
    V: Vocab,
    S: Storage
[src]

Loading content...