Module finalfusion::subword
source · Expand description
Utilities for subword units.
Structs
- Indexer for explicitly stored NGrams.
- Indexer using a hash function.
- Iterator over n-grams in a sequence.
- Iterator over the n-grams in a word and the corresponding subword indices.
- A string reference with its length in characters.
Enums
- What to compute subwords for.
Traits
- N-Gram indexer with bucketing.
- N-Gram indexer
- Trait returning iterators over subwords and indices.
Type Aliases
- Standard hash-based indexer in finalfusion.