Trait BiasComputer

pub trait BiasComputer: Send + Sync {
    // Required methods
    fn compute_bias(
        &self,
        rec: &mut ParserRecognizer<'_>,
        start: &[u8],
    ) -> SimpleVob;
    fn trie(&self) -> &TokTrie;
}

Required Methods§

fn compute_bias( &self, rec: &mut ParserRecognizer<'_>, start: &[u8], ) -> SimpleVob

fn trie(&self) -> &TokTrie

Implementors§