Trait tfidf::ExpandableDocument[][src]

pub trait ExpandableDocument<'a>: Document where
    Self::Term: 'a, 
{ type TermIterator: Iterator<Item = &'a Self::Term>; fn terms(&self) -> Self::TermIterator; }
Expand description

A document that can be expanded to a collection of terms.

Associated Types

type TermIterator: Iterator<Item = &'a Self::Term>[src]

Expand description

The type of iterator that this implementor returns.

Required methods

fn terms(&self) -> Self::TermIterator[src]

Expand description

An iterator over the terms in the document.

Implementors