pub trait WriteTextDims<W>where
W: Write,{
// Required method
fn write_text_dims(&self, writer: &mut W) -> Result<(), Error>;
}
Expand description
Method to write Embeddings
to a text file.
This trait defines an extension to Embeddings
to write the word embeddings
as text. The text will contain one word embedding per line in the following
format:
word0 component_1 component_2 … component_n