pub struct ProximateDocItem<'a> {
pub id: Id,
pub word: &'a Alphanumeral<StrPtr>,
pub rating: f32,
}
Expand description
An item found by ProximateDocIter
, an occurrence of ProximateWordItem
in any of the
documents in the Provider
passed to proximate_word_docs
.
Fields§
§id: Id
Document id
word: &'a Alphanumeral<StrPtr>
word we found
rating: f32
It’s proximity compared to the original. Higher is more similar.