fn ngram_table(
inventory: &Inventory,
source: &dyn ByteSource,
config: &Value,
tensors: &[Tensor],
) -> Result<Option<NgramTable>>fn ngram_table(
inventory: &Inventory,
source: &dyn ByteSource,
config: &Value,
tensors: &[Tensor],
) -> Result<Option<NgramTable>>