Skip to main content

DocumentStats

Struct DocumentStats 

Source
pub struct DocumentStats {
    pub signal_count: usize,
    pub track_count: usize,
    pub identity_count: usize,
    pub linked_track_count: usize,
    pub untracked_count: usize,
    pub avg_track_size: f32,
    pub singleton_count: usize,
    pub avg_confidence: f32,
    pub negated_count: usize,
    pub symbolic_count: usize,
    pub iconic_count: usize,
    pub hybrid_count: usize,
}
Expand description

Statistics about a grounded document.

Fields§

§signal_count: usize

Total number of signals

§track_count: usize

Total number of tracks

§identity_count: usize

Total number of identities

§linked_track_count: usize

Number of tracks linked to identities

§untracked_count: usize

Number of signals not in any track

§avg_track_size: f32

Average signals per track

§singleton_count: usize

Number of singleton tracks (single mention)

§avg_confidence: f32

Average signal confidence

§negated_count: usize

Number of negated signals

§symbolic_count: usize

Number of symbolic (text) signals

§iconic_count: usize

Number of iconic (visual) signals

§hybrid_count: usize

Number of hybrid signals

Trait Implementations§

Source§

impl Clone for DocumentStats

Source§

fn clone(&self) -> DocumentStats

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for DocumentStats

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for DocumentStats

Source§

fn default() -> DocumentStats

Returns the “default value” for a type. Read more
Source§

impl Display for DocumentStats

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for DocumentStats

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V