[−][src]Trait finalfusion::vocab::NGramIndices
Get subword indices.
Get the subword ngrams and their indices of a word in the subword vocabulary.
Required methods
fn ngram_indices(&self, word: &str) -> Option<Vec<(String, Option<usize>)>>
Return the subword ngrams and their indices of a word, in the subword vocabulary.
Implementors
impl<I> NGramIndices for SubwordVocab<I> where
I: Indexer,
[src]
I: Indexer,