fn pack_ngram( weights: &Source, out_dir: &Path, names: &[&String], progress: &mut Progress, ) -> Result<NgramLayout>