pub struct TrieCountLmLookuper<'a, T, V, A> where
    T: TrieArray,
    V: Vocabulary,
    A: RankArray
{ /* private fields */ }
Expand description

Lookuper for TrieCountLm.

Implementations

Looks up a gram, returning the count.

Looks up a gram in which tokens are sparated by a space, (e.g., "the same time") returning the count.

Looks up a gram formed by a token list, (e.g., &["the", "same", "time"]) returning the count.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.