pub fn translate(
engine: &mut dyn InferenceEngine,
text: &str,
max_len: usize,
) -> Result<String>Expand description
translate(text): greedy ids -> text. Conformance fixtures were
generated with the max(0, t - 3) byte rule (see
ids_to_fixture_bytes); tokens::decode implements the SPEC §4
table (skip pad/unk, mod 256). This function uses the SPEC table.