mtc-inc-bpe 0.9.0

Incremental BPE tokenization for all prefixes
Documentation
mod aho_corasick;
mod centroid;
mod dict;
mod eager;
mod inc_bpe;
mod normalize;
mod sp_impl;
mod successor;
mod suf_suc;
mod typed_vec;
mod vocab;

pub use crate::{
    dict::{DictBuildError, Dictionary, Rule, RuleId},
    eager::EagerBpeTokenization,
    inc_bpe::{IncBpeToken, IncBpeTokenChainIter, IncBpeTokenization, IncBpeTokenizer},
    normalize::{NormalizedDict, NormalizedDictBuildError},
    sp_impl::{bpe_with_heap, bpe_with_heap_last_merge},
    successor::SkipLen,
    vocab::{MAX_TOKEN_LENGTH, Token, TokenId, Vocab, VocabBuildError},
};

#[cfg(test)]
mod test_utils;