pub fn check_sequence(
vocabulary: &Vocabulary,
tokens: &TokenSequence,
) -> Result<(), KuteError>Expand description
Check that a token sequence was produced by exactly this vocabulary.
pub fn check_sequence(
vocabulary: &Vocabulary,
tokens: &TokenSequence,
) -> Result<(), KuteError>Check that a token sequence was produced by exactly this vocabulary.