Skip to main content

check_sequence

Function check_sequence 

Source
pub fn check_sequence(
    vocabulary: &Vocabulary,
    tokens: &TokenSequence,
) -> Result<(), KuteError>
Expand description

Check that a token sequence was produced by exactly this vocabulary.