Skip to main content

MeaLanguageSpace

Type Alias MeaLanguageSpace 

Source
pub type MeaLanguageSpace = LanguageSpace;
Expand description

Convenience alias for LanguageSpace

Aliased Type§

pub struct MeaLanguageSpace {
    pub id: [u8; 8],
    pub name: String,
    pub dim: usize,
    pub embeddings: Vec<(u64, Vec<f64>)>,
    pub centroid: Option<Vec<f64>>,
}

Fields§

§id: [u8; 8]§name: String§dim: usize§embeddings: Vec<(u64, Vec<f64>)>

(embedding_id, vector)

§centroid: Option<Vec<f64>>